Skip to content

Commit

Permalink
arm: fix issue capstone-engine#740
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Aug 11, 2016
1 parent 1b585c1 commit 0bb4433
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/ARM/ARMInstPrinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ void ARM_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci)
insn->detail->arm.writeback = true;
} else if (mci->csh->mode & CS_MODE_THUMB) {
// handle some special instructions with writeback
//printf(">> Opcode = %u\n", mci->Opcode);
switch(mci->Opcode) {
default:
break;
Expand Down Expand Up @@ -303,6 +304,7 @@ void ARM_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci)
}
} else { // ARM mode
// handle some special instructions with writeback
//printf(">> Opcode = %u\n", mci->Opcode);
switch(mci->Opcode) {
default:
break;
Expand Down Expand Up @@ -346,6 +348,7 @@ void ARM_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci)

case ARM_LDRB_POST_IMM:
case ARM_LDR_POST_IMM:
case ARM_LDR_POST_REG:
case ARM_STRB_POST_IMM:
case ARM_STR_POST_IMM:

Expand Down

0 comments on commit 0bb4433

Please sign in to comment.