mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 15:04:23 +00:00
Add more ESIL for Thumb
This commit is contained in:
parent
caaf5a7892
commit
3c4354ccef
@ -264,6 +264,13 @@ static int analop_esil(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len
|
||||
// TODO: PREFIX CONDITIONAL
|
||||
|
||||
switch (insn->id) {
|
||||
case ARM_INS_NOP:
|
||||
r_strbuf_setf (&op->esil, ",");
|
||||
break;
|
||||
case ARM_INS_BX:
|
||||
case ARM_INS_BXJ:
|
||||
r_strbuf_setf (&op->esil, "%s,pc,=", ARG(0));
|
||||
break;
|
||||
case ARM_INS_UDF:
|
||||
r_strbuf_setf (&op->esil, "%s,TRAP", ARG(0));
|
||||
break;
|
||||
@ -380,6 +387,9 @@ r4,r5,r6,3,sp,[*],12,sp,+=
|
||||
}
|
||||
}
|
||||
break;
|
||||
case ARM_INS_MUL:
|
||||
r_strbuf_appendf (&op->esil, "%s,%s,*,%s,=", ARG(2), ARG(1), ARG(0));
|
||||
break;
|
||||
case ARM_INS_SADD16:
|
||||
case ARM_INS_SADD8:
|
||||
case ARM_INS_ADD:
|
||||
|
Loading…
Reference in New Issue
Block a user