From 566f6fc2ffea4047837e2dc80152ca46a23aac99 Mon Sep 17 00:00:00 2001 From: Michael Kohn Date: Wed, 9 Oct 2024 17:51:43 -0500 Subject: [PATCH] Issue #135: ARM64 disassembler was 4 bytes off for b and bl instructions. --- disasm/arm64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disasm/arm64.cpp b/disasm/arm64.cpp index 13cc385a..12143f34 100644 --- a/disasm/arm64.cpp +++ b/disasm/arm64.cpp @@ -486,7 +486,7 @@ int disasm_arm64( snprintf(instruction, length, "%s 0x%04x (offset=%d)", table_arm64[n].instr, - (address + 4 + imm), + (address + imm), imm); return 4;