From e38562713868ecad0dc39471a6a6b7b0e74daf6b Mon Sep 17 00:00:00 2001 From: Lion Date: Tue, 19 Nov 2024 01:45:18 +0200 Subject: [PATCH] Minimal Plugin Structure Stub --- idapal.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/idapal.py b/idapal.py index 5b87441..e05b3be 100644 --- a/idapal.py +++ b/idapal.py @@ -337,3 +337,24 @@ def unload_plugin(): if hooks is not None: hooks.unhook() hooks = None + +# Minimal Plugin Structure Stub +class aiDAPalPlugin(idaapi.plugin_t): + flags = 0 + comment = "aiDAPal Plugin" + help = "Analyzes and enhances functions in IDA" + wanted_name = "aiDAPal" + wanted_hotkey = "" + + def init(self): + print("aiDAPal Plugin Initialized") + return idaapi.PLUGIN_OK + + def run(self, arg): + print("aiDAPal Plugin Running") + + def term(self): + print("aiDAPal Plugin Terminated") + +def PLUGIN_ENTRY(): + return aiDAPalPlugin() \ No newline at end of file