From 284cf99db1e2aaccd95742402663de07fb10fad3 Mon Sep 17 00:00:00 2001 From: kotee4ko <62266948+kotee4ko@users.noreply.github.com> Date: Thu, 5 Oct 2023 19:01:30 +0200 Subject: [PATCH] Update ui.py fix race-condition with Hex-Rays, which could be unloaded yet on IDA >= 7.7 --- gepetto/ida/ui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gepetto/ida/ui.py b/gepetto/ida/ui.py index c7c3ef4..f816386 100644 --- a/gepetto/ida/ui.py +++ b/gepetto/ida/ui.py @@ -37,7 +37,9 @@ class GepettoPlugin(idaapi.plugin_t): def init(self): # Check whether the decompiler is available if not ida_hexrays.init_hexrays_plugin(): - return idaapi.PLUGIN_SKIP + # return idaapi.PLUGIN_SKIP + idaapi.msg("[Gepetto] Where Hex-Rays is o.O?\n") + pass # just go well # Function explaining action explain_action = idaapi.action_desc_t(self.explain_action_name,