A simple Makefile, pay attention to -Wl,--export-dynamic option.
https://bugzilla.redhat.com/show_bug.cgi?id=169017
simply enable the backtrace feature #ifdef HAVE_BACKTRACE
use a function other than main to inject the memory leak. This will show
the backtrace function better
simple readme