Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Fix disassembly of mov drX, reg#12

Open
mrexodia wants to merge 1 commit into
gh-nomad:masterfrom
mrexodia:movdrx
Open

Fix disassembly of mov drX, reg#12
mrexodia wants to merge 1 commit into
gh-nomad:masterfrom
mrexodia:movdrx

Conversation

@mrexodia

Copy link
Copy Markdown

Was using it to handle some privileged instructions and it looks like the rex prefix isn't handled correctly. For some reason the disassembly text was correct, but the structure reported the wrong register.

The code I was using:

https://github.com/mrexodia/driver_unpacking/blob/4f2db064fabfc828549eba80d4b57ce80f0daa43/ntoskrnl/ntoskrnl.cpp#L111-L131

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants