ReFirmLabs / binwalk

Firmware Analysis Tool
MIT License
10.38k stars 1.49k forks source link

Bugs in idb.py and binida.py #622

Open HongThatCong opened 1 year ago

HongThatCong commented 1 year ago

With IDA 7.x and Python 3, when flags AUTOIMPORT_COMPAT_IDA695 is OFF, compat IDA6.95 IDAPython APIs will off. So idc.GetIdbPath, idc.GetManyBytes, segment.startEA and segment.endEA will cause error. And string in python 3 is unicode, IDAPython is bytes. So I have fixed above bugs anh upload here. idb.py.txt