Class DWARFAttributeSpecification
- java.lang.Object
-
- ghidra.app.util.bin.format.dwarf4.DWARFAttributeSpecification
-
public class DWARFAttributeSpecification extends java.lang.ObjectInformation about a single DWARF attribute.
-
-
Constructor Summary
Constructors Constructor Description DWARFAttributeSpecification(int attribute, DWARFForm attributeForm)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetAttribute()Get the attribute of the attribute specification.DWARFFormgetAttributeForm()Get the form of the attribute specification.inthashCode()static DWARFAttributeSpecificationread(BinaryReader reader)Reads aDWARFAttributeSpecificationinstance from thereader.java.lang.StringtoString()
-
-
-
Constructor Detail
-
DWARFAttributeSpecification
public DWARFAttributeSpecification(int attribute, DWARFForm attributeForm)
-
-
Method Detail
-
read
public static DWARFAttributeSpecification read(BinaryReader reader) throws java.io.IOException
Reads aDWARFAttributeSpecificationinstance from thereader.Returns a null if its a end-of-list marker.
- Parameters:
reader-- Returns:
- Throws:
java.io.IOException
-
getAttribute
public int getAttribute()
Get the attribute of the attribute specification.- Returns:
- the attribute value
-
getAttributeForm
public DWARFForm getAttributeForm()
Get the form of the attribute specification.- Returns:
- the form value
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-