1 libmallocwrap is used for instrumenting calls to malloc(3) in a program, without
2 need for recompiling it.
4 libmallocwrap defines a malloc() function that is instrumented with a marker. It
5 also calls the libc malloc afterwards. When loaded with LD_PRELOAD, it replaces
6 the libc malloc() function, in effect instrumenting all calls to malloc().
8 See the "run" script for a usage example.