Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krystalgamer/dec2struct
Python plugin to easily setup vtables in IDA using declaration files
https://github.com/krystalgamer/dec2struct
Last synced: 3 months ago
JSON representation
Python plugin to easily setup vtables in IDA using declaration files
- Host: GitHub
- URL: https://github.com/krystalgamer/dec2struct
- Owner: krystalgamer
- Created: 2017-09-05T16:39:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-06T09:16:08.000Z (about 7 years ago)
- Last Synced: 2024-05-27T12:08:35.314Z (6 months ago)
- Language: Python
- Size: 72.3 KB
- Stars: 51
- Watchers: 7
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dec2struct
Python plugin to easily setup vtables in IDA using declaration filesUsing the class declaration/definition it automatically generates the vtables.
# How to use
Press Alt+F7 and run the script
Choose the file that contains the definition/declaration of the class
Now you can modify the type of the variable to the class
# ExampleWhile reversing the game I noticed g_pSteamClientGameServer is an instance of [ISteamClient](https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/steam/isteamclient.h)
So instead of creating the whole vtable by hand this plugin allows you to generate it.
I ran the plugin then changed the type of g_pSteamClientGameServer to ISteamClient(generated by the plugin).
## Before
![Before](https://raw.githubusercontent.com/krystalgamer/dec2struct/master/before.png)## After
![After](https://raw.githubusercontent.com/krystalgamer/dec2struct/master/after.png)