Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported operation between int and Nontype instances #563

Open
KOUGBLENOU opened this issue Mar 19, 2025 · 2 comments
Open

Unsupported operation between int and Nontype instances #563

KOUGBLENOU opened this issue Mar 19, 2025 · 2 comments
Labels

Comments

@KOUGBLENOU
Copy link

KOUGBLENOU commented Mar 19, 2025

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

@ltfish
Copy link
Member

ltfish commented Mar 19, 2025

Thanks for reporting! Is there a binary that you can share?

@KOUGBLENOU
Copy link
Author

KOUGBLENOU commented Mar 19, 2025

Thanks for reporting! Is there a binary that you can share?

Sure! Here is the binary file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants