C,C ++中的缓冲区溢出问题 [英] Buffer Over flow issue in C, C++

查看:133
本文介绍了C,C ++中的缓冲区溢出问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我的应用程序面临缓冲区溢出"问题.
有什么办法可以让我准确地捕捉到缓冲区溢出吗?
它仅在我的发布版本中发生.应用程序在调试版本中运行良好.
那里有任何免费工具或任何可能帮助我赶超的方法.
源代码非常大,几乎无法检查每一行的溢出.

帮帮我吧..

Hi there ,

Facing a Buffer Over Flow issue with my application.
Is there any way where i can catch the Buffer overflow precisely??
It happens only in my release build. Application Works perfectly fine in the debug version.
Any free tools out there or any method that might help me catch the over flow.
The source code is very large and its next to impossible to go and check each and every line for the over flows.

Help me out guys..
Have spent hours trying to find it out.

推荐答案

免费工具-
在Linux上- Valgrind [ ^ ]-用于内存调试,内存泄漏检测和性能分析.
在Windows上-
CppCheck [ ^ ]-
-越界检查
-检查每个类的代码
-检查异常安全性
-etc.

视觉泄漏检测器 [ ^ ]-用于Visual C ++的内存泄漏检测系统.
Free tools -
On Linux - Valgrind[^]- for memory debugging, memory leak detection, and profiling.
On Windows -
CppCheck[^]-
-Out of bounds checking
-Check the code for each class
-Checking exception safety
-etc.
and
Visual Leak Detector [^]- memory leak detection system for Visual C++.


这篇关于C,C ++中的缓冲区溢出问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆