Skip to content

Unsupported operation between int and Nontype instances #563

@KOUGBLENOU

Description

@KOUGBLENOU

Description

Got this when trying the build a 'CFGFast' for a freertos application.

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 file.

Environment

Ubuntu 22.04.5 LTS

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions