Skip to content

Commit

Permalink
Add note in decodeOperands
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Dec 27, 2023
1 parent fc85b11 commit 89a752d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion instructionAPI/src/x86/decoder.C
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ namespace Dyninst { namespace InstructionAPI {
buf.start += dis.insn->size;
}

bool x86_decoder::decodeOperands(Instruction const*) { return true; }
bool x86_decoder::decodeOperands(Instruction const*) {
// Capstone does this for us.
return true;
}

}}

0 comments on commit 89a752d

Please sign in to comment.