lunixbochs / revsync

realtime cross-tool collaborative reverse engineering
MIT License
100 stars 25 forks source link

Fixed issue with IDA 7.6 API (IDBHooks.renamed) #9

Closed 0xWhoa closed 3 years ago

0xWhoa commented 3 years ago

This fix wasn't tested with previous versions of IDA.

Fixes the following exception:

Exception in ida_idp.IDB_Hooks dispatcher function: SWIG director method error. Error detected when calling 'IDB_Hooks.renamed' Traceback (most recent call last): File "\AppData\Roaming\Hex-Rays\IDA Pro\revsync\ida_frontend.py", line 134, in renamed return IDB_Hooks.renamed(self, ea, new_name, local_name) File "C:\Program Files\IDA Pro 7.6\python\3\ida_idp.py", line 5696, in renamed return _ida_idp.IDB_Hooks_renamed(self, *args) TypeError: IDB_Hooks_renamed expected 5 arguments, got 4