Skip to content

caller_sites is not reliable #3722

@psifertex

Description

@psifertex

It's possible for caller_sites to return something that is NOT a call when accessing the IL of the returned code refs.

This should be fixed by adding a small amount of logic in:

https://github.com/Vector35/binaryninja-api/blob/dev/python/function.py#L3185-L3194

that verifies the LLIL is indeed a call

Metadata

Metadata

Assignees

Labels

Component: APIIssue needs changes to the APIEffort: TrivialIssues require < 1 day of workImpact: MediumIssue is impactful with a bad, or no, workaround

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions