Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Fix name and return type of auto_queue_empty for IDA 7.0+ #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion idarling/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,13 @@ def ev_get_bg_color(self, color, ea):
return 1
return 0

def auto_queue_empty(self, _):
def ev_auto_queue_empty(self, arg):
core._plugin.logger.debug("Auto queue empty hook")
if ida_auto.get_auto_state() == ida_auto.AU_NONE:
client = core._plugin.network.client
if client:
client.call_events()
return super(self.__class__, self).ev_auto_queue_empty(arg)

self._idp_hooks_core = IDPHooksCore()
self._idp_hooks_core.hook()
Expand Down