Package ghidra.app.cmd.data.rtti.gcc
Class VttModel
java.lang.Object
ghidra.app.cmd.data.rtti.gcc.VttModel
public class VttModel extends Object
-
Field Summary
Fields Modifier and Type Field Description static VttModel
INVALID
static String
SYMBOL_NAME
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object object)
Address
getAddress()
Gets the address of this VttModelGnuVtable[]
getConstructionVtableModels()
Gets the construction vtable models in this VttModelDataType
getDataType()
Gets the DataType for this VttModelint
getElementCount()
Gets the number of elements in this VttModelClassTypeInfo
getTypeInfo(int ordinal)
Gets the ClassTypeInfo at the specified ordinalVtable
getVtableModel(int ordinal)
Gets the Vtable at the specified ordinalint
hashCode()
boolean
isValid()
Checks if this VttModel is validString
toString()
-
Field Details
-
SYMBOL_NAME
- See Also:
- Constant Field Values
-
INVALID
-
-
Constructor Details
-
VttModel
Constructs a new VttModel- Parameters:
program
- the program containing the VttModeladdress
- the address of the VttModel
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getAddress
Gets the address of this VttModel- Returns:
- the address of this VttModel
-
isValid
public boolean isValid()Checks if this VttModel is valid- Returns:
- true if valid
-
getVtableModel
Gets the Vtable at the specified ordinal- Parameters:
ordinal
- the ordinal of the Vtable- Returns:
- the Vtable at the specified ordinal
-
getTypeInfo
Gets the ClassTypeInfo at the specified ordinal- Parameters:
ordinal
- the ordinal of the Vtable containing the ClassTypeInfo pointer- Returns:
- the ClassTypeInfo at the specified ordinal or null if none exists
- See Also:
Vtable.getTypeInfo()
-
getConstructionVtableModels
Gets the construction vtable models in this VttModel- Returns:
- the construction vtable models in this VttModel
-
getElementCount
public int getElementCount()Gets the number of elements in this VttModel- Returns:
- the number of VTable Table elements or 0 if invalid
-
getDataType
Gets the DataType for this VttModel- Returns:
- the DataType for this VttModel
-
toString
-