How can I run a very large python script? #2608
Closed
LegacyNsfw
started this conversation in
Debugger
Replies: 1 comment
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to convert an IDA Pro project to Ghidra, and my version of IDA Pro is too old for the existing python import/export tools. So I wrote something that converts a .idc script to a series of python commands. It only handles labels and comments, but that will suffice. The generated python script contains almost a megabyte of simple function calls like these:
createLabel(addressFactory.getAddress("0x440"), "Reset")
createLabel(addressFactory.getAddress("0x500"), "Operating_System_Checksum")When I run it via Ghidra's script manager, I get a "module too large" error. The error suggests using compiled python, but I don't found a way to invoke compiled python scripts in Ghidra.
Does anyone have suggestions?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions