Skip to content
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

an instruction starts with "0F 10 05" executes in an unexpected way #3128

Open
chkzh opened this issue Jul 8, 2023 · 3 comments
Open

an instruction starts with "0F 10 05" executes in an unexpected way #3128

chkzh opened this issue Jul 8, 2023 · 3 comments
Labels
bug The issue describes a bug. It does not mean the bug has been reproduced by a developer. try this This issue needs to be tried by a developer to see if more information is needed.

Comments

@chkzh
Copy link

chkzh commented Jul 8, 2023

Everything is OK yesterday, but a weird error happened today.
The program runs correctly without debugger or with ollydbg, but when I tryed to debug it with x32dbg, I got an 0xC0000005 error.
An "0F 10 05 08 22 EA 00" instruction causes that error. At first, eip points to the head if this instruction. but when I press "F8", then eip points to the middle of this instruction??? That means "0F 10 05" is taken as a complete instruction or just ignored? And then, "08 22"is taken as an instruction.. It causes 0xC0000005. Everything is wrong just like the debugger is confused by junk instruction. But I made the program normally, without any tricks.
@ %(JOG}MHLIAGDWNVW( E4
G}RUVV}W(UX)0}DG%K LIU4

@mrexodia
Copy link
Member

Could you share the program to reproduce this issue?

@mrexodia mrexodia added bug The issue describes a bug. It does not mean the bug has been reproduced by a developer. try this This issue needs to be tried by a developer to see if more information is needed. labels Jul 13, 2023
@foralost
Copy link
Contributor

interesting, will try on my own and prepare the .exe if it goes funny

@foralost
Copy link
Contributor

foralost commented Nov 19, 2023

source.zip

Could not reproduce the issue. The F7,F8,F9 works fine as of version from 19.11.2023.

Used yasm to compile with -fwin32, and linker from VS2022.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue describes a bug. It does not mean the bug has been reproduced by a developer. try this This issue needs to be tried by a developer to see if more information is needed.
Projects
None yet
Development

No branches or pull requests

3 participants