检测内存损坏的方法 [英] Ways to detect memory corruption
本文介绍了检测内存损坏的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在阅读有关内存损坏的信息时,我遇到了一种解决方案,可以检测到此问题,即使用保护/填充.这样就可以避免超速运行.这种方法将导致内存开销,从而导致性能问题.
我想知道是否有其他方法可以比提到的方法更有效地检测内存损坏.
While reading about memory corruption I came across a solution to detect this problem i.e to use protection/padding. So that overrunning or underrunning may be avoided. This approach will lead to memory overhead and thus performance issues.
I wanted to know if there is any other approach for detecting memory corruptions which is more efficient than the mentioned approach.
推荐答案
大多数性能分析工具都提供有关内存损坏的信息.我已经使用了一些分析器.您可以在此页面中找到一些分析器 C ++代码分析器 [
Most profiling tools give information about memory corruption. I have used some profilers. you can find some profilers in this page C++ code profilers[^]
即时内存损坏检测 [
这篇关于检测内存损坏的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文