Class VsVtableModel

java.lang.Object
cppclassanalyzer.vs.VsVtableModel
All Implemented Interfaces:
Vtable

public class VsVtableModel
extends Object
implements Vtable
  • Field Details

  • Constructor Details

  • Method Details

    • getTypeInfo

      public ClassTypeInfo getTypeInfo()
      Description copied from interface: Vtable
      Returns the TypeInfo Model this vtable points to
      Specified by:
      getTypeInfo in interface Vtable
      Returns:
      the pointed to TypeInfo Model
    • getTableAddresses

      public Address[] getTableAddresses()
      Description copied from interface: Vtable
      Gets the addresses of this vtable's function tables
      Specified by:
      getTableAddresses in interface Vtable
      Returns:
      the addresses of this vtable's function tables
    • getFunctionTables

      public Function[][] getFunctionTables()
      Description copied from interface: Vtable
      Gets the function tables in this vtable
      Specified by:
      getFunctionTables in interface Vtable
      Returns:
      this vtable's function tables
    • getVfTables

      protected List<ghidra.app.cmd.data.rtti.VfTableModel> getVfTables()
    • containsFunction

      public boolean containsFunction​(Function function)
      Description copied from interface: Vtable
      Checks if this vtable contains the specified function
      Specified by:
      containsFunction in interface Vtable
      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

      public Address getAddress()
      Description copied from interface: Vtable
      Gets the address of the start of the vtable
      Specified by:
      getAddress in interface Vtable
      Returns:
      the address of the start of the vtable