Producing a Leak Summary from Insure++
This post explains how to force Insure++ to produce a Leak Summary from an application that is terminating before it is closed properly.
If you find Insure was not able to close properly and provide a leak summary report of the executed instrumented code, we can force the tool to produce a leak summary report. This will help debug where in the execution and what happened before the crash in order to determine what is needed.
We add _Insure_leak_summary(); before the program exits or before the crash in Insure++ to enable Insure to produce a leak summary report before the program closed out.