Class DyldChainedPtr
- java.lang.Object
-
- ghidra.app.util.bin.format.macho.dyld.DyldChainedPtr
-
public class DyldChainedPtr extends java.lang.Object- See Also:
- mach-o/fixup-chains.h
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDyldChainedPtr.DyldChainType
-
Field Summary
Fields Modifier and Type Field Description static intDYLD_CHAINED_PTR_START_LASTstatic intDYLD_CHAINED_PTR_START_MULTIstatic intDYLD_CHAINED_PTR_START_NONE
-
Constructor Summary
Constructors Constructor Description DyldChainedPtr()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetAddend(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static longgetChainValue(Memory memory, Address chainLoc, DyldChainedPtr.DyldChainType ptrFormat)static longgetDiversity(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static longgetKey(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static longgetNext(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static longgetOrdinal(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static longgetStride(DyldChainedPtr.DyldChainType ptrFormat)static longgetTarget(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static booleanhasAddrDiversity(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static booleanisAuthenticated(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static booleanisBound(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)static voidsetChainValue(Memory memory, Address chainLoc, DyldChainedPtr.DyldChainType ptrFormat, long value)
-
-
-
Field Detail
-
DYLD_CHAINED_PTR_START_NONE
public static final int DYLD_CHAINED_PTR_START_NONE
- See Also:
- Constant Field Values
-
DYLD_CHAINED_PTR_START_MULTI
public static final int DYLD_CHAINED_PTR_START_MULTI
- See Also:
- Constant Field Values
-
DYLD_CHAINED_PTR_START_LAST
public static final int DYLD_CHAINED_PTR_START_LAST
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStride
public static long getStride(DyldChainedPtr.DyldChainType ptrFormat)
-
setChainValue
public static void setChainValue(Memory memory, Address chainLoc, DyldChainedPtr.DyldChainType ptrFormat, long value) throws MemoryAccessException
- Throws:
MemoryAccessException
-
getChainValue
public static long getChainValue(Memory memory, Address chainLoc, DyldChainedPtr.DyldChainType ptrFormat) throws MemoryAccessException
- Throws:
MemoryAccessException
-
isBound
public static boolean isBound(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
isAuthenticated
public static boolean isAuthenticated(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
getDiversity
public static long getDiversity(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
hasAddrDiversity
public static boolean hasAddrDiversity(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
getKey
public static long getKey(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
getTarget
public static long getTarget(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
getAddend
public static long getAddend(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
getOrdinal
public static long getOrdinal(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
getNext
public static long getNext(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
-
-