1、环境配置

2、内存泄露

a、 编写自己的wprp文件;

http://msdn.microsoft.com/en-us/library/hh448223.aspx

b、启动

@echo off

set wpr="C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\wpr.exe"

set wprp=%~dp0memleak.wprp

set name=%date:~0,4%%date:~5,2%%date:~8,2%_%time:~0,2%%time:~3,2%%time:~6,2%

set save=%~dp0memleak_%name%.etl

%wpr% -start %wprp% -filemode

echo 重现内存泄漏操作

pause

%wpr% -stop %save% memleak

windbg tools

gflags 学习

页堆的结构和windbg插件的开发

WIN7中会默认启用ASLR(Address Space Layout Randomization)机制

05-08 15:34