Question

Are there any tools/libraries on Windows that can help me tarck down the culprit? This is a fairly large codebase, with multiple threads.

I code for Linux mostly; Windows is unfamiliar territory. Thanks for your input.

Was it helpful?

Solution

For stack buffers, compile with /GS, see Compiler Security Checks In Depth
For heap buffer, you can try the heap gflag, see GFlags and PageHeap, but need to be careful as all allocations, big or small, will get their own page.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top