Skip to content

Commit

Permalink
Disabled condition decoding in stack rewriting.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Detter committed Jun 29, 2016
1 parent 7803215 commit 31fcb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dyninstAPI/src/codegen-x86.C
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ bool insnCodeGen::modifyDisp(signed long newDisp, instruction &insn, codeGen &ge
origInsn += pref_count;

/* Decode the opcode */
if(ia32_decode_opcode(IA32_FULL_DECODER, origInsn, instruct, NULL))
if(ia32_decode_opcode(0, origInsn, instruct, NULL))
assert(!"Couldn't decode opcode of already known instruction!\n");

/* Calculate the amount of opcode bytes */
Expand Down

0 comments on commit 31fcb13

Please sign in to comment.