x64dbg icon indicating copy to clipboard operation
x64dbg copied to clipboard

CPUID is being traced wrong way by x64dbg

Open dolbnya opened this issue 3 years ago β€’ 3 comments

Hi!

My PE+ (64 bit) executable file contains the following code at its entry point:

xor eax, eax cpuid xor al, al xor bl, bl

I would like to trace the code step by step by pressing F7 or F8, but after executing cpuid command the debugger stops at "xor bl, bl" instead of "xor al, al". Looks like a mistake If I set a breakpoint at "xor al, al" it works fine though

Thanks a lot

dolbnya avatar Feb 18 '22 09:02 dolbnya

This is because of a bug in Hyper-V. You can check if it’s enabled in msinfo32

mrexodia avatar Feb 18 '22 10:02 mrexodia

Try olly64 bit debugger, its more stable

greenozon avatar May 13 '22 20:05 greenozon

olly64 has the exact same issue...

mrexodia avatar May 13 '22 21:05 mrexodia