Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Composable high-level instrumentation for C libraries' malloc and friends
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
libmallochooks This contains some include files and make rules that will let you build a customised malloc instrumentation library out of some high-level hook definitions. For now it supports glibc's (deprecated) malloc hooks, a generic load-time LD_PRELOAD approach and a generic compile/link-time wrapper approach. There's no documentation as yet, but you can see an example of their use in liballocs <https://github.com/stephenrkell/liballocs/>: look at malloc_hook_stubs_*.o rules in src/Makefile, and at heap_index_hooks.c. Stephen