Unsupported operation between int and Nontype instances
- Lingua principale
- Python
- Stelle
- 485
- Fork
- 135
- Merge medio
- 2g 2h
- PR unite (30g)
- 15
Descrizione
### Description
Got this when trying the build a 'CFGFast' for a freertos application.
```bash
bj = self.project.loader.find_object_containing(ptr, membership_check=False)
File "/home/kos/.local/lib/python3.10/site-packages/cle/loader.py", line 459, in find_object_containing
if self._last_object is not None and self._last_object.min_addr <= addr <= self._last_object.max_addr:
TypeError: '<=' not supported between instances of 'int' and 'NoneType'
```
### Steps to reproduce the bug
- try to build a 'CFG' for this [binary](https://drive.google.com/file/d/157t1EXQ_L6fIY8mwLsaN6spafoeJZKpS/view?usp=sharing) file.
### Environment
Ubuntu 22.04.5 LTS
### Additional context
_No response_
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.