views:

72

answers:

1

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.

+1  A: 

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.

Remus Rusanu