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

Latest commit

 

History

History
32 lines (24 loc) · 1.21 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.21 KB

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 /'