From a403f3ecbe13511bc85c5e5ff969dff1241930bc Mon Sep 17 00:00:00 2001 From: Muhammad Umair Date: Tue, 31 Dec 2024 03:11:39 +0800 Subject: [PATCH] BUGFIX: save xrefer analysis to disk after artifact analysis --- plugins/xrefer/core/action_handlers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/xrefer/core/action_handlers.py b/plugins/xrefer/core/action_handlers.py index 5640f77..3b25ceb 100644 --- a/plugins/xrefer/core/action_handlers.py +++ b/plugins/xrefer/core/action_handlers.py @@ -84,7 +84,9 @@ def activate(self, ctx: Any) -> bool: try: idaapi.show_wait_box(f'HIDECANCEL\n') log("Running artifact analysis...") - plugin_instance.xrefer_view.xrefer_obj.find_interesting_artifacts() + xrefer_obj = plugin_instance.xrefer_view.xrefer_obj + xrefer_obj.find_interesting_artifacts() + xrefer_obj.save_analysis() # Force view update current_state = plugin_instance.xrefer_view.state_machine.current_state