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 value, ornullif this fixup is unsupportedsize- The size of the fixup in bytessymbol- The symbol 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, String symbol, Integer libOrdinal)
extends Record
Stores information needed to perform a dyld pointer fixup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelibOrdinalrecord component.longoffset()Returns the value of theoffsetrecord component.intsize()Returns the value of thesizerecord component.symbol()Returns the value of thesymbolrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
DyldFixup
Creates an instance of aDyldFixuprecord class.- Parameters:
offset- the value for theoffsetrecord componentvalue- the value for thevaluerecord componentsize- the value for thesizerecord componentsymbol- the value for thesymbolrecord componentlibOrdinal- the value for thelibOrdinalrecord 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 theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
size
public int size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
symbol
Returns the value of thesymbolrecord component.- Returns:
- the value of the
symbolrecord component
-
libOrdinal
Returns the value of thelibOrdinalrecord component.- Returns:
- the value of the
libOrdinalrecord component
-