Open klefo0 opened 5 months ago
README is a bit outdated, sorry about that... There is no longer default hotkey assigned, one should assign it themselves in Options->shortcuts. Hotkeys' names are phrank::item_analyzer (shift-A in README) and phrank::tfg_printer
Thanks, I have set the hotkey, the plugin worked. Now it throws errors
Traceback (most recent call last):
File "$(IDA_DIR)\python\3\pyphrank\ida_plugin.py", line 61, in activate
self.plugin.type_analyzer.get_tfg(func_ea, nocache=True)
File "$(IDA_DIR)\python\3\pyphrank\type_analyzer.py", line 81, in get_tfg
aa = self.func_manager.get_tfg(func_ea)
File "$(IDA_DIR)\python\3\pyphrank\function_manager.py", line 25, in get_tfg
cfunc = self.get_cfunc(func_ea)
File "$(IDA_DIR)\python\3\pyphrank\function_manager.py", line 34, in get_cfunc
return self.func_factory.get_cfunc(func_ea)
File "$(IDA_DIR)\python\3\pyphrank\cfunction_factory.py", line 35, in get_cfunc
if cfunc == -1:
File " $(IDA_DIR)\python\3\ida_hexrays.py", line 26011, in <lambda>
cfuncptr_t.__eq__ = lambda self, other: self.__ptrval__() == other.__ptrval__()
AttributeError: 'int' object has no attribute '__ptrval__'
Do you have any idea?
I think that hexrays assumes that all objects compared with cfunc are cfunc too, which is false in this case. Did you try it in 8.3? I didn't test phrank there... I fixed this bug, please check if it works now.
I have two version IDA, 7.6 and 8.3 I tried to use the plugin in both versions, nothing happen when i used hotkey (Shift-A) like in this script
The
a1
variable should have a struct for it, but the plugin not doing anything. Can you show me how to use it in detail, or is it plugin work from the older version?