mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-04 20:39:46 +00:00
Fix #3134 - Handle TBZ and TBNZ instructions in ARM64 analysis (by @mickey031)
This commit is contained in:
parent
027bb8f11a
commit
1b77ed1249
@ -537,6 +537,11 @@ static void anop64 (RAnalOp *op, cs_insn *insn) {
|
||||
op->jump = IMM64(1);
|
||||
op->fail = addr+op->size;
|
||||
break;
|
||||
case ARM64_INS_TBZ:
|
||||
case ARM64_INS_TBNZ:
|
||||
op->type = R_ANAL_OP_TYPE_CJMP;
|
||||
op->jump = IMM64(2);
|
||||
op->fail = addr+op->size;
|
||||
case ARM64_INS_BR:
|
||||
op->type = R_ANAL_OP_TYPE_UJMP;
|
||||
op->eob = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user