New IDA VTable Script
Drifter and I were discussing making VTable reconstruction more accessible to beginners on IRC today, and the differences between GCC's and MSVC's ordering.
Over the last several hours, I've rewritten the well-known linux_vtable_dump IDC script in IDAPython, with the following changes:
It can be found in the SourceMod repo, here. The only downside to this script, is that due to using IDAPython, it's not compatible with IDA 5.0. I've also included my simple IDC script that attempts to help with making Windows signatures. Using it is easy, just place the cursor in a function and run the script, it'll dump a wildcarded signature to the output window. It's primarily intended for use during rapid development, although by extending and checking the wildcards, you can make the generated sig more robust for released projects. You can download it here. Just post in this thread if you run into any problems, now go forth and reverse engineer! |
Re: New IDA VTable Script
Nice job yet again!
|
Re: New IDA VTable Script
Already gave both scripts a try, very nice job! Example vtable output for the curious: CCSGameRules | CCSPlayer
Quote:
|
Re: New IDA VTable Script
Quote:
|
Re: New IDA VTable Script
You're awesome.
|
Re: New IDA VTable Script
The sigmaker, tried with about 5 different functions, just prints out the sig of the entire function. It doesn't attempt to shorten it at all.
|
Re: New IDA VTable Script
When attempting to dump CBaseClient for CS:GO I get these errors:
Code:
Inheritance Tree: |
Re: New IDA VTable Script
Quote:
Also, there was another update in the interim that I didn't mention in this thread, that adds support for RTTI trees and dumps MI vtables as well. |
Re: New IDA VTable Script
1 Attachment(s)
Noticed i'm using the attached script frequently too next to the vtable dumper, when searching for stuff.
The attached idc script lets you search for binary pattern in the gamedata formating. So just copy&paste the signature like "\x55\x8B\xEC\x83\xEC\x2A\x56\x8B\x75\x08\x8B \x06" right out of the gamedata file. |
Re: New IDA VTable Script
Any chance of this being updated to support vtables in Mac bins? (mainly looking for the MSVC vtable feature)
Definitely not an important request, but it would be neat to have for the situation Dota is in. |
All times are GMT -4. The time now is 14:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.