-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
magic breakpoints problem on XP ntldr #55
Comments
The reason is.... windows xp ntldr have code like this:
And this code is called a lot of times! A ring3 code CANT execute OUT instruction so disable magic_breakpoints + use 0x8AE0 as workarround is not a solution |
A workarround for ring0 code can be use advanced debugger plugin:
https://bochs.sourceforge.io/doc/docbook/development/debugger-advanced.html
|
Solved PR #58 ! |
Is there a
Some years ago I was quite surprised by finding |
Hey @Nable80, thanks for your point, it's very interesting (I uploaded the ntdlr file in the initial message, take a look if you want) As you noticed, first break have a JMP instruction after that : Others no: BUT, as you know it seems like a padding stuff, but this time for 3 bytes: with xchg bx, bx + 0x90 I wasn't aware of this padding due to the ALIGN macro of some MASM versions. It's good to know
Very interesting, good catch @Nable80, thx |
ntldr.zip
On Windows XP SP3:
Enable magic-break-points with bochs debugger
It breaks every time, you cant continue (a lot of magic breakpoints):
The text was updated successfully, but these errors were encountered: