diff options
author | iximeow <me@iximeow.net> | 2021-07-02 00:01:23 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-02 00:01:23 -0700 |
commit | 714f6cfc5ae07d1c6836d72edf85147c985a3c93 (patch) | |
tree | 58dc338e1f5a2b3389d717e3d602f7f2f118c3e0 | |
parent | ee9df27a910f10695df15332bd973fb5bfe422e2 (diff) |
`Nothing` operand code must be decoded with operand_count=0
-rw-r--r-- | src/protected_mode/vex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protected_mode/vex.rs b/src/protected_mode/vex.rs index 235d160..7c55ef1 100644 --- a/src/protected_mode/vex.rs +++ b/src/protected_mode/vex.rs @@ -440,7 +440,7 @@ fn read_vex_operands<T: Reader<<Arch as yaxpeax_arch::Arch>::Address, <Arch as y Ok(()) } VEXOperandCode::Nothing => { - instruction.mem_size = 1; + instruction.operand_count = 0; Ok(()) }, VEXOperandCode::Ev_G_xmm_imm8 => { |