diff --git a/requirements.txt b/requirements.txt index deb33986e6b..26ad4e5e584 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ crunch64>=0.3.1,<1.0.0 ipl3checksum>=1.2.0,<2.0.0 # disasm -rabbitizer>=1.0.0,<2.0.0 +rabbitizer>=1.3.0,<2.0.0 # Compression pyelftools>=0.26 diff --git a/tools/disasm/disasm.py b/tools/disasm/disasm.py index 884c79f89b3..be599728bc7 100755 --- a/tools/disasm/disasm.py +++ b/tools/disasm/disasm.py @@ -1112,7 +1112,7 @@ def asm_header(section_name: str): def getImmOverride(insn: rabbitizer.Instruction): if insn.isBranch(): return f".L{insn.getBranchOffset() + insn.vram:08X}" - elif insn.isJump(): + elif insn.isJumpWithAddress(): return proper_name(insn.getInstrIndexAsVram(), in_data=False, is_symbol=True) elif insn.uniqueId == rabbitizer.InstrId.cpu_ori: