Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 199 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 199 Bytes

Heap tracer

gcc -o hook.so -fPIC -shared hook.c -ldl

Run the executable with: LD_PRELOAD=PATH/TO//hook.so ./myexecutable

or in GDB with: set exec-wrapper env 'LD_PRELOAD=./hook.so'