Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
Link between vftable types and addresses

Functions

idaman ea_t ida_export get_vftable_ea (uint32 ordinal)
 Get address of a virtual function table. More...
 
idaman uint32 ida_export get_vftable_ordinal (ea_t vftable_ea)
 Get ordinal number of the virtual function table. More...
 
idaman bool ida_export set_vftable_ea (uint32 ordinal, ea_t vftable_ea)
 Set the address of a vftable instance for a vftable type. More...
 
bool del_vftable_ea (uint32 ordinal)
 Delete the address of a vftable instance for a vftable type. More...
 

Detailed Description

Function Documentation

◆ get_vftable_ea()

idaman ea_t ida_export get_vftable_ea ( uint32  ordinal)

Get address of a virtual function table.

Parameters
ordinalordinal number of a vftable type.
Returns
address of the corresponding virtual function table in the current database.

◆ get_vftable_ordinal()

idaman uint32 ida_export get_vftable_ordinal ( ea_t  vftable_ea)

Get ordinal number of the virtual function table.

Parameters
vftable_eaaddress of a virtual function table.
Returns
ordinal number of the corresponding vftable type. 0 - failure.

◆ set_vftable_ea()

idaman bool ida_export set_vftable_ea ( uint32  ordinal,
ea_t  vftable_ea 
)

Set the address of a vftable instance for a vftable type.

Parameters
vftable_eaaddress of a virtual function table.
ordinalordinal number of the corresponding vftable type.
Returns
success

◆ del_vftable_ea()

bool del_vftable_ea ( uint32  ordinal)
inline

Delete the address of a vftable instance for a vftable type.

Parameters
ordinalordinal number of a vftable type.
Returns
success