Package cppclassanalyzer.vs
Class VsVtableModel
java.lang.Object
cppclassanalyzer.vs.VsVtableModel
- All Implemented Interfaces:
Vtable
public class VsVtableModel extends Object 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 static String
PURE_VIRTUAL_FUNCTION_NAME
-
Constructor Summary
Constructors Constructor Description VsVtableModel(Program program, List<Address> addresses, RttiModelWrapper type)
-
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 vtableFunction[][]
getFunctionTables()
Gets the function tables in this vtableAddress[]
getTableAddresses()
Gets the addresses of this vtable's function tablesClassTypeInfo
getTypeInfo()
Returns the TypeInfo Model this vtable points toprotected List<ghidra.app.cmd.data.rtti.VfTableModel>
getVfTables()
int
getVirtualOffset(ghidra.app.cmd.data.rtti.Rtti1Model model)
-
Field Details
-
PURE_VIRTUAL_FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
VsVtableModel
-
-
Method Details
-
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
-
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
-
getVfTables
-
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
-
getVirtualOffset
public int getVirtualOffset(ghidra.app.cmd.data.rtti.Rtti1Model model) throws InvalidDataTypeException- Throws:
InvalidDataTypeException
-
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
-