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 class
DyldChainedPtr.DyldChainType
-
Field Summary
Fields Modifier and Type Field Description static int
DYLD_CHAINED_PTR_START_LAST
static int
DYLD_CHAINED_PTR_START_MULTI
static int
DYLD_CHAINED_PTR_START_NONE
-
Constructor Summary
Constructors Constructor Description DyldChainedPtr()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
getAddend(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static long
getChainValue(Memory memory, Address chainLoc, DyldChainedPtr.DyldChainType ptrFormat)
static long
getDiversity(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static long
getKey(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static long
getNext(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static long
getOrdinal(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static long
getStride(DyldChainedPtr.DyldChainType ptrFormat)
static long
getTarget(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static boolean
hasAddrDiversity(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static boolean
isAuthenticated(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static boolean
isBound(DyldChainedPtr.DyldChainType ptrFormat, long chainValue)
static void
setChainValue(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)
-
-