什么C / C ++工具可以检查缓冲区溢出? [英] What C/C++ tools can check for buffer overflows?
本文介绍了什么C / C ++工具可以检查缓冲区溢出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直要求保持大C ++ codeBase的完整的内存泄漏。虽然闲逛,我发现我们有很多的缓冲区溢出导致的泄漏(如何得到这个坏了,我再也不想知道)。
I've been asked to maintain a large C++ codebase full of memory leaks. While poking around, I found out that we have a lot of buffer overflows that lead to the leaks (how it got this bad, I don't ever want to know).
我已经决定删除缓冲区溢出第一位。为了使我的错误猎容易,有什么工具可以用来检查缓冲区溢出?
I've decided to removing the buffer overflows first. To make my bug-hunting easier, what tools can be used to check for buffer overruns?
推荐答案
在Linux上我会用Valgrind的。
On Linux I'd use Valgrind.
这篇关于什么C / C ++工具可以检查缓冲区溢出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文