Package cppclassanalyzer.data.vtable
Class VtableModelDB
java.lang.Object
ghidra.program.database.DatabaseObject
cppclassanalyzer.data.vtable.AbstractVtableDB
cppclassanalyzer.data.vtable.VtableModelDB
public final class VtableModelDB extends AbstractVtableDB implements GnuVtable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.app.cmd.data.rtti.GnuVtable
GnuVtable.VtablePrefixNested classes/interfaces inherited from interface ghidra.app.cmd.data.rtti.Vtable
Vtable.InvalidVtable -
Field Summary
Fields inherited from class cppclassanalyzer.data.vtable.AbstractVtableDB
manager, VTABLE_TABLE_NAMEFields inherited from class ghidra.program.database.DatabaseObject
keyFields inherited from interface ghidra.app.cmd.data.rtti.GnuVtable
PURE_VIRTUAL_FUNCTION_NAME -
Constructor Summary
Constructors Constructor Description VtableModelDB(ProgramRttiRecordManager worker, ArchivedGnuVtable vtable, VtableRecord record)VtableModelDB(ProgramRttiRecordManager worker, VtableRecord record)VtableModelDB(ProgramRttiRecordManager worker, GnuVtable vtable, VtableRecord record) -
Method Summary
Modifier and Type Method Description List<DataType>getDataTypes()Gets the DataTypes that compose this VtableFunction[][]getFunctionTables()Gets the function tables in this vtablelonggetOffset(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 tablesMethods inherited from class cppclassanalyzer.data.vtable.AbstractVtableDB
containsFunction, getAddress, getManager, getModelData, getProgram, getRecord, getTypeInfo, refresh, setClassKeyMethods inherited from class ghidra.program.database.DatabaseObject
checkDeleted, checkIsValid, checkIsValid, getKey, isDeleted, isInvalid, keyChanged, refresh, setInvalid, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.app.cmd.data.rtti.Vtable
containsFunction, getAddress, getTypeInfo
-
Constructor Details
-
VtableModelDB
-
VtableModelDB
-
VtableModelDB
public VtableModelDB(ProgramRttiRecordManager worker, ArchivedGnuVtable vtable, VtableRecord record)
-
-
Method Details
-
getOffset
public long getOffset(int index, int ordinal)Description copied from interface:GnuVtableGets the ptrdiff_t value within the base offset array. -
getTableAddresses
Description copied from interface:VtableGets the addresses of this vtable's function tables- Specified by:
getTableAddressesin interfaceVtable- Returns:
- the addresses of this vtable's function tables
-
getFunctionTables
Description copied from interface:VtableGets the function tables in this vtable- Specified by:
getFunctionTablesin interfaceVtable- Returns:
- this vtable's function tables
-
getDataTypes
Description copied from interface:GnuVtableGets the DataTypes that compose this Vtable- Specified by:
getDataTypesin interfaceGnuVtable- Returns:
- the list of DataTypes this Vtable is made of
-
getPrefixes
Description copied from interface:GnuVtableGets the vtable prefixes that compose this vtable- Specified by:
getPrefixesin interfaceGnuVtable- Returns:
- the list of vtable prefixes
-