8000 x86, amd64: Decode pushf with a rep or repne prefix. by ltfish · Pull Request #111 · angr/vex · GitHub
[go: up one dir, main page]

Skip to content

x86, amd64: Decode pushf with a rep or repne prefix. - #111

Merged
ltfish merged 1 commit into
masterfrom
fix/x86-junk-rep-prefix
Dec 2, 2026
Merged

ltfish merged 1 commit into
masterfrom
fix/x86-junk-rep-prefix

Conversation

@ltfish
@ltfish ltfish commented Dec 2, 2026
Copy link
Copy Markdown
Member

The x86 and amd64 decoders used to reject pushf with a F2 or F3 prefix. Now VEX ignores the prefix and decodes the instruction as a plain pushf.

The x86 and amd64 decoders used to reject pushf when it carried an F2 or F3
prefix. VMProtect emits such prefixes as junk, for example `f3 9c`, so blocks
of VM entries ended in Ijk_NoDecode.

Now VEX ignores the prefix and decodes the instruction as a plain pushf.
@ltfish ltfish self-assigned this Dec 2, 2026
@ltfish
ltfish merged commit a71314d into master Dec 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0