Class DWARFNumericAttribute

java.lang.Object
ghidra.app.util.bin.format.dwarf4.attribs.DWARFNumericAttribute
All Implemented Interfaces:
DWARFAttributeValue
Direct Known Subclasses:
DWARFAmbigNumericAttribute

public class DWARFNumericAttribute extends Object implements DWARFAttributeValue
DWARF numeric attribute.

Use this class instead of DWARFAmbigNumericAttribute when the signed-ness of the raw value is known when deserializing the attribute from a stream.

Use DWARFAmbigNumericAttribute when the signed-ness of the raw value is only know to the code that is using the attribute value.

  • Field Details

    • value

      protected final long value
  • Constructor Details

    • DWARFNumericAttribute

      public DWARFNumericAttribute(long value)
  • Method Details

    • getValue

      public long getValue()
    • getUnsignedValue

      public long getUnsignedValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object