利用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博客

相关推荐
HugoStudio_SWAN31 分钟前
洛谷 B4500 / B4449 / B3843 凯撒密码、密码强度与密码合规——加密与安全的三道门
c++·学习·程序人生·算法·安全
HugoStudio_SWAN6 小时前
洛谷 P1420 / P1179 / B4262 最长连号、数字统计与词频统计——统计的三种面孔
c++·学习·程序人生·算法
郝学胜-神的一滴12 小时前
C++11 工程级应用 08:Lambda表达式与Tuple元组
开发语言·jvm·c++·python·程序人生·开源
CoderYanger12 小时前
A.每日一题:3622. 判断整除性
java·程序人生·算法·leetcode·面试·职场和发展·蓝桥杯
CoderYanger1 天前
A.每日一题:1140. 石子游戏 II
java·程序人生·算法·leetcode·游戏·职场和发展·深度优先
HugoStudio_SWAN1 天前
洛谷 P1319 / P1320 压缩技术——同一枚硬币的正反面
c++·学习·程序人生·算法
HugoStudio_SWAN1 天前
洛谷 P1321 单词覆盖还原——从蜡板上的密信到数字水印
c++·学习·程序人生·算法
可爱系程序猿1 天前
libcrypto-3-x64.dll 加载失败排查:OpenSSL 3 版本、PATH 顺序与 x64 依赖如何对应
linux·运维·服务器·程序人生·电脑
凯程序猿1号2 天前
ChatCut online 整理备份恢复演练录屏:快照、校验值与恢复时间怎样留证
程序人生·github·电脑
涵美女程序猿2 天前
ChatCut online 剪容器镜像构建录屏:Dockerfile、日志与镜像摘要怎样对应
程序人生·电脑