deflat
deflat copied to clipboard
not able to get function in new version of angr.
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)