Skip to content

Commit

Permalink
Issue mikeakohn#135: ARM64 disassembler was 4 bytes off for b and bl …
Browse files Browse the repository at this point in the history
…instructions.
  • Loading branch information
mikeakohn committed Oct 9, 2024
1 parent 986f6aa commit 566f6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disasm/arm64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 566f6fc

Please sign in to comment.