`
923723914
  • 浏览: 640028 次
文章分类
社区版块
存档分类
最新评论

Debugging WOW64

 
阅读更多

Debugging WOW64

Applications running under WOW64 can be debugged two ways:

  • Use an x86-hosted debugger such as NTSD, WinDbg, or Visual Studio. The 32-bit NTSD is installed to %systemroot%\syswow64 on retail installations. Note that x86 debuggers can be used to debug x86 code, but cannot be used to disassemble or set breakpoints within the WOW64 thunk layer because it is 64-bit native code.
  • Use a native debugger such as CDB, NTSD, or WinDbg and the WOW64 debugger extension, Wow64exts.dll. If the native debugger breaks while the processor is in x86 mode, the debugger presents the process as an x86 process. If the processor is in native mode, the debugger presents the process as native.

CDB, NTSD, and WinDbg are included in Debugging Tools for Windows. For more information, see theDebugging Tools for Windowsdocumentation.

The Wow64exts debugger extension is installed with WinDbg. Use the !load wow64exts command to load the debugger extension. The following table lists the !wow64exts debugger extension commands.

Command Description
!wow64exts.sw Switches between x86 and native mode.
!wow64exts.kcount Dumps a combined 32-bit/64-bit stack trace. Ifcountis specified, the command dumps the firstcountaddresses in each stack trace.
!wow64exts.info Dumps basic information about the PEB of the process, the TEB of the current thread, and thread local storage (TLS) slots used by WOW64.
!wow64exts.raddress Dumps context for the specified address. Ifaddressis not specified, the command dumps context for the processor.


http://msdn.microsoft.com/en-us/library/windows/desktop/aa384163(v=vs.85).aspx

分享到:
评论

相关推荐

    WinDbg x64 Debugging Tools for Windows

    WinDbg x64 Debugging Tools for Windows 欢迎下载

    Debugging Tools for Windows(X86+X64)

    Debugging Tools for Windows (x64)和Debugging Tools for Windows (x86) 微软Debugging Tools for Windows工具,简称windbg,查看dmp文件,调试驱动程序、应用程序等。

    Debugging Tools

    微软发布的一个除错诊断工具,你可以使用Debugging Tools for Windows去测试你的Windows NT 4.0, Windows 2000, Windows XP和Windows Server 2003,Windos Vista,Longhorn的驱动,程序和系统服务,目前这个工具支持所有...

    真正Win10中可用的windbg10(Debugging Tools for Windows 10)

    目前CSDN下载频道中的微软调试工具WinDbg(即Debugging Tools for Windows)大都不适用于Win10系统,在Windows10中会报错:Could not find the xxx\MEMORY.DMP Dump File,Win32 error On87。这里提供的WinDbg10下载...

    Advanced Windows Debugging

    From core Windows operating system concepts to security, Windows® Vista™ and 64-bit debugging, they address emerging topics head-on—and nothing is ever oversimplified or glossed over!

    Advanced.Apple.Debugging.&.Reverse.Engineering.v2.0 Code Part2

    Advanced Apple Debugging & Reverse Engineering, Second Edition ISBN: Learn the powerful secrets of Apple’s software debugger, LLDB, that can get more information out of any program than you ever ...

    Windows Debugging Tool-x86&&x86_64

    Windows Debugging tool 32位和64位的都有,包括适用于windows7的和支持windows8的两种版本,安装好任意一种后,即可在QT Creator中使用CDB调试,当然也可以4种都安装!

    Advanced.NET.Debugging

    Advanced.NET.Debugging Advanced.NET.Debugging Advanced.NET.Debugging

    Advanced Apple Debugging & Reverse Engineering Code part1

    Advanced Apple Debugging & Reverse Engineering, Second Edition ISBN: Learn the powerful secrets of Apple’s software debugger, LLDB, that can get more information out of any program than you ever ...

    DebuggingTools

    一个除错诊断工具,你可以使用Debugging Tools for Windows去测试你的Windows

    Effective.Debugging.2016.7.pdf

    Every software developer and IT professional understands the crucial importance of effective debugging. Often, debugging consumes most of a developer’s workday, and mastering the required techniques ...

    Inside Windows Debugging.pdf

    Through a combination of best practices and common debugging and programming techniques - several of which are not currently documented in other books - this book shows developers why the system works...

    Inside Windows Debugging - Practical Debugging and Tracing Strategies 无水印pdf

    Inside Windows Debugging - Practical Debugging and Tracing Strategies 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 ...

    Debugging Tools for Windows x86 and x64

    Windows 调试器 (简称WinDbg) 可用于调试内核模式和用户模式代码,来分析故障转储,并检查代码时 CPU 寄存器执行。适用于visual studio、qt和其他的IDE集成工具的调试工具。

    Advanced+.NET+Debugging

    Advanced+.NET+Debugging

    Inside Windows Debugging Codes

    这是<<Inside Windows Debugging>>的书中代码,很罕见的资源。

    Debugging Tools x86

    Debugging Tools for Windows (x64)和Debugging Tools for Windows (x86) 微软Debugging Tools for Windows工具,简称windbg,查看dmp文件,调试驱动程序、应用程序等。

    debugging_with_gdb(中文版pdf)

    debugging_with_gdb(中文版pdf) debugging_with_gdb(中文版pdf)

    Debugging with gdb

    Debugging with gdb Debugging with gdb Debugging with gdb Debugging with gdb

    Windows Internal Debugging

    Windows User Mode Debugging Internals Windows Native Debugging Internals Kernel User-Mode Debugging Support (Dbgk)

Global site tag (gtag.js) - Google Analytics