binary_function_similarity icon indicating copy to clipboard operation
binary_function_similarity copied to clipboard

IDA pro compatibility tweaks

Open wideglide opened this issue 2 years ago • 1 comments

  • use universal idaapi.qexit
  • IDA 7.4+ uses idc.get_func_attr instead of idc.GetFunctionAttr1
  • 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.

wideglide avatar Oct 30 '22 21:10 wideglide

Thank you for your contribution @wideglide. I'll review your changes and merge them.

jimmy-sonny avatar Oct 31 '22 11:10 jimmy-sonny