Package cppclassanalyzer.data.vtable
Class AbstractVtableDB
java.lang.Object
ghidra.program.database.DatabaseObject
cppclassanalyzer.data.vtable.AbstractVtableDB
- All Implemented Interfaces:
Vtable
- Direct Known Subclasses:
VftableDB,VtableModelDB
public abstract class AbstractVtableDB extends DatabaseObject implements Vtable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.app.cmd.data.rtti.Vtable
Vtable.InvalidVtable -
Field Summary
Fields Modifier and Type Field Description protected ProgramRttiRecordManagermanagerstatic StringVTABLE_TABLE_NAMEFields inherited from class ghidra.program.database.DatabaseObject
key -
Method Summary
Modifier and Type Method Description booleancontainsFunction(Function function)Checks if this vtable contains the specified functionAddressgetAddress()Gets the address of the start of the vtableprotected ClassTypeInfoManagerDBgetManager()protected byte[]getModelData(VtableRecord record)ProgramgetProgram()protected VtableRecordgetRecord()ClassTypeInfogetTypeInfo()Returns the TypeInfo Model this vtable points toprotected booleanrefresh()voidsetClassKey(long key)Methods 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
getFunctionTables, getTableAddresses
-
Field Details
-
VTABLE_TABLE_NAME
- See Also:
- Constant Field Values
-
manager
-
-
Method Details
-
getManager
-
setClassKey
public void setClassKey(long key) -
getAddress
Description copied from interface:VtableGets the address of the start of the vtable- Specified by:
getAddressin interfaceVtable- Returns:
- the address of the start of the vtable
-
getProgram
-
getRecord
-
getModelData
-
getTypeInfo
Description copied from interface:VtableReturns the TypeInfo Model this vtable points to- Specified by:
getTypeInfoin interfaceVtable- Returns:
- the pointed to TypeInfo Model
-
containsFunction
Description copied from interface:VtableChecks if this vtable contains the specified function- Specified by:
containsFunctionin interfaceVtable- Parameters:
function- the function to check for- Returns:
- true if this vtable contains the specified function
-
refresh
protected boolean refresh()- Specified by:
refreshin classDatabaseObject
-