Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2020, 17:45
jonwil jonwil is offline
VIP
 
Join Date: Feb 2004
Posts: 387
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 65 Times in 34 Posts
jonwil Reputation: 21
Automating definition of C++ classes/vtables in IDA?

I have a 3DS Max 8 plugin binary. I have a bunch of header files from the 3DS MAX 8 SDK that define classes (including their vtables) that are used by this plugin binary.

I have IDA Pro 7.0.170914.
Is there some way I can automate importing these header files into IDA in a way that defines the vtables and stuff? Using "Parse C Header File" doesn't work for these C++ headers. Using tilib.exe for that version of IDA pro fails with "not implemented yet" (the -P switch for C++ does say "not ready yet").

Is there something I can do here to import these into IDA without needing to do it all manually? Is there a newer version of tilib.exe that will work better but still outputs til files that IDA Pro 7.0 can read? Is there some other way to do it? Or am I stuck having to manually massage these things into IDA?
Reply With Quote
  #2  
Old 09-02-2020, 18:59
jonwil jonwil is offline
VIP
 
Join Date: Feb 2004
Posts: 387
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 65 Times in 34 Posts
jonwil Reputation: 21
I was actually able to get it working by taking a pdb file that contained the structures I was interested in and using tilib -p to import the types from that pdb. Its not so useful for vtables of derived classes but IDA in general (or at least the version I have) doesn't handle that properly anyway.
Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing C++ classes into Ghidra? jonwil General Discussion 3 06-05-2020 13:14
[Android] Dex Manager v1.1 - Designed To Play With Classes.dex Jasi2169 Community Tools 2 11-01-2017 03:00
Definition of Virus wilson bibe General Discussion 4 07-08-2013 18:04


All times are GMT +8. The time now is 18:05.


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