mirror of https://github.com/Nonannet/pelfy.git
code style and typehints fixed
This commit is contained in:
parent
aab7f83cd9
commit
5f0c36fef4
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue