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
  • Field Details

  • Method Details

    • getManager

      protected final ClassTypeInfoManagerDB getManager()
    • setClassKey

      public void setClassKey​(long key)
    • 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
    • getProgram

      public Program getProgram()
    • getRecord

      protected VtableRecord getRecord()
    • getModelData

      protected byte[] getModelData​(VtableRecord record)
    • 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
    • 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
    • refresh

      protected boolean refresh()
      Specified by:
      refresh in class DatabaseObject