Record Class DWARFFormContext
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.dwarf.attribs.DWARFFormContext
- Record Components:
reader
-BinaryReader
compUnit
-DWARFCompilationUnit
def
-DWARFAttributeDef
public record DWARFFormContext(BinaryReader reader, DWARFCompilationUnit compUnit, DWARFAttributeDef<?> def)
extends Record
Context given to the
DWARFForm.readValue(DWARFFormContext)
method to enable it to
create DWARFAttributeValue
s.-
Constructor Summary
ConstructorDescriptionDWARFFormContext
(BinaryReader reader, DWARFCompilationUnit compUnit, DWARFAttributeDef<?> def) Creates an instance of aDWARFFormContext
record class. -
Method Summary
Modifier and TypeMethodDescriptioncompUnit()
Returns the value of thecompUnit
record component.def()
Returns the value of thedef
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.reader()
Returns the value of thereader
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
DWARFFormContext
public DWARFFormContext(BinaryReader reader, DWARFCompilationUnit compUnit, DWARFAttributeDef<?> def) Creates an instance of aDWARFFormContext
record class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
reader
Returns the value of thereader
record component.- Returns:
- the value of the
reader
record component
-
compUnit
Returns the value of thecompUnit
record component.- Returns:
- the value of the
compUnit
record component
-
def
Returns the value of thedef
record component.- Returns:
- the value of the
def
record component
-