retdec
Public Member Functions | Public Attributes | List of all members
retdec::rtti_finder::VtableGcc Class Reference

#include <vtable_gcc.h>

Inheritance diagram for retdec::rtti_finder::VtableGcc:
Inheritance graph
[legend]
Collaboration diagram for retdec::rtti_finder::VtableGcc:
Collaboration graph
[legend]

Public Member Functions

 VtableGcc (retdec::common::Address a)
 
- Public Member Functions inherited from retdec::common::Vtable
 Vtable (const retdec::common::Address &a=retdec::common::Address::Undefined)
 
bool operator< (const Vtable &o) const
 
bool operator== (const Vtable &o) const
 
void setAddress (const retdec::common::Address &a)
 
void setName (const std::string &n)
 
retdec::common::Address getId () const
 
retdec::common::Address getAddress () const
 
std::string getName () const
 

Public Attributes

std::vector< int > vcallOffsets
 TODO: not set/used right now. More...
 
std::vector< int > vbaseOffsets
 TODO: not set/used right now. More...
 
int topOffset = 0
 TODO: not set/used right now. More...
 
retdec::common::Address rttiAddress
 
std::shared_ptr< ClassTypeInfortti
 
- Public Attributes inherited from retdec::common::Vtable
std::set< VtableItemitems
 

Detailed Description

gcc&clang virtual table sturcture ( [] means array of entries ):

[virtual call (vcall) offsets] [virtual base (vbase) offsets] offset to top typeinfo (RTTI) pointer [virtual function pointers] <- vtable address in instances points here

Constructor & Destructor Documentation

◆ VtableGcc()

retdec::rtti_finder::VtableGcc::VtableGcc ( retdec::common::Address  a)
inline

Member Data Documentation

◆ rtti

std::shared_ptr<ClassTypeInfo> retdec::rtti_finder::VtableGcc::rtti

◆ rttiAddress

retdec::common::Address retdec::rtti_finder::VtableGcc::rttiAddress

◆ topOffset

int retdec::rtti_finder::VtableGcc::topOffset = 0

TODO: not set/used right now.

◆ vbaseOffsets

std::vector<int> retdec::rtti_finder::VtableGcc::vbaseOffsets

TODO: not set/used right now.

◆ vcallOffsets

std::vector<int> retdec::rtti_finder::VtableGcc::vcallOffsets

TODO: not set/used right now.


The documentation for this class was generated from the following file: