bnida icon indicating copy to clipboard operation
bnida copied to clipboard

ida_struct is gone

Open melomac opened this issue 4 months ago • 1 comments

I find this project to be the last resort when everything else supposed to work is failing.

With IDA Pro 8.4, IDA structures were replaced by local types, and I had to:

diff --git a/ida/ida_export.py b/ida/ida_export.py
index 7fe1321..5e627b2 100644
--- a/ida/ida_export.py
+++ b/ida/ida_export.py
@@ -2,7 +2,7 @@
 Exports analysis data from IDA to a bnida json file
 """
 
-import ida_struct
+# import ida_struct
 import ida_kernwin
 import ida_segment
 import ida_bytes
@@ -165,7 +165,7 @@ def main(json_file):
     json_array['func_comments'] = get_function_comments()
     json_array['line_comments'] = get_line_comments()
     json_array['names'] = get_names()
-    json_array['structs'] = get_structs()
+    json_array['structs'] = {} # get_structs()
     print('Done exporting analysis data')
 
     with open(json_file, 'w') as f:

I'd love to see bnida maintained to help us during corner cases hard times :-)

melomac avatar Oct 17 '24 11:10 melomac