Allows parsing single C structs that can have dependencies on arbitrary already defined types, circumventing the problem that "Parse C Source" only works if all dependencies of the included header files have been resolved in the same or other included header files.
Based on https://github.com/fmagin/ghidra_scripts/blob/master/ParseDataType.java
- Compatible with Ghidra 10.3 or higher since version 0.2.0
- For Ghidra 10.2 you must use verson 0.1.0 (since it contains a workaround for this issue)
- Lower version are untested
- Releases -> Select Release -> Source Code (..) -> Download -> Extract anywhere
- Open Ghidra project
- Window -> Script Manager -> Button 'Manage script directories'
- Add (Display file chooser) -> Select extracted folder that contains README.md
- Window -> Script Manager -> Data Types -> ImportCStruct.java -> Run Script (or assign a key)