How to use Microsoft Application Verifier
App Verifier will install a AppVerif.EXE executable. Run it, and tell it to verify your application. Then run your application in a debugger (either WinDBG or your IDE).
App Verifier will install a AppVerif.EXE executable. Run it, and tell it to verify your application. Then run your application in a debugger (either WinDBG or your IDE).
Recently, I was faced with a managed heap corruption which was something new to me. I was very frustrated with it and had to learn many things to be able to debug it. I want to thank Seva Titov who gave me right direction to start. His answer was concise and very helpful. I want … Read more
On most hardware architectures you can only change protection attributes on entire memory pages; you can’t mark a fragment of a page read-only. The relevant APIs are: mprotect() on Unix; VirtualProtect() on Windows. You’ll need to ensure that the memory page doesn’t contain anything that you don’t want to make read-only. To do this, you’ll … Read more
After much trial and error, I found that if I increase the output_buffering value in the php.ini file, this error goes away
Application Verifier combined with Debugging Tools for Windows is an amazing setup. You can get both as a part of the Windows Driver Kit or the lighter Windows SDK. (Found out about Application Verifier when researching an earlier question about a heap corruption issue.) I’ve used BoundsChecker and Insure++ (mentioned in other answers) in the … Read more