https://github.com/google/sanitizers/wiki

https://github.com/google/sanitizers/wiki/AddressSanitizer

AddressSanitizer (aka ASan) is a memory error detector for C/C++. It finds:

This tool is very fast. The average slowdown of the instrumented program is ~2x (see AddressSanitizerPerformanceNumbers).

The tool consists of a compiler instrumentation module (currently, an LLVM pass) and a run-time library which replaces the malloc function.

功能强大,使用方便,默认集成到了gcc 4.8;

集成方便,只需使用clang +一些flag,同时还可以做过滤:例如已知函数的泄露

性能还不错,只是源程序×2的占用,相比valgrind要好得多;

可跟gdb/objdump -ldS使用;

最新文章

  1. mac 抓包工具charles v3.9.3 安装破解步骤
  2. 带你玩转JavaWeb开发之六-mysql基本语法详解及实例(3)
  3. Win7 IE故障:APPCRASH,d3d9.dll,c0000005
  4. 使用BusyBox制作Linux根文件系统
  5. [转载]MongoDB学习 (六):查询
  6. dreamweaver批量去除空格,空行
  7. C#版QQTea加密
  8. XML方式实现Spring声明式事务管理
  9. MySQL使用pt-online-change-schema工具在线修改1.6亿级数据表结构
  10. INFORMATION_SCHEMA.PROFILING
  11. 关于SDK_JDK_JRE_JVM的关系
  12. 二:vlan,gre,vxlan
  13. springboot常见 10问
  14. cf276E 两棵线段树分别维护dfs序和bfs序,好题回头再做
  15. PO模型
  16. Wireshark 文件分割和合并
  17. MySQL Profiling--常用命令
  18. 好文推荐系列-------(5)js模块化编程
  19. yii---where该如何使用
  20. sublime 配置python环境

热门文章

  1. 01-Git单人本地仓库操作
  2. 微信小程序 没有找到可以构建的npm包
  3. python基础(30):黏包、socket的其他方法
  4. File文件的创建,删除 createNewFile() delete()
  5. 如何搭建属于自己的Web服务器
  6. RV32FDQ/RV64RDQ指令集(2)
  7. Wireshark使用教程:不同报文颜色的含义
  8. iOS中的GCD线程
  9. 浅入浅出 Go 语言接口的原理
  10. 微服务:Eureka+Zuul+Ribbon+Feign+Hystrix构建微服务架构