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

Function.get_low_level_il_at can throw exception if the function cannot be analyzed #6228

Open
xusheng6 opened this issue Dec 4, 2024 · 1 comment
Assignees
Labels
Component: API Issue needs changes to the API Effort: Low Issue should take < 1 week Impact: Low Issue is a papercut or has a good, supported workaround Type: Enhancement Issue is a small enhancement to existing functionality
Milestone

Comments

@xusheng6
Copy link
Member

xusheng6 commented Dec 4, 2024

It happens at: https://github.com/Vector35/binaryninja-api/blob/dev/python/function.py#L1791

Note this cannot be solved by simply changing llil = self.llil to llil = self.llil_if_available, since this will NOT cause the IL to be generated when the IL is not yet available, but can be generated upon request. See #6170 for more details

@xusheng6
Copy link
Member Author

xusheng6 commented Dec 4, 2024

Related to mandiant/capa#2517

@xusheng6 xusheng6 added Type: Enhancement Issue is a small enhancement to existing functionality Component: API Issue needs changes to the API Impact: Low Issue is a papercut or has a good, supported workaround Effort: Low Issue should take < 1 week labels Dec 23, 2024
@xusheng6 xusheng6 self-assigned this Dec 23, 2024
@xusheng6 xusheng6 added this to the Gallifrey milestone Dec 23, 2024
@xusheng6 xusheng6 assigned plafosse and unassigned xusheng6 Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: API Issue needs changes to the API Effort: Low Issue should take < 1 week Impact: Low Issue is a papercut or has a good, supported workaround Type: Enhancement Issue is a small enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants