Ida GDB Remote Debugging

Source: Internet
Author: User
Tags gdb debugger

In the snow to answer the question, someone asked in WinDbg down Kidebugroutine or Kdenterdebugger function will cause a blue screen! Because it was debugging the kernel debugging engine for Windows, the workaround I gave was to debug it with a kernel debug engine that doesn't rely on windows, and to use Ida's remote debugging when I previously analyzed the Windows startup process. Debug the system when the Windows kernel debug engine is not initialized, and use Ida's remote debugging to fix it.

Ida--->debugger--->attacth---->remote GDB Debugger

Kd>u kdenterdebuggernt!kdenterdebugger:8414116d 8BFF mov edi,edi8414116f -Push EBP841411708bec mov ebp,esp84141172 Wuyipush ECX84141173  -push EBX841411748B5D08 mov ebx,dword ptr [ebp+8]84141177  Aboutpush ESI84141178  $Push EDI

And then down to the absolute address of Kdenterdebugger directly in Ida.

Ida's accelerator G enters the absolute address of the Kdenterdebugger, then F2 down the breakpoint, F9 runs, and when WinDbg down the breakpoint again, it breaks in the Kdenterdebugger function in Ida.

Ida GDB Remote debugging

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.