From 45bec1a691e455b864f7e4d394711a467e5493dc Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 28 Jan 2019 16:34:44 +0800 Subject: [PATCH] arm: update writeback for STR_POST_REG (issue #1296) --- arch/ARM/ARMInstPrinter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/ARM/ARMInstPrinter.c b/arch/ARM/ARMInstPrinter.c index 271a5a1a..e73de8bd 100644 --- a/arch/ARM/ARMInstPrinter.c +++ b/arch/ARM/ARMInstPrinter.c @@ -378,7 +378,9 @@ void ARM_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci) case ARM_LDR_POST_IMM: case ARM_LDR_POST_REG: case ARM_STRB_POST_IMM: + case ARM_STR_POST_IMM: + case ARM_STR_POST_REG: insn->detail->arm.writeback = true; break;