Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

shadansari/malloc_instrumentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

malloc_instrumentation

run a binary with formatted malloc/free calls

with this collection of tools, you will be able to run any binary and augment its output and periods of inactivity with memory usage differentials

Compilation

'make' generates malloc_instrument.so library.

Usage

LD_PRELOAD=<path-to>/malloc_instrument.so <executable>
e.g. LD_PRELOAD=./malloc_instrument.so python

TODO

  • No support yet for reporting 'Current allocations by age'.

Testing

References

ISSUES

  • Fix seg fault with 'LD_PRELOAD=./malloc_instrument.so find /'

About

Malloc instrumentation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published