binary_function_similarity
binary_function_similarity copied to clipboard
IDA pro compatibility tweaks
- use universal
idaapi.qexit
- IDA 7.4+ uses
idc.get_func_attr
instead ofidc.GetFunctionAttr
1 - ensure byte/string compatibility for Python 2/3
- sort nodes/edges to help tests pass
With these changes, the unit tests for the IDA scripts pass for IDA Pro versions 7.2 - 8.1. This is using Python2 for v7.2 and Python3 for v7.4+, but they should be interchangeable.
Thank you for your contribution @wideglide. I'll review your changes and merge them.