build/
meson/
liba/
meson.build
libb/
meson.build
meson.build
src/
liba/
libb/
build/
meson/
liba/
meson.build
libb/
meson.build
meson.build
src/
liba/
libb/
β (fcn) sym.check 127 | |
β sym.check (char *s, int arg_ch); | |
β ; var char *local_dh @ ebp-0xd | |
β ; var unsigned int local_ch @ ebp-0xc | |
β ; var unsigned int local_8h @ ebp-0x8 | |
β ; var int local_4h @ ebp-0x4 | |
β ; arg char *s @ ebp+0x8 | |
β ; arg int arg_ch @ ebp+0xc | |
β ; var char *format @ esp+0x4 | |
β ; var int local_8h_2 @ esp+0x8 |
#!/usr/bin/python | |
from unicorn import * | |
from unicorn.x86_const import * | |
# code to be emulated | |
X86_CODE32 = b"\x41\x4a" # INC ecx; DEC edx | |
# memory address where emulation starts | |
ADDRESS = 0x1000000 |
CFLAGS += -Wall -Werror -Wno-unused-function -g | |
LDLIBS += -lrt -pthread | |
LDLIBS += -lunicorn | |
TESTS = test1 | |
all: $(TESTS) | |
clean: |
This is a short document describing the preferred coding style for the linux kernel. Coding style is very personal, and I won't force my views on anybody, but this is what goes for anything that I have to be able to maintain, and I'd prefer it for most other things too. Please at least consider the points made here.
by Angel Leon. March 17, 2015.
On the compilation phase, you will usually need to specify the different include paths so that the interfaces (.h, .hpp) which define structs, classes, constans, and functions can be found.
With gcc
and llvm
include paths are passed with -I/path/to/includes
, you can pass as many -I
as you need.
In Windows, cl.exe
takes include paths with the following syntax:
/I"c:\path\to\includes\
you can also pass as many as you need.
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |