├── .gitattributes ├── .gitignore ├── COPYING ├── LICENSE ├── README.md ├── arch ├── arm │ └── syscalldefs.h ├── i386 │ └── syscalldefs.h ├── microblaze │ └── syscalldefs.h ├── mips │ ├── syscalldefs.h │ ├── syscalldefs_n32.h │ ├── syscalldefs_n64.h │ └── syscalldefs_o32.h ├── powerpc │ └── syscalldefs.h ├── syscallripper.pl ├── x32 │ └── syscalldefs.h └── x86_64 │ └── syscalldefs.h ├── debuglib.c ├── debuglib.h ├── examples ├── filetrace.c ├── idfake.c ├── memusage.c ├── skeleton.c └── syscallhook.c ├── process_maps.c ├── process_maps.h ├── signals.c ├── signals.h ├── syscalls.c ├── syscalls.h └── tests ├── debugga.c ├── debuggee.c ├── fork-pipe.sh ├── fork.sh ├── forker.c ├── helloworld.c ├── process_maps_test.c ├── syscallstest.c ├── thread.c └── vforker.c /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/.gitignore -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/COPYING -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/README.md -------------------------------------------------------------------------------- /arch/arm/syscalldefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/arm/syscalldefs.h -------------------------------------------------------------------------------- /arch/i386/syscalldefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/i386/syscalldefs.h -------------------------------------------------------------------------------- /arch/microblaze/syscalldefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/microblaze/syscalldefs.h -------------------------------------------------------------------------------- /arch/mips/syscalldefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/mips/syscalldefs.h -------------------------------------------------------------------------------- /arch/mips/syscalldefs_n32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/mips/syscalldefs_n32.h -------------------------------------------------------------------------------- /arch/mips/syscalldefs_n64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/mips/syscalldefs_n64.h -------------------------------------------------------------------------------- /arch/mips/syscalldefs_o32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/mips/syscalldefs_o32.h -------------------------------------------------------------------------------- /arch/powerpc/syscalldefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/powerpc/syscalldefs.h -------------------------------------------------------------------------------- /arch/syscallripper.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/syscallripper.pl -------------------------------------------------------------------------------- /arch/x32/syscalldefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/x32/syscalldefs.h -------------------------------------------------------------------------------- /arch/x86_64/syscalldefs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/arch/x86_64/syscalldefs.h -------------------------------------------------------------------------------- /debuglib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/debuglib.c -------------------------------------------------------------------------------- /debuglib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/debuglib.h -------------------------------------------------------------------------------- /examples/filetrace.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/examples/filetrace.c -------------------------------------------------------------------------------- /examples/idfake.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/examples/idfake.c -------------------------------------------------------------------------------- /examples/memusage.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/examples/memusage.c -------------------------------------------------------------------------------- /examples/skeleton.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/examples/skeleton.c -------------------------------------------------------------------------------- /examples/syscallhook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/examples/syscallhook.c -------------------------------------------------------------------------------- /process_maps.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/process_maps.c -------------------------------------------------------------------------------- /process_maps.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/process_maps.h -------------------------------------------------------------------------------- /signals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/signals.c -------------------------------------------------------------------------------- /signals.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/signals.h -------------------------------------------------------------------------------- /syscalls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/syscalls.c -------------------------------------------------------------------------------- /syscalls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/syscalls.h -------------------------------------------------------------------------------- /tests/debugga.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/debugga.c -------------------------------------------------------------------------------- /tests/debuggee.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/debuggee.c -------------------------------------------------------------------------------- /tests/fork-pipe.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/fork-pipe.sh -------------------------------------------------------------------------------- /tests/fork.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/fork.sh -------------------------------------------------------------------------------- /tests/forker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/forker.c -------------------------------------------------------------------------------- /tests/helloworld.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | write(1, "hello world\n", 12); 5 | } -------------------------------------------------------------------------------- /tests/process_maps_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/process_maps_test.c -------------------------------------------------------------------------------- /tests/syscallstest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/syscallstest.c -------------------------------------------------------------------------------- /tests/thread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/thread.c -------------------------------------------------------------------------------- /tests/vforker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rofl0r/debuglib/HEAD/tests/vforker.c --------------------------------------------------------------------------------