GCC/XCode equivalent of _CrtCheckMemory?
- by Chris Becke
When dealing with random memory overwrites, in MSVC it is possible to validate the state of the heap at various points with a call to _CrtCheckMemory, and know with at least a small level of confidence that the code up until the check was not responsible for any errors that might cause new or malloc to fail later.
In XCode, whats the equivalent…