![]() |
|
|
|
#1
|
|||
|
|||
|
Importing C++ classes into Ghidra?
I have a binary and I have some C++ class definitions that go with that binary. Is there some way I can import them into Ghidra so I can use them in the decompiler?
Or alternatively is there a way to import the definitions from IDA somehow? |
|
#2
|
|||
|
|||
|
In IDA there is a nice plugin named ClassInformer, but it just scans the vtbls/rtti, not importing...
|
|
#3
|
||||
|
||||
|
There are some C++ focused plugins for Ghidra that may help/be useful for this similar kind of thing. Although, I'm not sure if either have the exact feature you are requesting. (I haven't tested these personally.)
https://github.com/cmu-sei/pharos/tree/master/tools/ooanalyzer/ghidra/OOAnalyzerPlugin https://github.com/astrelsky/Ghidra-Cpp-Class-Analyzer
__________________
Personal Projects Site: https://atom0s.com |
| The Following User Says Thank You to atom0s For This Useful Post: | ||
TQN (06-05-2020) | ||
|
#4
|
|||
|
|||
|
@JonhWill, you can export your vmt tables to structures in a .h file, and in Ghidra, you can import it into
Many script and plugin in IDA can export VMT tables to structs. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ghidra-nativeaot: Extension for Ghidra to support .NET AOT | Levis | Community Tools | 3 | 04-21-2025 14:06 |
| ClassVersion - Java version of classes | CodeCracker | Community Tools | 0 | 06-10-2022 15:53 |
| Automating definition of C++ classes/vtables in IDA? | jonwil | General Discussion | 1 | 09-02-2020 18:59 |
| [Android] Dex Manager v1.1 - Designed To Play With Classes.dex | Jasi2169 | Community Tools | 2 | 11-01-2017 03:00 |