Class DWARFAttribute.AttrDef
java.lang.Object
ghidra.app.util.bin.format.dwarf.attribs.DWARFAttributeDef<DWARFAttribute>
ghidra.app.util.bin.format.dwarf.attribs.DWARFAttribute.AttrDef
- Enclosing class:
DWARFAttribute
Represents how a specific DWARF attribute is stored in a DIE record.
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.dwarf.attribs.DWARFAttributeDef
attributeForm, attributeId, implicitValue, rawAttributeId
-
Constructor Summary
ConstructorDescriptionAttrDef
(DWARFAttribute attributeId, int rawAttributeId, DWARFForm attributeForm, long implicitValue) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
static DWARFAttribute.AttrDef
read
(BinaryReader reader) Reads aDWARFAttribute.AttrDef
instance from thereader
.Methods inherited from class ghidra.app.util.bin.format.dwarf.attribs.DWARFAttributeDef
equals, getAttributeForm, getAttributeId, getAttributeName, getImplicitValue, getRawAttributeId, hashCode, isImplicit, read, toString
-
Constructor Details
-
AttrDef
public AttrDef(DWARFAttribute attributeId, int rawAttributeId, DWARFForm attributeForm, long implicitValue)
-
-
Method Details
-
read
Reads aDWARFAttribute.AttrDef
instance from thereader
.Returns a null if its a end-of-list marker.
- Parameters:
reader
-BinaryReader
abbr stream- Returns:
- new
DWARFAttribute.AttrDef
, or null if end-of-list - Throws:
IOException
- if error reading
-
getRawAttributeIdDescription
- Overrides:
getRawAttributeIdDescription
in classDWARFAttributeDef<DWARFAttribute>
-
withForm
- Overrides:
withForm
in classDWARFAttributeDef<DWARFAttribute>
-