C的内存泄漏检测器? [英] Memory leak detectors for C?

查看:30
本文介绍了C的内存泄漏检测器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

人们对哪些内存泄漏检测器有很好的体验?

What memory leak detectors have people had a good experience with?

以下是迄今为止答案的摘要:

Here is a summary of the answers so far:

Valgrind - 用于构建动态分析工具的检测框架.

Valgrind - Instrumentation framework for building dynamic analysis tools.

Electric Fence - 与 GDB 配合使用的工具

Electric Fence - A tool that works with GDB

Splint - 注释辅助的轻量级静态检查

Splint - Annotation-Assisted Lightweight Static Checking

Glow Code - 这是一个完整的实时性能和内存分析器,适用于 Windows 和 .NET 程序员使用 C++、C# 或任何 .NET 框架开发应用程序的人

Glow Code - This is a complete real-time performance and memory profiler for Windows and .NET programmers who develop applications with C++, C#, or any .NET Framework

另见这篇stackoverflow帖子.

推荐答案

第二个 valgrind... 而我'将添加电围栏.

second the valgrind... and I'll add electric fence.

这篇关于C的内存泄漏检测器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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