Class VtableModelDB

All Implemented Interfaces:
GnuVtable, Vtable

public final class VtableModelDB
extends AbstractVtableDB
implements GnuVtable
  • Constructor Details

  • Method Details

    • getOffset

      public long getOffset​(int index, int ordinal)
      Description copied from interface: GnuVtable
      Gets the ptrdiff_t value within the base offset array.
      Specified by:
      getOffset in interface GnuVtable
      Parameters:
      index - the index in the vtable_prefix array.
      ordinal - the offset ordinal.
      Returns:
      the offset value.
    • 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
    • getDataTypes

      public List<DataType> getDataTypes()
      Description copied from interface: GnuVtable
      Gets the DataTypes that compose this Vtable
      Specified by:
      getDataTypes in interface GnuVtable
      Returns:
      the list of DataTypes this Vtable is made of
    • getPrefixes

      public List<GnuVtable.VtablePrefix> getPrefixes()
      Description copied from interface: GnuVtable
      Gets the vtable prefixes that compose this vtable
      Specified by:
      getPrefixes in interface GnuVtable
      Returns:
      the list of vtable prefixes