Package ghidra.app.cmd.data.rtti
Interface GnuVtable
- All Superinterfaces:
Vtable
- All Known Implementing Classes:
Vtable.InvalidVtable,VtableModel,VtableModelDB
public interface GnuVtable extends Vtable
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceGnuVtable.VtablePrefixNested classes/interfaces inherited from interface ghidra.app.cmd.data.rtti.Vtable
Vtable.InvalidVtable -
Field Summary
Fields Modifier and Type Field Description static StringPURE_VIRTUAL_FUNCTION_NAME -
Method Summary
Modifier and Type Method Description List<DataType>getDataTypes()Gets the DataTypes that compose this Vtabledefault intgetLength()longgetOffset(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 vtableMethods inherited from interface ghidra.app.cmd.data.rtti.Vtable
containsFunction, getAddress, getFunctionTables, getTableAddresses, getTypeInfo
-
Field Details
-
PURE_VIRTUAL_FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Method Details
-
getOffset
long getOffset(int index, int ordinal)Gets the ptrdiff_t value within the base offset array.- Parameters:
index- the index in the vtable_prefix array.ordinal- the offset ordinal.- Returns:
- the offset value.
-
getDataTypes
Gets the DataTypes that compose this Vtable- Returns:
- the list of DataTypes this Vtable is made of
-
getPrefixes
List<GnuVtable.VtablePrefix> getPrefixes()Gets the vtable prefixes that compose this vtable- Returns:
- the list of vtable prefixes
-
getLength
default int getLength()
-