angr / angr/cle

Unsupported operation between int and Nontype instances

Abierto
#563 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
485
Forks
135
Merge medio
2 d 2 h
PR fusionados (30 d)
15

Descripción

### 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_

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.