public interface

IDIE

com.pnfsoftware.jeb.core.units.codeobject.dwarf.IDIE
Known Indirect Subclasses

Class Overview

DWARF Debugging Information Entry

Summary

Public Methods
abstract IDIEAttribute getAttribute(Dwarf.DwarfAttribute attribute)
Retrieve an attribute
abstract IDIEAttribute getAttribute(String name)
Retrieve an attribute by its name
abstract String getAttributeName()
The attribute name DW_AT_name or null if none
abstract List<IDIEAttribute> getAttributes()
All attributes of this IDIE
abstract IDIE getChildAtOffset(long offset)
Retrieve the child at this offset
abstract List<? extends IDIE> getChildren()
All children of this IDIE
abstract IDwCompileUnit getCompileUnit()
Retrieve the parent Compile Unit
abstract 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
abstract String getNamespace()
Retrieve the full DW_TAG_namespace hierarchy, if any
abstract long getOffset()
Retrieve offset of this IDIE in the .debug_info section
abstract IDIE getParent()
The IDIE parent.
abstract IDIE getReference(IDIEAttribute attribute)
Retrieve the IDIE referenced by this attribute (if any).
abstract IDIE getSpecification()
Retrieve the specification of this IDIE.
abstract String getTagName()
Retrieve the tag name or hex value if unknown

Public Methods

public abstract IDIEAttribute getAttribute (Dwarf.DwarfAttribute attribute)

Retrieve an attribute

Returns
  • attribute

public abstract IDIEAttribute getAttribute (String name)

Retrieve an attribute by its name

Parameters
name attribute name see Dwarf.DwarfAttribute
Returns
  • attribute

public abstract String getAttributeName ()

The attribute name DW_AT_name or null if none

Returns
  • attribute name

public abstract List<IDIEAttribute> getAttributes ()

All attributes of this IDIE

Returns
  • attributes

public abstract IDIE getChildAtOffset (long offset)

Retrieve the child at this offset

Returns
  • IDIE

public abstract List<? extends IDIE> getChildren ()

All children of this IDIE

Returns
  • children

public abstract IDwCompileUnit getCompileUnit ()

Retrieve the parent Compile Unit

Returns
  • top hierarchy parent

public abstract 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

public abstract String getNamespace ()

Retrieve the full DW_TAG_namespace hierarchy, if any

Returns
  • namespace

public abstract long getOffset ()

Retrieve offset of this IDIE in the .debug_info section

Returns
  • offset

public abstract IDIE getParent ()

The IDIE parent.
null for root IDIE.

Returns
  • parent

public abstract IDIE getReference (IDIEAttribute attribute)

Retrieve the IDIE referenced by this attribute (if any).

Returns
  • real IDIE

public abstract IDIE getSpecification ()

Retrieve the specification of this IDIE.

Returns
  • real IDIE

public abstract String getTagName ()

Retrieve the tag name or hex value if unknown

Returns
  • tag name