From 5a5f71e703a3706674012b418b871cb7daf57d9c Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 22 Sep 2023 17:00:10 -0400 Subject: [PATCH] JMPs imply their size. --- InstructionSets/x86/Instruction.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/InstructionSets/x86/Instruction.cpp b/InstructionSets/x86/Instruction.cpp index 403904890..90d2e2cb5 100644 --- a/InstructionSets/x86/Instruction.cpp +++ b/InstructionSets/x86/Instruction.cpp @@ -151,6 +151,9 @@ bool InstructionSet::x86::mnemonic_implies_data_size(Operation operation) { case Operation::MOVS: case Operation::SCAS: case Operation::STOS: + case Operation::JMPabs: + case Operation::JMPrel: + case Operation::JMPfar: return true; } }