Adding ability to parse C++ headers into GDT #6213
lightspot21
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
Don't forget the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently looking into extending Ghidra's C parser to handle C++ headers. Specifically, I'd like to be able to create gdt files from Microsoft MFC headers, which are too big and complex to clean by hand.
Of course I'll be using a ready-made C++ parser, like the one included with Eclipse CDT (which already seems to be used in GhidraDev and is native Java, as suggested in https://stackoverflow.com/a/27496664), and at least for now, all I'll be doing is to extract automatically structs (class data, vtable structs, function definitions).
I'd really like for this work, if at all possible, to be included in the upstream. Would the Ghidra team be opposed to a PR implementing such functionality?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions