This just shows malloc(size) and free(pointer) for a C program.

If $MW_MALLOC_SIGNAL or $MW_FREE_SIGNAL environment variable(s) are set, kill(getpid(), SIGUSR1) is sent.
This allows a process to dump a stack to stderr, for example.

It's based on https://info.cloudquant.com/2018/12/numpyleaks/

./find-wheat is for finding the most relevant portions of output from Python.  See the Makefile for
example usage.  It's pretty dependent on the precise output format used by malloc-wrapper.so and
test-program2.