All Known Subinterfaces:
IDwCompileUnit

@Ser public interface IDIE
DWARF Debugging Information Entry
  • Method Details

    • getOffset

      long getOffset()
      Retrieve offset of this IDIE in the .debug_info section
      Returns:
      offset
    • getTagName

      String getTagName()
      Retrieve the tag name or hex value if unknown
      Returns:
      tag name
    • getAttributeName

      String getAttributeName()
      The attribute name DW_AT_name or null if none
      Returns:
      attribute name
    • getNamespace

      String getNamespace()
      Retrieve the full DW_TAG_namespace hierarchy, if any
      Returns:
      namespace
    • getFullName

      String getFullName()
      Retrieve the attribute name DW_AT_name preceded by its DW_TAG_namespace (DW_TAG_structure_type, DW_TAG_union_type, DW_TAG_class_type), if any
      Returns:
      full name
    • getParent

      IDIE getParent()
      The IDIE parent.
      null for root IDIE.
      Returns:
      parent
    • getChildren

      List<? extends IDIE> getChildren()
      All children of this IDIE
      Returns:
      children
    • getAttributes

      List<IDIEAttribute> getAttributes()
      All attributes of this IDIE
      Returns:
      attributes
    • getAttribute

      IDIEAttribute getAttribute(String name)
      Retrieve an attribute by its name
      Parameters:
      name - attribute name see Dwarf.DwarfAttribute
      Returns:
      attribute
    • getAttribute

      IDIEAttribute getAttribute(Dwarf.DwarfAttribute attribute)
      Retrieve an attribute
      Parameters:
      attribute -
      Returns:
      attribute
    • getChildAtOffset

      IDIE getChildAtOffset(long offset)
      Retrieve the child at this offset
      Parameters:
      offset -
      Returns:
      IDIE
    • getCompileUnit

      IDwCompileUnit getCompileUnit()
      Retrieve the parent Compile Unit
      Returns:
      top hierarchy parent
    • getReference

      IDIE getReference(IDIEAttribute attribute)
      Retrieve the IDIE referenced by this attribute (if any).
      Parameters:
      attribute -
      Returns:
      real IDIE
    • getSpecification

      IDIE getSpecification()
      Retrieve the specification of this IDIE.
      Returns:
      real IDIE