Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2020, 17:45
jonwil jonwil is online now
VIP
 
Join Date: Feb 2004
Posts: 338
Rept. Given: 2
Rept. Rcvd 19 Times in 7 Posts
Thanks Given: 1
Thanks Rcvd at 43 Times in 28 Posts
jonwil Reputation: 19
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 online now
VIP
 
Join Date: Feb 2004
Posts: 338
Rept. Given: 2
Rept. Rcvd 19 Times in 7 Posts
Thanks Given: 1
Thanks Rcvd at 43 Times in 28 Posts
jonwil Reputation: 19
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



All times are GMT +8. The time now is 15:29.


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