Detect use after destruction.
Instrument C++ destructors in such a way that they de-initialize the memory. This would catch use after destruction for non-trivially destructible classes.
Instrument C++ destructors in such a way that they de-initialize the memory. This would catch use after destruction for non-trivially destructible classes.