def init(self):
self.hooks = CallsHintsHook()
if self.hooks.hook():
return idaapi.PLUGIN_KEEP
else:
logger.warning('error setting hooks.')
return idaapi.PLUGIN_SKIP
def init(self):
try:
# For Debugging:
#self.die_manager = DieManager(is_dbg_log=True, is_dbg_pause=False, is_dbg_profile=True)
self.die_manager = DieManager()
self.die_manager.add_menu_items()
self.die_manager.show_logo()
return idaapi.PLUGIN_KEEP
except Exception as ex:
idaapi.msg("Failed to initialize DIE. {}\n".format(ex))
self.die_manager.del_menu_items()
del self.die_manager
idaapi.msg("Errors and fun!\n")
return idaapi.PLUGIN_SKIP