Skip to content

tharina/heap-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

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'

About

LD_PRELOAD hook to trace malloc and free

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages