
Stefan Reinalter
@molecularmusing
Founder of Molecular Matters • C++ & low-level programming • Created Live++ (@liveplusplus)
liveplusplus.tech
ID: 577322184
https://molecular-matters.com/ 11-05-2012 15:45:26
9,9K Tweet
5,5K Followers
563 Following


Stefan Reinalter Yeah, if you are using plain old new/delete or malloc/free and you are on Windows, there is Application Verifier that does exactly this for you. For free. Works nice without the need to recompile your app. Works even without source code. It is built-in into HeapAlloc family...

















Stefan Reinalter That would be the GlobalOptPass, godbolt.org/z/nYbrWsdos or in particular `GV->getName() + "." + Twine(NameSuffix++)` in `SRAGlobal`: github.com/llvm/llvm-proj… or `GV->getName()+"."+utostr(i)` originally added in the first version of `SRAGlobal` here: github.com/llvm/llvm-proj….
