elastic / HexForge

This IDA plugin extends the functionality of the assembly and hex view. With this plugin, you can conveniently decode/decrypt/alter data directly from the IDA Pro interface.
Other
68 stars 4 forks source link

New IDA 9.0 support #2

Open Cosmicore opened 1 month ago

Cosmicore commented 1 month ago

There are errors

AttributeError: module 'idaapi' has no attribute 'BWN_DISASMS'

in HexForge.py here:

if (form_type == idaapi.BWN_DISASMS) or (form_type == idaapi.BWN_DUMP):

when trying to invoke the pop-up menu.

It looks like the aliases BWN_DISASMS and BWN_DUMPS have been removed (the main BWN_DISASM is still there), and the main BWN_DUMP has been renamed to BWN_HEXVIEW.

This fix corrects both and works fine:

if (form_type == idaapi.BWN_DISASM) or (form_type == idaapi.BWN_HEXVIEW):

dstepanic commented 4 days ago

Hey @Cosmicore,

Apologies for the delay in our response and thank you for the suggestion. We have added a new PR based on your recommendation. Thank you!