当前位置: 首页 > news >正文

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

http://www.lryc.cn/news/125743.html

相关文章:

  • 二刷LeetCode--155. 最小栈(C++版本),思维题
  • 进程的状态与转换
  • 用MariaDB创建数据库,SQL练习,MarialDB安装和使用
  • 【Docker】 使用Docker-Compose 搭建基于 WordPress 的博客网站
  • Hlang社区-前端社区宣传首页实现
  • 【LeetCode-Medium】833. 字符串中的查找与替换
  • 数据结构中公式前中后缀表达式-二叉树应用
  • Visual Studio 2022连接远程系统进行C/C++开发
  • TiDB数据库从入门到精通系列之二:TiDB数据库的简介
  • opencv视频截取每一帧并保存为图片python代码CV2实现练习
  • 虹科方案 | 汽车总线协议转换解决方案(二)
  • [Android] 通过JNI 让 JAVA 调用 android native 接口
  • MySQL高可用MHA
  • DoIP学习笔记系列:(五)“安全认证”的.dll从何而来?
  • 205、仿真-51单片机直流数字电流表多档位切换Proteus仿真设计(程序+Proteus仿真+原理图+流程图+元器件清单+配套资料等)
  • 服务器如何防止cc攻击
  • 解读注解@Value占位符替换过程
  • 浅谈5G技术会给视频监控行业带来的一些变革情况
  • Java常用API---快速达到Java工作水准系列(1)
  • Python中使用隧道爬虫ip提升数据爬取效率
  • 深入源码分析kubernetes informer机制(四)DeltaFIFO
  • UI设计师个人工作总结范文
  • explicit关键字 和 static成员
  • 安装Linux操作系统CentOS 6详细图文步骤
  • 新增守护进程管理、支持添加MySQL远程数据库,支持PHP版本切换,1Panel开源面板v1.5.0发布
  • 十、接口(1)
  • percentile_approx 聚合函数
  • 面试热题(全排列)
  • 一文走进时序数据库性能测试工具 TSBS
  • 通俗讲解-动量梯度下降法原理与代码实例