Skip to content

Commit

Permalink
Fix ptrsize for ARM to not return 2 ever (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
lain3d committed Jul 10, 2022
1 parent ad1bfaf commit 01da142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gef.py
Expand Up @@ -2513,7 +2513,7 @@ def instruction_length(self) -> Optional[int]:

@property
def ptrsize(self) -> int:
return 2 if self.is_thumb() else 4
return 4

def is_call(self, insn: Instruction) -> bool:
mnemo = insn.mnemonic
Expand Down

0 comments on commit 01da142

Please sign in to comment.