microsoft / WinDbg-Samples

Sample extensions, scripts, and API uses for WinDbg.
MIT License
702 stars 118 forks source link

Binary instruction translation error #105

Open PromiseNoDieForever opened 5 months ago

PromiseNoDieForever commented 5 months ago

My code is as follows: image discovered by chance,There is a problem with windbg executing this statement (xchg r8d, eax)。 so,I compiled this code and tested it using windbg and ttd。 The windbg compilation instruction is wrong but executed correctly 1 2 But unfortunately, ttd is simulated through instructions, so the operation error 3 4 I hope it can be repaired successfully This is a compressed package of asm, exe, pdb, run files Debug.zip