devirtualize
devirtualize copied to clipboard
devirtualize
devirtualize is an IDA Pro plugin for handling C++ virtual functions. It works
like this:
devirtualizelocates and parses vtable information from the binary- It creates structures for the types associated with these tables
- The user goes to a function and sets a local variable to have one of these types
devirtualizeconverts all virtual calls using that variable to normal function calls
Because the user will often not know the exact type a variable should have,
devirtualize can also show inheritance hierarchies and families. It is likely
the user can determine which type family the variable belongs to.
Usage
Copy the "devirtualize" folder and "devirtualize_main.py" files to your IDA "plugins" directory. Execute the initial type construction with Edit->Plugins->Devirtualize. After this, virtual functions will be converted whenever the plugin is able.
Documentation
Documentation and additional usage info is available here