Go Back   Exetools > General > General Discussion


Thread Tools Display Modes
Old 06-04-2020, 09:08
jonwil jonwil is offline
Join Date: Feb 2004
Posts: 313
Rept. Given: 2
Rept. Rcvd 18 Times in 6 Posts
Thanks Given: 1
Thanks Rcvd at 34 Times in 23 Posts
jonwil Reputation: 18
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?
Reply With Quote
Old 06-04-2020, 15:03
sendersu sendersu is offline
Join Date: Oct 2010
Posts: 847
Rept. Given: 324
Rept. Rcvd 216 Times in 110 Posts
Thanks Given: 168
Thanks Rcvd at 353 Times in 200 Posts
sendersu Reputation: 200-299 sendersu Reputation: 200-299 sendersu Reputation: 200-299
In IDA there is a nice plugin named ClassInformer, but it just scans the vtbls/rtti, not importing...
Reply With Quote
Old 06-04-2020, 15:16
atom0s's Avatar
atom0s atom0s is offline
Join Date: Jan 2015
Posts: 278
Rept. Given: 24
Rept. Rcvd 102 Times in 48 Posts
Thanks Given: 43
Thanks Rcvd at 460 Times in 188 Posts
atom0s Reputation: 100-199 atom0s Reputation: 100-199
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.)

Personal Projects Site: https://atom0s.com
Reply With Quote
The Following User Says Thank You to atom0s For This Useful Post:
TQN (06-05-2020)
Old 06-05-2020, 13:14
TQN TQN is offline
Join Date: Apr 2003
Location: Vietnam
Posts: 281
Rept. Given: 122
Rept. Rcvd 10 Times in 8 Posts
Thanks Given: 39
Thanks Rcvd at 19 Times in 9 Posts
TQN Reputation: 10
@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.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT +8. The time now is 00:33.

Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2020 )