cle
cle copied to clipboard
Unsupported operation between int and Nontype instances
trafficstars
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
Thanks for reporting! Is there a binary that you can share?