Skip to content

Commit

Permalink
Fix explicit operands example
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Dec 27, 2023
1 parent 055a54a commit e4ddf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instructionAPI/src/x86/decoder.C
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ namespace Dyninst { namespace InstructionAPI {
*
* add r1, r2 ; r1, r2 are both X86_OP_REG
* jmp -64 ; -64 is X86_OP_IMM
* mov r1, 0x33 ; r1 is X86_OP_REG, 0x33 is X86_OP_MEM
* mov r1, [0x33] ; r1 is X86_OP_REG, 0x33 is X86_OP_MEM
*/
auto* d = dis.insn->detail;
for(uint8_t i = 0; i < d->x86.op_count; ++i) {
Expand Down

0 comments on commit e4ddf90

Please sign in to comment.