From 9bd4f149a51a3953a9ec15d108e655be11ede790 Mon Sep 17 00:00:00 2001 From: danger Date: Thu, 17 Oct 2024 14:51:23 +0800 Subject: [PATCH] Upload files to "/" --- interface_extract.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/interface_extract.py b/interface_extract.py index 5b62ba0..f6a26e2 100644 --- a/interface_extract.py +++ b/interface_extract.py @@ -101,5 +101,10 @@ def main(): export_local_types(extractfile) if __name__ == "__main__": - main() - idaapi.qexit(0) \ No newline at end of file + try : + auto_wait() + assert (init_hexrays_plugin()), "Hex-Rays Decompiler is not available!" + main() + except AssertionError as msg: + mylog("__main__",msg) + qexit(0) \ No newline at end of file