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

相关推荐
软件测试曦曦2 天前
10:00开始面试,10:08就出来了,问的问题有点变态。。。
自动化测试·软件测试·功能测试·程序人生·面试·职场和发展
程序猿chen3 天前
JVM考古现场(十七):鸿蒙初辟——从太极二进到混沌原初的编译天道
开发语言·jvm·git·后端·程序人生·java-ee·改行学it
步行cgn3 天前
Java 集合有序性与重复性总结及记忆技巧
java·开发语言·程序人生·面试·个人开发·学习方法
珊瑚里的鱼5 天前
第五讲(下)| string类的模拟实现
开发语言·c++·笔记·程序人生·算法·visualstudio·visual studio
程序猿chen6 天前
《JVM考古现场(十六):太初奇点——从普朗克常量到宇宙弦的编译风暴》
jvm·git·后端·程序人生·金融·java-ee·量子计算
电星托马斯6 天前
Linux如何设置bash为默认shell
linux·运维·服务器·笔记·程序人生·bash·个人开发
欲儿6 天前
在线记事本——支持Markdown
前端·javascript·程序人生·sqlite·php·轻量级在线记事本
测试界吖吖6 天前
HTTPS 之fiddler抓包--jmeter请求
自动化测试·软件测试·功能测试·jmeter·程序人生·https·fiddler
程序员可可6 天前
JMeter接口自动化发包与示例
运维·自动化测试·软件测试·功能测试·jmeter·程序人生·自动化
测试界茜茜7 天前
接口测试和功能测试的区别
自动化测试·软件测试·功能测试·程序人生·职场和发展