Class DWARFAttributeSpecification
- java.lang.Object
-
- ghidra.app.util.bin.format.dwarf4.DWARFAttributeSpecification
-
public class DWARFAttributeSpecification extends java.lang.Object
Information 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 boolean
equals(java.lang.Object obj)
int
getAttribute()
Get the attribute of the attribute specification.DWARFForm
getAttributeForm()
Get the form of the attribute specification.int
hashCode()
static DWARFAttributeSpecification
read(BinaryReader reader)
Reads aDWARFAttributeSpecification
instance from thereader
.java.lang.String
toString()
-
-
-
Constructor Detail
-
DWARFAttributeSpecification
public DWARFAttributeSpecification(int attribute, DWARFForm attributeForm)
-
-
Method Detail
-
read
public static DWARFAttributeSpecification read(BinaryReader reader) throws java.io.IOException
Reads aDWARFAttributeSpecification
instance 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:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-