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 ProgramRttiRecordManager
manager
static String
VTABLE_TABLE_NAME
Fields inherited from class ghidra.program.database.DatabaseObject
key
-
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 vtableprotected ClassTypeInfoManagerDB
getManager()
protected byte[]
getModelData(VtableRecord record)
Program
getProgram()
protected VtableRecord
getRecord()
ClassTypeInfo
getTypeInfo()
Returns the TypeInfo Model this vtable points toprotected boolean
refresh()
void
setClassKey(long key)
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
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:Vtable
Gets the address of the start of the vtable- Specified by:
getAddress
in interfaceVtable
- Returns:
- the address of the start of the vtable
-
getProgram
-
getRecord
-
getModelData
-
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
-
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
-
refresh
protected boolean refresh()- Specified by:
refresh
in classDatabaseObject
-