loader: validate ModRM mod==3 and rm==0 for ClzeroLoop cmp #55

Merged
ahmetbagci8 merged 1 commit from upstream-pr/55 into dev 2026-12-01 17:51:53 +00:00
ahmetbagci8 commented 2026-12-01 17:46:55 +00:00 (Migrated from github.com)

Imported from edsuuu/VI-BR-PORT. Originally posted by ahmetbagci8 on 2026-12-01T17:46:55Z.


Problem

In crates/victory-loader/src/console_insn_decode.rs, decode() matched clzero; add rax, 0x40; cmp rax, ; jb -12 by checking REX (

<!-- greyfinch-sync:edsuuu/VI-BR-PORT:issue:5591225519 --> Imported from [edsuuu/VI-BR-PORT](https://github.com/edsuuu/VI-BR-PORT/pull/55). Originally posted by [ahmetbagci8](https://github.com/ahmetbagci8) on 2026-12-01T17:46:55Z. --- ## Problem In crates/victory-loader/src/console_insn_decode.rs, decode() matched clzero; add rax, 0x40; cmp rax, <reg>; jb -12 by checking REX (
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
edsuuu/VI-BR-PORT!55
No description provided.