Commit | Line | Data |
---|---|---|
7066ec32 PMF |
1 | libustinstr-malloc is used for instrumenting calls to malloc(3) in a program, |
2 | without need for recompiling it. | |
94e959f0 | 3 | |
7066ec32 PMF |
4 | libustinstr-malloc defines a malloc() function that is instrumented with a |
5 | marker. It also calls the libc malloc afterwards. When loaded with LD_PRELOAD, | |
6 | it replaces the libc malloc() function, in effect instrumenting all calls to | |
7 | malloc(). | |
94e959f0 PMF |
8 | |
9 | See the "run" script for a usage example. |