Package ghidra.app.cmd.data.rtti
Class Vtable.InvalidVtable
java.lang.Object
ghidra.app.cmd.data.rtti.Vtable.InvalidVtable
- Enclosing interface:
- Vtable
public static class Vtable.InvalidVtable extends Object implements GnuVtable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.app.cmd.data.rtti.GnuVtable
GnuVtable.VtablePrefix
Nested classes/interfaces inherited from interface ghidra.app.cmd.data.rtti.Vtable
Vtable.InvalidVtable
-
Field Summary
Fields inherited from interface ghidra.app.cmd.data.rtti.GnuVtable
PURE_VIRTUAL_FUNCTION_NAME
-
Method Summary
Modifier and Type Method Description boolean
containsFunction(Function function)
Checks if this vtable contains the specified functionAddress
getAddress()
Gets the address of the start of the vtableList<DataType>
getDataTypes()
Gets the DataTypes that compose this VtableFunction[][]
getFunctionTables()
Gets the function tables in this vtablelong
getOffset(int index, int ordinal)
Gets the ptrdiff_t value within the base offset array.List<GnuVtable.VtablePrefix>
getPrefixes()
Gets the vtable prefixes that compose this vtableAddress[]
getTableAddresses()
Gets the addresses of this vtable's function tablesClassTypeInfo
getTypeInfo()
Returns the TypeInfo Model this vtable points to
-
Method Details
-
getTypeInfo
Description copied from interface:Vtable
Returns the TypeInfo Model this vtable points to- Specified by:
getTypeInfo
in interfaceVtable
- Returns:
- the pointed to TypeInfo Model
-
getTableAddresses
Description copied from interface:Vtable
Gets the addresses of this vtable's function tables- Specified by:
getTableAddresses
in interfaceVtable
- Returns:
- the addresses of this vtable's function tables
-
getAddress
Description copied from interface:Vtable
Gets the address of the start of the vtable- Specified by:
getAddress
in interfaceVtable
- Returns:
- the address of the start of the vtable
-
getFunctionTables
Description copied from interface:Vtable
Gets the function tables in this vtable- Specified by:
getFunctionTables
in interfaceVtable
- Returns:
- this vtable's function tables
-
containsFunction
Description copied from interface:Vtable
Checks if this vtable contains the specified function- Specified by:
containsFunction
in interfaceVtable
- Parameters:
function
- the function to check for- Returns:
- true if this vtable contains the specified function
-
getOffset
public long getOffset(int index, int ordinal)Description copied from interface:GnuVtable
Gets the ptrdiff_t value within the base offset array. -
getDataTypes
Description copied from interface:GnuVtable
Gets the DataTypes that compose this Vtable- Specified by:
getDataTypes
in interfaceGnuVtable
- Returns:
- the list of DataTypes this Vtable is made of
-
getPrefixes
Description copied from interface:GnuVtable
Gets the vtable prefixes that compose this vtable- Specified by:
getPrefixes
in interfaceGnuVtable
- Returns:
- the list of vtable prefixes
-