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.VtablePrefix
Nested 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_NAME
Fields inherited from class ghidra.program.database.DatabaseObject
key
Fields 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 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 tablesMethods inherited from class cppclassanalyzer.data.vtable.AbstractVtableDB
containsFunction, getAddress, getManager, getModelData, getProgram, getRecord, getTypeInfo, refresh, setClassKey
Methods inherited from class ghidra.program.database.DatabaseObject
checkDeleted, checkIsValid, checkIsValid, getKey, isDeleted, isInvalid, keyChanged, refresh, setInvalid, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:GnuVtable
Gets the ptrdiff_t value within the base offset array. -
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
-
getFunctionTables
Description copied from interface:Vtable
Gets the function tables in this vtable- Specified by:
getFunctionTables
in interfaceVtable
- Returns:
- this vtable's function tables
-
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
-