code style and typehints fixed

This commit is contained in:
Nicolas 2026-01-27 16:37:27 +01:00
parent aab7f83cd9
commit 5f0c36fef4
2 changed files with 15 additions and 15 deletions

View File

@ -26,7 +26,7 @@ def open_elf_file(file_path: str) -> 'elf_file':
return elf_file(f.read())
def _decode_thumb_branch_imm(field: int, bits: int):
def _decode_thumb_branch_imm(field: int, bits: int) -> int:
"""
Decode Thumb-2 wide branch immediate.
bits: 22 (R_ARM_THM_PC22) or 24 (R_ARM_THM_JUMP24)