首页
社区
课程
招聘
[原创]Automating Kernel dumps collection through code
发表于: 2012-10-8 15:22 4184

[原创]Automating Kernel dumps collection through code

2012-10-8 15:22
4184

1.        Download and install debuging tools for Windows in the folder c:\debuggers from http://msdl.microsoft.com/download/symbols/debuggers/dbg_x86_6.11.1.404.msi
2.        Dowload and install LiveKD into the folder c:\debuggers from
http://technet.microsoft.com/en-us/sysinternals/bb897415
3.        Setup environment variable _NT_SYMBOL_PATH = srv*c\localsymbols*
4.        Insert the following line of code at the appropriate location :

// The following code is to silently accept the EULA. This needs to be done only ONE time on the machine.
system("c:\\debuggers\\LiveKD.exe /accepteula");

// The following code is to collect the kernel dumps
system("c:\\debuggers\\LiveKD.exe -o c:\\kerneldump.dmp");

5.        The dump c:\kerneldump.dmp will be collected but the system will not restart.


[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 6
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回
//