Windows内核编程环境搭建

WIN10专业版 20H2 19042.746

SDK WDK 版本要对应

VS2015要安装版本为1703的WDK和SDK

先安装VS2015,后安装WDK和SDK

附上1703WDK和SDK的下载地址:https://docs.microsoft.com/zh-cn/windows-hardware/drivers/other-wdk-downloads

 

  

 

 

 

 

 

 

 

 

"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe" -b -k com:port=\\.\pipe\win7,baud=115200,pipe

"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe" -y SRV*D:\symbols*http://msdl.microsoft.com/download/symbols -b -k com:port=\\.\pipe\win7,baud=115200,pipe 

F:\教程与源码\内核编程\Windbg\WinDbg(x64) 加入系统变量PATH

开启或关闭测试模式:
⦁ bcdedit /copy {current} /d "MyOS"  [msconfig里增加一个引导选项,在新引导选项高级选项里开启调试模式]
bcdedit /set testsigning [on|off] 
bcdedit /set nointegritychecks on
⦁ 虚拟机-串口-启用串口-路径:\\.\pipe\com_1 端口模式:主机管道
⦁ F:\windbg.exe -b -k com:port=\\.\pipe\com_1,baud=115200,pipe
⦁ Ctrl+S => SRV*c:\localsymbols*http://msdl.microsoft.com/download/symbols
posted @ 2023-02-21 11:30  kaling  阅读(55)  评论(0编辑  收藏  举报