Implement 'wao recj' for 'tbz/tbnz' arm64 instructions ##arch

This commit is contained in:
pancake 2024-03-25 19:27:19 +01:00
parent 275e16719a
commit 325544a810
1 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,12 @@ R_API bool r_core_hack_arm64(RCore *core, const char *op, const RAnalOp *analop)
break;
default:
switch (buf[3]) {
case 0x36: // tbz
r_core_cmdf (core, "wx 37 @ $$+3");
break;
case 0x37: // tbnz
r_core_cmdf (core, "wx 36 @ $$+3");
break;
case 0x34: // cbz
case 0xb4: // cbz
r_core_cmdf (core, "wx 35 @ $$+3");