deflat icon indicating copy to clipboard operation
deflat copied to clipboard

not able to get function in new version of angr.

Open aynakeya opened this issue 8 months ago • 2 comments

I'm currently using angr version 9.2.106 in my environment. I'm encountering an issue where the target_function is returning None when excuting the following code:

target_function = cfg.functions.get(start)

I found that this issue can be resolved by replacing the above code with:

target_function = cfg.kb.functions.get_by_addr(project.loader.main_object.mapped_base + start)

aynakeya avatar Jun 17 '24 04:06 aynakeya