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 StringPURE_VIRTUAL_FUNCTION_NAME -
Constructor Summary
Constructors Constructor Description VsVtableModel(Program program, List<Address> addresses, RttiModelWrapper type) -
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 vtableFunction[][]getFunctionTables()Gets the function tables in this vtableAddress[]getTableAddresses()Gets the addresses of this vtable's function tablesClassTypeInfogetTypeInfo()Returns the TypeInfo Model this vtable points toprotected List<ghidra.app.cmd.data.rtti.VfTableModel>getVfTables()intgetVirtualOffset(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:VtableReturns the TypeInfo Model this vtable points to- Specified by:
getTypeInfoin interfaceVtable- Returns:
- the pointed to TypeInfo Model
-
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
-
getVfTables
-
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
-
getVirtualOffset
public int getVirtualOffset(ghidra.app.cmd.data.rtti.Rtti1Model model) throws InvalidDataTypeException- Throws:
InvalidDataTypeException
-
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
-