what is the best way to detect the source of buffer overflow in c++ for windows?
I would like to know what is the best way to detect a buffer overflow in windo开发者_运维知识库ws for c++. I would like to find buffer overflows on the stack as well as the heap.
Depending on the exact problems you are facing, this may be of help.
http://code.google.com/p/electric-fence-win32/
I've used electric fence on Linux with good results. http://en.wikipedia.org/wiki/Electric_Fence
精彩评论