利用WonderLeak进行内存泄露检测【一】

1、下载地址:

WonderLeak - Visual Studio Marketplace

https://www.relyze.com/

2、WonderLeak支持vs2017 2019扩展,或者单独启动

3、https://www.relyze.com/docs/wonderleak/help/w/overview/msvc_extension1.png

4、对于二进制程序来说支持以下内存分配检测,注意,不支持跨函数检测,需要自己看代码逻辑。

Profiling Groups

WonderLeak can profile allocations from the following groups:

  • Windows Heap - WonderLeak supports profiling heap allocations from the following families of Windows allocators which are serviced by the Windows heap:
    • Microsoft Visual Studio Common Runtime malloc and new
    • RtlAllocateHeap
    • HeapAlloc
    • LocalAlloc
    • GlobalAlloc
    • CoTaskMemAlloc
    • SysAllocString
    • SafeArrayCreate
  • Windows Handle - WonderLeak supports profiling handle allocations for the following Windows kernel objects:
    • ALPC Port
    • DebugObject
    • Directory
    • Event
    • File
    • IoCompletion
    • Job
    • Key
    • KeyedEvent
    • Mutant
    • Partition
    • Process
    • Profile
    • RegistryTransaction
    • Section
    • Semaphore
    • Session
    • SymbolicLink
    • Thread
    • Timer
    • TmEn (Transaction Manager Enlistment)
    • TmRm (Transaction Manager Resource Manager)
    • TmTm (Transaction Manager)
    • TmTx (Transaction Manager Transaction)
    • Token
    • TpWorkerFactory (Thread Pool Worker Factory)
    • WaitCompletionPacket
    • Windows Critical Section
    • Windows Thread Local Storage
    • Windows Fiber Local Storage
  • Borland Heap - All allocations serviced by the Borland Memory Manager (borlndmm.dll) or Run Time Library (RTL), typically used by applications developed with Delphi or C++ Builder.
  • User Heap/Handle Types (API) - WonderLeak exposes an API to assist in the profiling of custom user heap or handle allocations which are not covered by the above groups.

利用WonderLeak进行内存泄露检测【二】_风清扬_jd的博客-CSDN博客

相关推荐
这个DBA有点耶12 小时前
从DBA到数据架构师(五):数据架构演进中的技术债务管理
数据库·程序人生·云原生·架构·dba·数据库管理员
AI攻城狮小关19 小时前
Claude Code 接入 DeepSeek 完整教程:3 步配置,告别订阅限额
人工智能·程序人生·api·agent·配置教程
可爱系程序猿2 天前
webauthn.dll 异常的排查记录:安全密钥登录与浏览器验证失败时的处理方法
程序人生·安全·电脑
郝学胜-神的一滴3 天前
[简化版 GAMES 104] 现代游戏引擎 05:游戏引擎世界构建核心机制深度解析
c++·程序人生·unity·游戏引擎·计算机图形学·opengl
可爱系程序猿7 天前
msvcp140_codecvt_ids.dll 缺失的排查记录:C++ 程序启动异常时如何核对运行库版本
开发语言·c++·程序人生·电脑
陆沙10 天前
WorkBuddy-使用GEO专家诊断个人IP+简单优化
程序人生·ai·创业创新
CoderYanger10 天前
Java EE:9.JVM(课件内容-上篇)
java·jvm·程序人生·面试·职场和发展·java-ee·程序员创富
CoderYanger10 天前
Java EE:9.JVM(课件内容-下篇)
java·jvm·程序人生·面试·职场和发展·java-ee·学习方法
星蓝_starblue10 天前
零服务器、零数据库!开源growth-board,利用GitHub自动管理刷题/学习/求职全流程
服务器·数据库·程序人生·系统架构·node.js·github·改行学it
熊野君11 天前
AI时代《数据结构》课程教学改革调研与行动方案
数据结构·程序人生·职场和发展