angr / angr/cle

iOS can't find sym is_import

Aperta
#581 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug needs-triage
Lingua principale
Python
Stelle
485
Fork
135
Merge medio
2g 2h
PR unite (30g)
15

Descrizione

### Description

File "/Users/xxx/Desktop/deobf/code/2/angr-examples/angr-hook2.py", line 45, in
proj.hook_symbol("_scanf", ReplaceScanf())
File "/Users/xxx/.pyenv/versions/3.11.8/lib/python3.11/site-packages/angr/project.py", line 603, in hook_symbol
sym = self.loader.find_symbol(symbol_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xxx/.pyenv/versions/3.11.8/lib/python3.11/site-packages/cle/loader.py", line 610, in find_symbol
if sym.is_import:
^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'is_import'

### Steps to reproduce the bug

_No response_

### Environment

Mac OSX 15.4 (24E248)

test iOS mach-o file

### Additional context

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.