[英]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 windows for c++. 我想知道什么是检测Windows 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/ http://code.google.com/p/electric-fence-win32/
I've used electric fence on Linux with good results. 我在Linux上使用过电围栏,效果很好。 http://en.wikipedia.org/wiki/Electric_Fence
http://en.wikipedia.org/wiki/Electric_Fence
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.