Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion HexRaysPyTools/callbacks/scanners.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def activate(self, ctx):
NewDeepSearchVisitor(cfunc, 0, obj, cache.temporary_structure).process()

def update(self, ctx):
if ctx.form_type == idaapi.BWN_FUNCS:
if ctx.widget_type == idaapi.BWN_FUNCS:
idaapi.attach_action_to_popup(ctx.widget, None, self.name)
return idaapi.AST_ENABLE_FOR_WIDGET
return idaapi.AST_DISABLE_FOR_WIDGET
Expand Down
2 changes: 1 addition & 1 deletion HexRaysPyTools/core/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def init():
PX_WORD_TINFO, DUMMY_FUNC, CONST_PCHAR_TINFO, CHAR_TINFO, PCHAR_TINFO, CONST_VOID_TINFO, \
WORD_TINFO, PWORD_TINFO, EA64, EA_SIZE

EA64 = idaapi.get_inf_structure().is_64bit()
EA64 = idaapi.inf_is_64bit()
EA_SIZE = 8 if EA64 else 4

VOID_TINFO = idaapi.tinfo_t(idaapi.BT_VOID)
Expand Down