Record Class DyldFixup
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.macho.dyld.DyldFixup
- Record Components:
offset
- The offset of where to perform the fixup (from some base address/index)value
- The fixed up valuesize
- The size of the fixup in bytessymbol
- TheSymbol
associated with the fixup (could be null)libOrdinal
- The library ordinal associated with the fixup (could be null)
public record DyldFixup(long offset, long value, int size, Symbol symbol, Integer libOrdinal)
extends Record
Stores information needed to perform a dyld pointer fixup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelibOrdinal
record component.long
offset()
Returns the value of theoffset
record component.int
size()
Returns the value of thesize
record component.symbol()
Returns the value of thesymbol
record component.final String
toString()
Returns a string representation of this record class.long
value()
Returns the value of thevalue
record component.
-
Constructor Details
-
DyldFixup
Creates an instance of aDyldFixup
record class.- Parameters:
offset
- the value for theoffset
record componentvalue
- the value for thevalue
record componentsize
- the value for thesize
record componentsymbol
- the value for thesymbol
record componentlibOrdinal
- the value for thelibOrdinal
record component
-
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
offset
public long offset()Returns the value of theoffset
record component.- Returns:
- the value of the
offset
record component
-
value
public long value()Returns the value of thevalue
record component.- Returns:
- the value of the
value
record component
-
size
public int size()Returns the value of thesize
record component.- Returns:
- the value of the
size
record component
-
symbol
Returns the value of thesymbol
record component.- Returns:
- the value of the
symbol
record component
-
libOrdinal
Returns the value of thelibOrdinal
record component.- Returns:
- the value of the
libOrdinal
record component
-