Fix call analysis in arm64

This commit is contained in:
pancake 2015-10-19 15:03:42 +02:00
parent 6288d1e563
commit 1e26598254
3 changed files with 6 additions and 1 deletions

View file

@ -101,7 +101,7 @@ Unk, unk, unk, unk
Experts agree, security holes suck, and we fixed some of them!
This is just an existentialist experiment.
Nothing to see here. Move along.
Select your character: RBin Wizard, Master Anal Paladin, or Assembly Wizard
Select your character: RBin Wizard, Master Anal Paladin, or Assembly Warrior
I accidentally radared my filesystem today.
No fix, no sleep
You see it, you fix it!
@ -170,3 +170,5 @@ It's the year of radare2 on the desktop
SSAbotage from ISIL
"a collection of garbage" -- an r2 pro user
A git pull a day keeps the segfault away
Are you a wizard?
Learn pancake as if you were radare!

View file

@ -80,3 +80,4 @@ This code was intentionally left blank, try 'e asm.arch = ws'
For a full list of commands see `strings /dev/urandom`
Thanks for using radare2!
give | and > a try piping and redirection
Run .dmm* to load the flags of the symbols of all modules loaded in the debugger

View file

@ -589,9 +589,11 @@ static void anop64 (RAnalOp *op, cs_insn *insn) {
case ARM64_INS_BL: // bl 0x89480
op->type = R_ANAL_OP_TYPE_CALL;
op->jump = IMM64(0);
op->fail = addr + 4;
break;
case ARM64_INS_BLR: // blr x0
op->type = R_ANAL_OP_TYPE_UCALL;
op->fail = addr + 4;
//op->jump = IMM64(0);
break;
case ARM64_INS_CBZ: