Documentation
¶
Index ¶
- Variables
- func DcpArm64eIsAuth(ptr uint64) bool
- func DcpArm64eIsBind(ptr uint64) bool
- func DcpArm64eIsRebase(ptr uint64) bool
- func DcpArm64eNext(ptr uint64) uint64
- func Generic32IsBind(ptr uint32) bool
- func Generic32Next(ptr uint32) uint64
- func Generic64IsBind(ptr uint64) bool
- func Generic64Next(ptr uint64) uint64
- func KeyName(keyVal uint64) string
- func PointerSize(pointerFormat DCPtrKind) int
- func Stride(pointerFormat DCPtrKind) (uint64, bool)
- type Auth
- type Bind
- type DCPtrKind
- type DCPtrStart
- type DCSymbolsFormat
- type DcfImport
- type DyldChainedFixups
- func (dcf *DyldChainedFixups) EnsureImports() error
- func (dcf *DyldChainedFixups) GetAuthRebase(targetOffset uint64) (Auth, bool)
- func (dcf *DyldChainedFixups) GetFixupAtOffset(offset uint64) (Fixup, error)
- func (dcf *DyldChainedFixups) IsBind(addr uint64) (*DcfImport, int64, bool)
- func (dcf *DyldChainedFixups) IsRebase(addr, preferredLoadAddress uint64) (uint64, bool)
- func (dcf *DyldChainedFixups) LookupByOffset(fileOffset uint64) (Fixup, bool)
- func (dcf *DyldChainedFixups) LookupByTarget(targetOffset uint64) []Fixup
- func (dcf *DyldChainedFixups) Parse() (*DyldChainedFixups, error)
- func (dcf *DyldChainedFixups) ParseStarts() error
- func (dcf *DyldChainedFixups) PointerFormatForOffset(offset uint64) (DCPtrKind, error)
- func (dcf *DyldChainedFixups) Rebase(offset uint64, preferredLoadAddress uint64) (uint64, error)
- func (dcf *DyldChainedFixups) RebaseRaw(offset uint64, raw uint64, preferredLoadAddress uint64) (uint64, error)
- func (dcf *DyldChainedFixups) ResetSegmentIndex()
- type DyldChainedFixupsHeader
- type DyldChainedImport
- type DyldChainedImport64
- type DyldChainedImportAddend
- type DyldChainedImportAddend64
- type DyldChainedPtr32Bind
- func (d DyldChainedPtr32Bind) Addend() uint64
- func (d DyldChainedPtr32Bind) Bind() uint32
- func (d DyldChainedPtr32Bind) IsBind() bool
- func (d DyldChainedPtr32Bind) IsRebase() bool
- func (d DyldChainedPtr32Bind) Kind() string
- func (d DyldChainedPtr32Bind) Name() string
- func (d DyldChainedPtr32Bind) Next() uint32
- func (d DyldChainedPtr32Bind) Offset() uint64
- func (d DyldChainedPtr32Bind) Ordinal() uint64
- func (d DyldChainedPtr32Bind) Raw() uint64
- func (d DyldChainedPtr32Bind) String(baseAddr ...uint64) string
- type DyldChainedPtr32CacheRebase
- func (d DyldChainedPtr32CacheRebase) IsBind() bool
- func (d DyldChainedPtr32CacheRebase) IsRebase() bool
- func (d DyldChainedPtr32CacheRebase) Kind() string
- func (d DyldChainedPtr32CacheRebase) Next() uint32
- func (d DyldChainedPtr32CacheRebase) Offset() uint64
- func (d DyldChainedPtr32CacheRebase) Raw() uint64
- func (d DyldChainedPtr32CacheRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtr32CacheRebase) Target() uint64
- type DyldChainedPtr32FirmwareRebase
- func (d DyldChainedPtr32FirmwareRebase) IsBind() bool
- func (d DyldChainedPtr32FirmwareRebase) IsRebase() bool
- func (d DyldChainedPtr32FirmwareRebase) Kind() string
- func (d DyldChainedPtr32FirmwareRebase) Next() uint32
- func (d DyldChainedPtr32FirmwareRebase) Offset() uint64
- func (d DyldChainedPtr32FirmwareRebase) Raw() uint64
- func (d DyldChainedPtr32FirmwareRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtr32FirmwareRebase) Target() uint64
- type DyldChainedPtr32Rebase
- func (d DyldChainedPtr32Rebase) Bind() uint32
- func (d DyldChainedPtr32Rebase) IsBind() bool
- func (d DyldChainedPtr32Rebase) IsRebase() bool
- func (d DyldChainedPtr32Rebase) Kind() string
- func (d DyldChainedPtr32Rebase) Next() uint32
- func (d DyldChainedPtr32Rebase) Offset() uint64
- func (d DyldChainedPtr32Rebase) Raw() uint64
- func (d DyldChainedPtr32Rebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtr32Rebase) Target() uint64
- type DyldChainedPtr64Bind
- func (d DyldChainedPtr64Bind) Addend() uint64
- func (d DyldChainedPtr64Bind) Bind() uint64
- func (d DyldChainedPtr64Bind) IsBind() bool
- func (d DyldChainedPtr64Bind) IsRebase() bool
- func (d DyldChainedPtr64Bind) Kind() string
- func (d DyldChainedPtr64Bind) Name() string
- func (d DyldChainedPtr64Bind) Next() uint64
- func (d DyldChainedPtr64Bind) Offset() uint64
- func (d DyldChainedPtr64Bind) Ordinal() uint64
- func (d DyldChainedPtr64Bind) Raw() uint64
- func (d DyldChainedPtr64Bind) Reserved() uint64
- func (d DyldChainedPtr64Bind) String(baseAddr ...uint64) string
- type DyldChainedPtr64KernelCacheRebase
- func (d DyldChainedPtr64KernelCacheRebase) AddrDiv() uint64
- func (d DyldChainedPtr64KernelCacheRebase) CacheLevel() uint64
- func (d DyldChainedPtr64KernelCacheRebase) Diversity() uint64
- func (d DyldChainedPtr64KernelCacheRebase) IsAuth() uint64
- func (d DyldChainedPtr64KernelCacheRebase) IsBind() bool
- func (d DyldChainedPtr64KernelCacheRebase) IsRebase() bool
- func (d DyldChainedPtr64KernelCacheRebase) Key() uint64
- func (d DyldChainedPtr64KernelCacheRebase) Kind() string
- func (d DyldChainedPtr64KernelCacheRebase) Next() uint64
- func (d DyldChainedPtr64KernelCacheRebase) Offset() uint64
- func (d DyldChainedPtr64KernelCacheRebase) Raw() uint64
- func (d DyldChainedPtr64KernelCacheRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtr64KernelCacheRebase) Target() uint64
- type DyldChainedPtr64Rebase
- func (d DyldChainedPtr64Rebase) Bind() uint64
- func (d DyldChainedPtr64Rebase) High8() uint64
- func (d DyldChainedPtr64Rebase) IsBind() bool
- func (d DyldChainedPtr64Rebase) IsRebase() bool
- func (d DyldChainedPtr64Rebase) Kind() string
- func (d DyldChainedPtr64Rebase) Next() uint64
- func (d DyldChainedPtr64Rebase) Offset() uint64
- func (d DyldChainedPtr64Rebase) Raw() uint64
- func (d DyldChainedPtr64Rebase) Reserved() uint64
- func (d DyldChainedPtr64Rebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtr64Rebase) Target() uint64
- func (d DyldChainedPtr64Rebase) UnpackedTarget() uint64
- type DyldChainedPtr64RebaseOffset
- func (d DyldChainedPtr64RebaseOffset) Bind() uint64
- func (d DyldChainedPtr64RebaseOffset) High8() uint64
- func (d DyldChainedPtr64RebaseOffset) IsBind() bool
- func (d DyldChainedPtr64RebaseOffset) IsRebase() bool
- func (d DyldChainedPtr64RebaseOffset) Kind() string
- func (d DyldChainedPtr64RebaseOffset) Next() uint64
- func (d DyldChainedPtr64RebaseOffset) Offset() uint64
- func (d DyldChainedPtr64RebaseOffset) Raw() uint64
- func (d DyldChainedPtr64RebaseOffset) Reserved() uint64
- func (d DyldChainedPtr64RebaseOffset) String(baseAddr ...uint64) string
- func (d DyldChainedPtr64RebaseOffset) Target() uint64
- func (d DyldChainedPtr64RebaseOffset) UnpackedTarget() uint64
- type DyldChainedPtrArm64eAuthBind
- func (d DyldChainedPtrArm64eAuthBind) Addend() uint64
- func (d DyldChainedPtrArm64eAuthBind) AddrDiv() uint64
- func (d DyldChainedPtrArm64eAuthBind) Auth() uint64
- func (d DyldChainedPtrArm64eAuthBind) Bind() uint64
- func (d DyldChainedPtrArm64eAuthBind) Diversity() uint64
- func (d DyldChainedPtrArm64eAuthBind) IsBind() bool
- func (d DyldChainedPtrArm64eAuthBind) IsRebase() bool
- func (d DyldChainedPtrArm64eAuthBind) Key() uint64
- func (d DyldChainedPtrArm64eAuthBind) Kind() string
- func (d DyldChainedPtrArm64eAuthBind) Name() string
- func (d DyldChainedPtrArm64eAuthBind) Next() uint64
- func (d DyldChainedPtrArm64eAuthBind) Offset() uint64
- func (d DyldChainedPtrArm64eAuthBind) Ordinal() uint64
- func (d DyldChainedPtrArm64eAuthBind) Raw() uint64
- func (d DyldChainedPtrArm64eAuthBind) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eAuthBind) Zero() uint64
- type DyldChainedPtrArm64eAuthBind24
- func (d DyldChainedPtrArm64eAuthBind24) Addend() uint64
- func (d DyldChainedPtrArm64eAuthBind24) AddrDiv() uint64
- func (d DyldChainedPtrArm64eAuthBind24) Auth() uint64
- func (d DyldChainedPtrArm64eAuthBind24) Bind() uint64
- func (d DyldChainedPtrArm64eAuthBind24) Diversity() uint64
- func (d DyldChainedPtrArm64eAuthBind24) IsBind() bool
- func (d DyldChainedPtrArm64eAuthBind24) IsRebase() bool
- func (d DyldChainedPtrArm64eAuthBind24) Key() uint64
- func (d DyldChainedPtrArm64eAuthBind24) Kind() string
- func (d DyldChainedPtrArm64eAuthBind24) Name() string
- func (d DyldChainedPtrArm64eAuthBind24) Next() uint64
- func (d DyldChainedPtrArm64eAuthBind24) Offset() uint64
- func (d DyldChainedPtrArm64eAuthBind24) Ordinal() uint64
- func (d DyldChainedPtrArm64eAuthBind24) Raw() uint64
- func (d DyldChainedPtrArm64eAuthBind24) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eAuthBind24) Zero() uint64
- type DyldChainedPtrArm64eAuthRebase
- func (d DyldChainedPtrArm64eAuthRebase) AddrDiv() uint64
- func (d DyldChainedPtrArm64eAuthRebase) Auth() uint64
- func (d DyldChainedPtrArm64eAuthRebase) Bind() uint64
- func (d DyldChainedPtrArm64eAuthRebase) Diversity() uint64
- func (d DyldChainedPtrArm64eAuthRebase) IsBind() bool
- func (d DyldChainedPtrArm64eAuthRebase) IsRebase() bool
- func (d DyldChainedPtrArm64eAuthRebase) Key() uint64
- func (d DyldChainedPtrArm64eAuthRebase) Kind() string
- func (d DyldChainedPtrArm64eAuthRebase) Next() uint64
- func (d DyldChainedPtrArm64eAuthRebase) Offset() uint64
- func (d DyldChainedPtrArm64eAuthRebase) Raw() uint64
- func (d DyldChainedPtrArm64eAuthRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eAuthRebase) Target() uint64
- type DyldChainedPtrArm64eAuthSegmentedRebase
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) AddrDiv() uint64
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) Auth() uint64
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) Diversity() uint64
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) IsBind() bool
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) IsRebase() bool
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) Key() uint64
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) Kind() string
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) Next() uint64
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) Offset() uint64
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) Raw() uint64
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) SegIndex() uint64
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eAuthSegmentedRebase) Target() uint64
- type DyldChainedPtrArm64eBind
- func (d DyldChainedPtrArm64eBind) Addend() uint64
- func (d DyldChainedPtrArm64eBind) Auth() uint64
- func (d DyldChainedPtrArm64eBind) Bind() uint64
- func (d DyldChainedPtrArm64eBind) IsBind() bool
- func (d DyldChainedPtrArm64eBind) IsRebase() bool
- func (d DyldChainedPtrArm64eBind) Kind() string
- func (d DyldChainedPtrArm64eBind) Name() string
- func (d DyldChainedPtrArm64eBind) Next() uint64
- func (d DyldChainedPtrArm64eBind) Offset() uint64
- func (d DyldChainedPtrArm64eBind) Ordinal() uint64
- func (d DyldChainedPtrArm64eBind) Raw() uint64
- func (d DyldChainedPtrArm64eBind) SignExtendedAddend() int64
- func (d DyldChainedPtrArm64eBind) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eBind) Zero() uint64
- type DyldChainedPtrArm64eBind24
- func (d DyldChainedPtrArm64eBind24) Addend() uint64
- func (d DyldChainedPtrArm64eBind24) Auth() uint64
- func (d DyldChainedPtrArm64eBind24) Bind() uint64
- func (d DyldChainedPtrArm64eBind24) IsBind() bool
- func (d DyldChainedPtrArm64eBind24) IsRebase() bool
- func (d DyldChainedPtrArm64eBind24) Kind() string
- func (d DyldChainedPtrArm64eBind24) Name() string
- func (d DyldChainedPtrArm64eBind24) Next() uint64
- func (d DyldChainedPtrArm64eBind24) Offset() uint64
- func (d DyldChainedPtrArm64eBind24) Ordinal() uint64
- func (d DyldChainedPtrArm64eBind24) Raw() uint64
- func (d DyldChainedPtrArm64eBind24) SignExtendedAddend() int64
- func (d DyldChainedPtrArm64eBind24) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eBind24) Zero() uint64
- type DyldChainedPtrArm64eRebase
- func (d DyldChainedPtrArm64eRebase) Auth() uint64
- func (d DyldChainedPtrArm64eRebase) Bind() uint64
- func (d DyldChainedPtrArm64eRebase) High8() uint64
- func (d DyldChainedPtrArm64eRebase) IsBind() bool
- func (d DyldChainedPtrArm64eRebase) IsRebase() bool
- func (d DyldChainedPtrArm64eRebase) Kind() string
- func (d DyldChainedPtrArm64eRebase) Next() uint64
- func (d DyldChainedPtrArm64eRebase) Offset() uint64
- func (d DyldChainedPtrArm64eRebase) Raw() uint64
- func (d DyldChainedPtrArm64eRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eRebase) Target() uint64
- func (d DyldChainedPtrArm64eRebase) UnpackTarget() uint64
- type DyldChainedPtrArm64eSegmentedRebase
- func (d DyldChainedPtrArm64eSegmentedRebase) Auth() uint64
- func (d DyldChainedPtrArm64eSegmentedRebase) IsBind() bool
- func (d DyldChainedPtrArm64eSegmentedRebase) IsRebase() bool
- func (d DyldChainedPtrArm64eSegmentedRebase) Kind() string
- func (d DyldChainedPtrArm64eSegmentedRebase) Next() uint64
- func (d DyldChainedPtrArm64eSegmentedRebase) Offset() uint64
- func (d DyldChainedPtrArm64eSegmentedRebase) Raw() uint64
- func (d DyldChainedPtrArm64eSegmentedRebase) SegIndex() uint64
- func (d DyldChainedPtrArm64eSegmentedRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eSegmentedRebase) Target() uint64
- type DyldChainedPtrArm64eSharedCacheAuthRebase
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) AddrDiv() uint64
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Auth() uint64
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Diversity() uint64
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) IsBind() bool
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) IsDataKey() bool
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) IsRebase() bool
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Key() uint64
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Kind() string
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Next() uint64
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Offset() uint64
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Raw() uint64
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Target() uint64
- type DyldChainedPtrArm64eSharedCacheRebase
- func (d DyldChainedPtrArm64eSharedCacheRebase) Auth() uint64
- func (d DyldChainedPtrArm64eSharedCacheRebase) High8() uint64
- func (d DyldChainedPtrArm64eSharedCacheRebase) IsBind() bool
- func (d DyldChainedPtrArm64eSharedCacheRebase) IsRebase() bool
- func (d DyldChainedPtrArm64eSharedCacheRebase) Kind() string
- func (d DyldChainedPtrArm64eSharedCacheRebase) Next() uint64
- func (d DyldChainedPtrArm64eSharedCacheRebase) Offset() uint64
- func (d DyldChainedPtrArm64eSharedCacheRebase) Raw() uint64
- func (d DyldChainedPtrArm64eSharedCacheRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eSharedCacheRebase) Target() uint64
- type DyldChainedPtrArm64eSharedCacheV3AuthRebase
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) AddrDiv() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Auth() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Diversity() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) IsBind() bool
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) IsRebase() bool
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Key() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Kind() string
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Next() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Offset() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Raw() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Target() uint64
- type DyldChainedPtrArm64eSharedCacheV3Rebase
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Auth() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) IsBind() bool
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) IsRebase() bool
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Kind() string
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Next() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Offset() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Raw() uint64
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Target() uint64
- type DyldChainedPtrSharedCacheV2Rebase
- func (d DyldChainedPtrSharedCacheV2Rebase) High8() uint64
- func (d DyldChainedPtrSharedCacheV2Rebase) IsBind() bool
- func (d DyldChainedPtrSharedCacheV2Rebase) IsRebase() bool
- func (d DyldChainedPtrSharedCacheV2Rebase) Kind() string
- func (d DyldChainedPtrSharedCacheV2Rebase) Next() uint64
- func (d DyldChainedPtrSharedCacheV2Rebase) Offset() uint64
- func (d DyldChainedPtrSharedCacheV2Rebase) Raw() uint64
- func (d DyldChainedPtrSharedCacheV2Rebase) String(baseAddr ...uint64) string
- func (d DyldChainedPtrSharedCacheV2Rebase) Target() uint64
- type DyldChainedStarts
- type DyldChainedStartsInImage
- type DyldChainedStartsInSegment
- type Fixup
- type Import
- type ImportFormat
- type Rebase
Constants ¶
This section is empty.
Variables ¶
var ErrNoFixupAtOffset = errors.New("no fixup found at offset")
ErrNoFixupAtOffset is returned when no fixup exists at the specified file offset.
Functions ¶
func DcpArm64eIsAuth ¶
func DcpArm64eIsBind ¶
func DcpArm64eIsRebase ¶ added in v1.1.0
func DcpArm64eNext ¶
func Generic32IsBind ¶
func Generic32Next ¶
func Generic64IsBind ¶
func Generic64Next ¶
func PointerSize ¶ added in v1.1.251
PointerSize returns the size in bytes for pointers using the given chained pointer format.
Types ¶
type DCPtrKind ¶
type DCPtrKind uint16
DCPtrKind are values for dyld_chained_starts_in_segment.pointer_format
const ( DYLD_CHAINED_PTR_ARM64E DCPtrKind = 1 // stride 8, unauth target is vmaddr DYLD_CHAINED_PTR_64 DCPtrKind = 2 // target is vmaddr DYLD_CHAINED_PTR_32 DCPtrKind = 3 DYLD_CHAINED_PTR_32_CACHE DCPtrKind = 4 DYLD_CHAINED_PTR_32_FIRMWARE DCPtrKind = 5 DYLD_CHAINED_PTR_64_OFFSET DCPtrKind = 6 // target is vm offset DYLD_CHAINED_PTR_ARM64E_OFFSET DCPtrKind = 7 // old name DYLD_CHAINED_PTR_ARM64E_KERNEL DCPtrKind = 7 // stride 4, unauth target is vm offset DYLD_CHAINED_PTR_64_KERNEL_CACHE DCPtrKind = 8 DYLD_CHAINED_PTR_ARM64E_USERLAND DCPtrKind = 9 // stride 8, unauth target is vm offset DYLD_CHAINED_PTR_ARM64E_FIRMWARE DCPtrKind = 10 // stride 4, unauth target is vmaddr DYLD_CHAINED_PTR_X86_64_KERNEL_CACHE DCPtrKind = 11 // stride 1, x86_64 kernel caches DYLD_CHAINED_PTR_ARM64E_USERLAND24 DCPtrKind = 12 // stride 8, unauth target is vm offset, 24-bit bind DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE DCPtrKind = 13 // stride 8, regular/auth targets both vm offsets. Only A keys supported DYLD_CHAINED_PTR_ARM64E_SEGMENTED DCPtrKind = 14 // stride 4, rebase offsets use segIndex and segOffset DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3 DCPtrKind = 15 // stride 8, regular/auth targets both vm offsets. Only A keys supported DYLD_CHAINED_PTR_SHARED_CACHE_V2 DCPtrKind = 16 // stride 8, x86_64 shared cache slide v2, delta mask 0x00FFFF0000000000, target is vm offset )
type DCPtrStart ¶
type DCPtrStart uint16
const ( DYLD_CHAINED_PTR_START_NONE DCPtrStart = 0xFFFF // used in page_start[] to denote a page with no fixups DYLD_CHAINED_PTR_START_MULTI DCPtrStart = 0x8000 // used in page_start[] to denote a page which has multiple starts DYLD_CHAINED_PTR_START_LAST DCPtrStart = 0x8000 // used in chain_starts[] to denote last start in list for page )
type DCSymbolsFormat ¶
type DCSymbolsFormat uint32
const ( DC_SFORMAT_UNCOMPRESSED DCSymbolsFormat = 0 DC_SFORMAT_ZLIB_COMPRESSED DCSymbolsFormat = 1 )
type DyldChainedFixups ¶
type DyldChainedFixups struct {
DyldChainedFixupsHeader
PointerFormat DCPtrKind
Starts []DyldChainedStarts
Imports []DcfImport
// contains filtered or unexported fields
}
func NewChainedFixups ¶ added in v1.0.31
func NewChainedFixups(lcdat *bytes.Reader, sr *types.MachoReader, bo binary.ByteOrder) *DyldChainedFixups
NewChainedFixups creates a new DyldChainedFixups instance
func (*DyldChainedFixups) EnsureImports ¶ added in v1.1.251
func (dcf *DyldChainedFixups) EnsureImports() error
EnsureImports lazily parses the imports table for chained fixups.
func (*DyldChainedFixups) GetAuthRebase ¶ added in v1.1.251
func (dcf *DyldChainedFixups) GetAuthRebase(targetOffset uint64) (Auth, bool)
GetAuthRebase returns the auth rebase at the given target, if it exists. This is useful for quickly checking if a pointer is authenticated and getting its diversity. Note: This requires the chains to be walked first (calls Parse if needed).
func (*DyldChainedFixups) GetFixupAtOffset ¶ added in v1.1.251
func (dcf *DyldChainedFixups) GetFixupAtOffset(offset uint64) (Fixup, error)
func (*DyldChainedFixups) IsBind ¶ added in v1.1.117
func (dcf *DyldChainedFixups) IsBind(addr uint64) (*DcfImport, int64, bool)
func (*DyldChainedFixups) IsRebase ¶ added in v1.1.117
func (dcf *DyldChainedFixups) IsRebase(addr, preferredLoadAddress uint64) (uint64, bool)
IsRebase decodes raw pointer bits using PointerFormat and reports whether they encode a rebase. Its result is a runtime offset: address-based formats subtract preferredLoadAddress, while offset-based formats retain their encoded offset. Add the preferred load address once to obtain a preferred VM address. This does not establish chain membership; use Rebase or RebaseRaw when the source slot is known, particularly when an image uses more than one pointer format.
func (*DyldChainedFixups) LookupByOffset ¶ added in v1.1.251
func (dcf *DyldChainedFixups) LookupByOffset(fileOffset uint64) (Fixup, bool)
LookupByOffset returns the fixup at the given file offset (where the fixup is located). Note: This requires the chains to be walked first (calls Parse if needed).
func (*DyldChainedFixups) LookupByTarget ¶ added in v1.1.251
func (dcf *DyldChainedFixups) LookupByTarget(targetOffset uint64) []Fixup
LookupByTarget returns all fixups that point to the given target address. This only includes rebases (including auth rebases), not binds. Note: This requires the chains to be walked first (calls Parse if needed).
func (*DyldChainedFixups) Parse ¶ added in v1.0.31
func (dcf *DyldChainedFixups) Parse() (*DyldChainedFixups, error)
Parse parses a LC_DYLD_CHAINED_FIXUPS load command
func (*DyldChainedFixups) ParseStarts ¶ added in v1.0.31
func (dcf *DyldChainedFixups) ParseStarts() error
ParseStarts parses the DyldChainedStartsInSegment(s)
func (*DyldChainedFixups) PointerFormatForOffset ¶ added in v1.1.251
func (dcf *DyldChainedFixups) PointerFormatForOffset(offset uint64) (DCPtrKind, error)
PointerFormatForOffset reports the chained pointer format that applies to the given file offset.
func (*DyldChainedFixups) Rebase ¶ added in v1.1.251
func (dcf *DyldChainedFixups) Rebase(offset uint64, preferredLoadAddress uint64) (uint64, error)
Rebase reads and decodes a chained rebase at offset, using that source slot to select the format. The offset uses the file-coordinate system configured in the chained-fixups segment metadata. The result is a runtime offset: address-based formats subtract preferredLoadAddress, while offset-based formats retain their encoded offset. Add the preferred load address once to obtain a preferred VM address. The caller must identify an actual chain slot.
func (*DyldChainedFixups) RebaseRaw ¶ added in v1.1.251
func (dcf *DyldChainedFixups) RebaseRaw( offset uint64, raw uint64, preferredLoadAddress uint64, ) (uint64, error)
RebaseRaw decodes raw chained-pointer bits using offset to select the source slot's format. The offset uses the file-coordinate system configured in the chained-fixups segment metadata. Like Rebase and IsRebase, it returns a runtime offset rather than a VM address. The caller must identify an actual chain slot and must not pass already converted pointer bits.
func (*DyldChainedFixups) ResetSegmentIndex ¶ added in v1.1.251
func (dcf *DyldChainedFixups) ResetSegmentIndex()
ResetSegmentIndex invalidates the cached segment lookup index so it can be rebuilt.
type DyldChainedFixupsHeader ¶
type DyldChainedFixupsHeader struct {
FixupsVersion uint32 // 0
StartsOffset uint32 // offset of DyldChainedStartsInImage in chain_data
ImportsOffset uint32 // offset of imports table in chain_data
SymbolsOffset uint32 // offset of symbol strings in chain_data
ImportsCount uint32 // number of imported symbol names
ImportsFormat ImportFormat // DYLD_CHAINED_IMPORT*
SymbolsFormat DCSymbolsFormat // 0 => uncompressed, 1 => zlib compressed
}
DyldChainedFixupsHeader object is the header of the LC_DYLD_CHAINED_FIXUPS payload
func (*DyldChainedFixupsHeader) Data ¶ added in v1.1.296
func (d *DyldChainedFixupsHeader) Data() []byte
Data returns the little-endian encoding of the header.
type DyldChainedImport ¶
type DyldChainedImport uint32
DYLD_CHAINED_IMPORT
func (DyldChainedImport) Addend ¶ added in v1.0.29
func (d DyldChainedImport) Addend() uint64
func (DyldChainedImport) LibOrdinal ¶
func (d DyldChainedImport) LibOrdinal() int
func (DyldChainedImport) NameOffset ¶
func (d DyldChainedImport) NameOffset() uint64
func (DyldChainedImport) String ¶
func (i DyldChainedImport) String() string
func (DyldChainedImport) WeakImport ¶
func (d DyldChainedImport) WeakImport() bool
type DyldChainedImport64 ¶
type DyldChainedImport64 uint64
func (DyldChainedImport64) Addend ¶ added in v1.0.29
func (d DyldChainedImport64) Addend() uint64
func (DyldChainedImport64) LibOrdinal ¶
func (d DyldChainedImport64) LibOrdinal() int
func (DyldChainedImport64) NameOffset ¶
func (d DyldChainedImport64) NameOffset() uint64
func (DyldChainedImport64) Reserved ¶
func (d DyldChainedImport64) Reserved() uint64
func (DyldChainedImport64) String ¶
func (i DyldChainedImport64) String() string
func (DyldChainedImport64) WeakImport ¶
func (d DyldChainedImport64) WeakImport() bool
type DyldChainedImportAddend ¶
type DyldChainedImportAddend struct {
Import DyldChainedImport
AddendVal int32
}
DYLD_CHAINED_IMPORT_ADDEND
func (DyldChainedImportAddend) Addend ¶
func (d DyldChainedImportAddend) Addend() uint64
func (DyldChainedImportAddend) LibOrdinal ¶ added in v1.0.26
func (d DyldChainedImportAddend) LibOrdinal() int
func (DyldChainedImportAddend) NameOffset ¶ added in v1.0.26
func (d DyldChainedImportAddend) NameOffset() uint64
func (DyldChainedImportAddend) String ¶
func (i DyldChainedImportAddend) String() string
func (DyldChainedImportAddend) WeakImport ¶ added in v1.0.26
func (d DyldChainedImportAddend) WeakImport() bool
type DyldChainedImportAddend64 ¶
type DyldChainedImportAddend64 struct {
Import DyldChainedImport64
AddendVal uint64
}
DYLD_CHAINED_IMPORT_ADDEND64
func (DyldChainedImportAddend64) Addend ¶
func (d DyldChainedImportAddend64) Addend() uint64
func (DyldChainedImportAddend64) LibOrdinal ¶ added in v1.0.26
func (d DyldChainedImportAddend64) LibOrdinal() int
func (DyldChainedImportAddend64) NameOffset ¶ added in v1.0.26
func (d DyldChainedImportAddend64) NameOffset() uint64
func (DyldChainedImportAddend64) String ¶
func (i DyldChainedImportAddend64) String() string
func (DyldChainedImportAddend64) WeakImport ¶ added in v1.0.26
func (d DyldChainedImportAddend64) WeakImport() bool
type DyldChainedPtr32Bind ¶
DYLD_CHAINED_PTR_32
func (DyldChainedPtr32Bind) Addend ¶
func (d DyldChainedPtr32Bind) Addend() uint64
func (DyldChainedPtr32Bind) Bind ¶
func (d DyldChainedPtr32Bind) Bind() uint32
func (DyldChainedPtr32Bind) IsBind ¶ added in v1.1.188
func (d DyldChainedPtr32Bind) IsBind() bool
func (DyldChainedPtr32Bind) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtr32Bind) IsRebase() bool
func (DyldChainedPtr32Bind) Kind ¶ added in v1.0.28
func (d DyldChainedPtr32Bind) Kind() string
func (DyldChainedPtr32Bind) Name ¶ added in v1.1.3
func (d DyldChainedPtr32Bind) Name() string
func (DyldChainedPtr32Bind) Next ¶
func (d DyldChainedPtr32Bind) Next() uint32
func (DyldChainedPtr32Bind) Offset ¶ added in v1.0.28
func (d DyldChainedPtr32Bind) Offset() uint64
func (DyldChainedPtr32Bind) Ordinal ¶
func (d DyldChainedPtr32Bind) Ordinal() uint64
func (DyldChainedPtr32Bind) Raw ¶ added in v1.1.82
func (d DyldChainedPtr32Bind) Raw() uint64
func (DyldChainedPtr32Bind) String ¶
func (d DyldChainedPtr32Bind) String(baseAddr ...uint64) string
type DyldChainedPtr32CacheRebase ¶
DYLD_CHAINED_PTR_32_CACHE
func (DyldChainedPtr32CacheRebase) IsBind ¶ added in v1.1.188
func (d DyldChainedPtr32CacheRebase) IsBind() bool
func (DyldChainedPtr32CacheRebase) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtr32CacheRebase) IsRebase() bool
func (DyldChainedPtr32CacheRebase) Kind ¶ added in v1.0.28
func (d DyldChainedPtr32CacheRebase) Kind() string
func (DyldChainedPtr32CacheRebase) Next ¶
func (d DyldChainedPtr32CacheRebase) Next() uint32
func (DyldChainedPtr32CacheRebase) Offset ¶
func (d DyldChainedPtr32CacheRebase) Offset() uint64
func (DyldChainedPtr32CacheRebase) Raw ¶ added in v1.1.93
func (d DyldChainedPtr32CacheRebase) Raw() uint64
func (DyldChainedPtr32CacheRebase) String ¶
func (d DyldChainedPtr32CacheRebase) String(baseAddr ...uint64) string
func (DyldChainedPtr32CacheRebase) Target ¶ added in v1.0.28
func (d DyldChainedPtr32CacheRebase) Target() uint64
type DyldChainedPtr32FirmwareRebase ¶
DYLD_CHAINED_PTR_32_FIRMWARE
func (DyldChainedPtr32FirmwareRebase) IsBind ¶ added in v1.1.188
func (d DyldChainedPtr32FirmwareRebase) IsBind() bool
func (DyldChainedPtr32FirmwareRebase) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtr32FirmwareRebase) IsRebase() bool
func (DyldChainedPtr32FirmwareRebase) Kind ¶ added in v1.0.28
func (d DyldChainedPtr32FirmwareRebase) Kind() string
func (DyldChainedPtr32FirmwareRebase) Next ¶
func (d DyldChainedPtr32FirmwareRebase) Next() uint32
func (DyldChainedPtr32FirmwareRebase) Offset ¶
func (d DyldChainedPtr32FirmwareRebase) Offset() uint64
func (DyldChainedPtr32FirmwareRebase) Raw ¶ added in v1.1.93
func (d DyldChainedPtr32FirmwareRebase) Raw() uint64
func (DyldChainedPtr32FirmwareRebase) String ¶
func (d DyldChainedPtr32FirmwareRebase) String(baseAddr ...uint64) string
func (DyldChainedPtr32FirmwareRebase) Target ¶ added in v1.0.28
func (d DyldChainedPtr32FirmwareRebase) Target() uint64
type DyldChainedPtr32Rebase ¶
DYLD_CHAINED_PTR_32 Note: for DYLD_CHAINED_PTR_32 some non-pointer values are co-opted into the chain as out of range rebases. If an entry in the chain is > max_valid_pointer, then it is not a pointer. To restore the value, subtract off the bias, which is (64MB+max_valid_pointer)/2.
func (DyldChainedPtr32Rebase) Bind ¶
func (d DyldChainedPtr32Rebase) Bind() uint32
func (DyldChainedPtr32Rebase) IsBind ¶ added in v1.1.188
func (d DyldChainedPtr32Rebase) IsBind() bool
func (DyldChainedPtr32Rebase) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtr32Rebase) IsRebase() bool
func (DyldChainedPtr32Rebase) Kind ¶ added in v1.0.28
func (d DyldChainedPtr32Rebase) Kind() string
func (DyldChainedPtr32Rebase) Next ¶
func (d DyldChainedPtr32Rebase) Next() uint32
func (DyldChainedPtr32Rebase) Offset ¶
func (d DyldChainedPtr32Rebase) Offset() uint64
func (DyldChainedPtr32Rebase) Raw ¶ added in v1.1.188
func (d DyldChainedPtr32Rebase) Raw() uint64
func (DyldChainedPtr32Rebase) String ¶
func (d DyldChainedPtr32Rebase) String(baseAddr ...uint64) string
func (DyldChainedPtr32Rebase) Target ¶ added in v1.0.28
func (d DyldChainedPtr32Rebase) Target() uint64
type DyldChainedPtr64Bind ¶
DYLD_CHAINED_PTR_64
func (DyldChainedPtr64Bind) Addend ¶
func (d DyldChainedPtr64Bind) Addend() uint64
func (DyldChainedPtr64Bind) Bind ¶
func (d DyldChainedPtr64Bind) Bind() uint64
func (DyldChainedPtr64Bind) IsBind ¶ added in v1.1.188
func (d DyldChainedPtr64Bind) IsBind() bool
func (DyldChainedPtr64Bind) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtr64Bind) IsRebase() bool
func (DyldChainedPtr64Bind) Kind ¶ added in v1.0.28
func (d DyldChainedPtr64Bind) Kind() string
func (DyldChainedPtr64Bind) Name ¶ added in v1.1.3
func (d DyldChainedPtr64Bind) Name() string
func (DyldChainedPtr64Bind) Next ¶
func (d DyldChainedPtr64Bind) Next() uint64
func (DyldChainedPtr64Bind) Offset ¶ added in v1.0.28
func (d DyldChainedPtr64Bind) Offset() uint64
func (DyldChainedPtr64Bind) Ordinal ¶
func (d DyldChainedPtr64Bind) Ordinal() uint64
func (DyldChainedPtr64Bind) Raw ¶ added in v1.1.82
func (d DyldChainedPtr64Bind) Raw() uint64
func (DyldChainedPtr64Bind) Reserved ¶
func (d DyldChainedPtr64Bind) Reserved() uint64
func (DyldChainedPtr64Bind) String ¶
func (d DyldChainedPtr64Bind) String(baseAddr ...uint64) string
type DyldChainedPtr64KernelCacheRebase ¶
DYLD_CHAINED_PTR_64_KERNEL_CACHE, DYLD_CHAINED_PTR_X86_64_KERNEL_CACHE
func (DyldChainedPtr64KernelCacheRebase) AddrDiv ¶
func (d DyldChainedPtr64KernelCacheRebase) AddrDiv() uint64
func (DyldChainedPtr64KernelCacheRebase) CacheLevel ¶
func (d DyldChainedPtr64KernelCacheRebase) CacheLevel() uint64
func (DyldChainedPtr64KernelCacheRebase) Diversity ¶
func (d DyldChainedPtr64KernelCacheRebase) Diversity() uint64
func (DyldChainedPtr64KernelCacheRebase) IsAuth ¶
func (d DyldChainedPtr64KernelCacheRebase) IsAuth() uint64
func (DyldChainedPtr64KernelCacheRebase) IsBind ¶ added in v1.1.188
func (d DyldChainedPtr64KernelCacheRebase) IsBind() bool
func (DyldChainedPtr64KernelCacheRebase) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtr64KernelCacheRebase) IsRebase() bool
func (DyldChainedPtr64KernelCacheRebase) Key ¶
func (d DyldChainedPtr64KernelCacheRebase) Key() uint64
func (DyldChainedPtr64KernelCacheRebase) Kind ¶ added in v1.0.28
func (d DyldChainedPtr64KernelCacheRebase) Kind() string
func (DyldChainedPtr64KernelCacheRebase) Next ¶
func (d DyldChainedPtr64KernelCacheRebase) Next() uint64
func (DyldChainedPtr64KernelCacheRebase) Offset ¶
func (d DyldChainedPtr64KernelCacheRebase) Offset() uint64
func (DyldChainedPtr64KernelCacheRebase) Raw ¶ added in v1.1.93
func (d DyldChainedPtr64KernelCacheRebase) Raw() uint64
func (DyldChainedPtr64KernelCacheRebase) String ¶
func (d DyldChainedPtr64KernelCacheRebase) String(baseAddr ...uint64) string
func (DyldChainedPtr64KernelCacheRebase) Target ¶ added in v1.0.28
func (d DyldChainedPtr64KernelCacheRebase) Target() uint64
type DyldChainedPtr64Rebase ¶
DYLD_CHAINED_PTR_64
func (DyldChainedPtr64Rebase) Bind ¶
func (d DyldChainedPtr64Rebase) Bind() uint64
func (DyldChainedPtr64Rebase) High8 ¶
func (d DyldChainedPtr64Rebase) High8() uint64
func (DyldChainedPtr64Rebase) IsBind ¶ added in v1.1.188
func (d DyldChainedPtr64Rebase) IsBind() bool
func (DyldChainedPtr64Rebase) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtr64Rebase) IsRebase() bool
func (DyldChainedPtr64Rebase) Kind ¶ added in v1.0.28
func (d DyldChainedPtr64Rebase) Kind() string
func (DyldChainedPtr64Rebase) Next ¶
func (d DyldChainedPtr64Rebase) Next() uint64
func (DyldChainedPtr64Rebase) Offset ¶
func (d DyldChainedPtr64Rebase) Offset() uint64
func (DyldChainedPtr64Rebase) Raw ¶ added in v1.1.93
func (d DyldChainedPtr64Rebase) Raw() uint64
func (DyldChainedPtr64Rebase) Reserved ¶
func (d DyldChainedPtr64Rebase) Reserved() uint64
func (DyldChainedPtr64Rebase) String ¶
func (d DyldChainedPtr64Rebase) String(baseAddr ...uint64) string
func (DyldChainedPtr64Rebase) Target ¶
func (d DyldChainedPtr64Rebase) Target() uint64
func (DyldChainedPtr64Rebase) UnpackedTarget ¶ added in v1.0.28
func (d DyldChainedPtr64Rebase) UnpackedTarget() uint64
type DyldChainedPtr64RebaseOffset ¶
DYLD_CHAINED_PTR_64_OFFSET
func (DyldChainedPtr64RebaseOffset) Bind ¶
func (d DyldChainedPtr64RebaseOffset) Bind() uint64
func (DyldChainedPtr64RebaseOffset) High8 ¶
func (d DyldChainedPtr64RebaseOffset) High8() uint64
func (DyldChainedPtr64RebaseOffset) IsBind ¶ added in v1.1.188
func (d DyldChainedPtr64RebaseOffset) IsBind() bool
func (DyldChainedPtr64RebaseOffset) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtr64RebaseOffset) IsRebase() bool
func (DyldChainedPtr64RebaseOffset) Kind ¶ added in v1.0.28
func (d DyldChainedPtr64RebaseOffset) Kind() string
func (DyldChainedPtr64RebaseOffset) Next ¶
func (d DyldChainedPtr64RebaseOffset) Next() uint64
func (DyldChainedPtr64RebaseOffset) Offset ¶
func (d DyldChainedPtr64RebaseOffset) Offset() uint64
func (DyldChainedPtr64RebaseOffset) Raw ¶ added in v1.1.93
func (d DyldChainedPtr64RebaseOffset) Raw() uint64
func (DyldChainedPtr64RebaseOffset) Reserved ¶
func (d DyldChainedPtr64RebaseOffset) Reserved() uint64
func (DyldChainedPtr64RebaseOffset) String ¶
func (d DyldChainedPtr64RebaseOffset) String(baseAddr ...uint64) string
func (DyldChainedPtr64RebaseOffset) Target ¶
func (d DyldChainedPtr64RebaseOffset) Target() uint64
func (DyldChainedPtr64RebaseOffset) UnpackedTarget ¶ added in v1.0.28
func (d DyldChainedPtr64RebaseOffset) UnpackedTarget() uint64
type DyldChainedPtrArm64eAuthBind ¶
DYLD_CHAINED_PTR_ARM64E
func NewDyldChainedPtrArm64eAuthBind ¶ added in v1.1.296
func NewDyldChainedPtrArm64eAuthBind(address uint64, ordinal uint16, diversity uint16, addrDiv, key, next uint64, symbol string) DyldChainedPtrArm64eAuthBind
NewDyldChainedPtrArm64eAuthBind encodes an authenticated bind to import ordinal.
func (DyldChainedPtrArm64eAuthBind) Addend ¶ added in v1.0.29
func (d DyldChainedPtrArm64eAuthBind) Addend() uint64
func (DyldChainedPtrArm64eAuthBind) AddrDiv ¶
func (d DyldChainedPtrArm64eAuthBind) AddrDiv() uint64
func (DyldChainedPtrArm64eAuthBind) Auth ¶
func (d DyldChainedPtrArm64eAuthBind) Auth() uint64
func (DyldChainedPtrArm64eAuthBind) Bind ¶
func (d DyldChainedPtrArm64eAuthBind) Bind() uint64
func (DyldChainedPtrArm64eAuthBind) Diversity ¶
func (d DyldChainedPtrArm64eAuthBind) Diversity() uint64
func (DyldChainedPtrArm64eAuthBind) IsBind ¶ added in v1.1.188
func (d DyldChainedPtrArm64eAuthBind) IsBind() bool
func (DyldChainedPtrArm64eAuthBind) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtrArm64eAuthBind) IsRebase() bool
func (DyldChainedPtrArm64eAuthBind) Key ¶
func (d DyldChainedPtrArm64eAuthBind) Key() uint64
func (DyldChainedPtrArm64eAuthBind) Kind ¶ added in v1.0.28
func (d DyldChainedPtrArm64eAuthBind) Kind() string
func (DyldChainedPtrArm64eAuthBind) Name ¶ added in v1.1.3
func (d DyldChainedPtrArm64eAuthBind) Name() string
func (DyldChainedPtrArm64eAuthBind) Next ¶
func (d DyldChainedPtrArm64eAuthBind) Next() uint64
func (DyldChainedPtrArm64eAuthBind) Offset ¶ added in v1.0.28
func (d DyldChainedPtrArm64eAuthBind) Offset() uint64
func (DyldChainedPtrArm64eAuthBind) Ordinal ¶
func (d DyldChainedPtrArm64eAuthBind) Ordinal() uint64
func (DyldChainedPtrArm64eAuthBind) Raw ¶ added in v1.1.82
func (d DyldChainedPtrArm64eAuthBind) Raw() uint64
func (DyldChainedPtrArm64eAuthBind) String ¶
func (d DyldChainedPtrArm64eAuthBind) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eAuthBind) Zero ¶
func (d DyldChainedPtrArm64eAuthBind) Zero() uint64
type DyldChainedPtrArm64eAuthBind24 ¶
DYLD_CHAINED_PTR_ARM64E_USERLAND24
func (DyldChainedPtrArm64eAuthBind24) Addend ¶ added in v1.0.29
func (d DyldChainedPtrArm64eAuthBind24) Addend() uint64
func (DyldChainedPtrArm64eAuthBind24) AddrDiv ¶
func (d DyldChainedPtrArm64eAuthBind24) AddrDiv() uint64
func (DyldChainedPtrArm64eAuthBind24) Auth ¶
func (d DyldChainedPtrArm64eAuthBind24) Auth() uint64
func (DyldChainedPtrArm64eAuthBind24) Bind ¶
func (d DyldChainedPtrArm64eAuthBind24) Bind() uint64
func (DyldChainedPtrArm64eAuthBind24) Diversity ¶
func (d DyldChainedPtrArm64eAuthBind24) Diversity() uint64
func (DyldChainedPtrArm64eAuthBind24) IsBind ¶ added in v1.1.188
func (d DyldChainedPtrArm64eAuthBind24) IsBind() bool
func (DyldChainedPtrArm64eAuthBind24) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtrArm64eAuthBind24) IsRebase() bool
func (DyldChainedPtrArm64eAuthBind24) Key ¶
func (d DyldChainedPtrArm64eAuthBind24) Key() uint64
func (DyldChainedPtrArm64eAuthBind24) Kind ¶ added in v1.0.28
func (d DyldChainedPtrArm64eAuthBind24) Kind() string
func (DyldChainedPtrArm64eAuthBind24) Name ¶ added in v1.1.3
func (d DyldChainedPtrArm64eAuthBind24) Name() string
func (DyldChainedPtrArm64eAuthBind24) Next ¶
func (d DyldChainedPtrArm64eAuthBind24) Next() uint64
func (DyldChainedPtrArm64eAuthBind24) Offset ¶ added in v1.0.28
func (d DyldChainedPtrArm64eAuthBind24) Offset() uint64
func (DyldChainedPtrArm64eAuthBind24) Ordinal ¶
func (d DyldChainedPtrArm64eAuthBind24) Ordinal() uint64
func (DyldChainedPtrArm64eAuthBind24) Raw ¶ added in v1.1.82
func (d DyldChainedPtrArm64eAuthBind24) Raw() uint64
func (DyldChainedPtrArm64eAuthBind24) String ¶
func (d DyldChainedPtrArm64eAuthBind24) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eAuthBind24) Zero ¶
func (d DyldChainedPtrArm64eAuthBind24) Zero() uint64
type DyldChainedPtrArm64eAuthRebase ¶
DYLD_CHAINED_PTR_ARM64E
func NewDyldChainedPtrArm64eAuthRebase ¶ added in v1.1.296
func NewDyldChainedPtrArm64eAuthRebase(address, target uint64, diversity uint16, addrDiv, key, next uint64) DyldChainedPtrArm64eAuthRebase
NewDyldChainedPtrArm64eAuthRebase encodes an authenticated rebase. target is the low 32 bits of the target (an offset in kernel formats).
func (DyldChainedPtrArm64eAuthRebase) AddrDiv ¶
func (d DyldChainedPtrArm64eAuthRebase) AddrDiv() uint64
func (DyldChainedPtrArm64eAuthRebase) Auth ¶
func (d DyldChainedPtrArm64eAuthRebase) Auth() uint64
func (DyldChainedPtrArm64eAuthRebase) Bind ¶
func (d DyldChainedPtrArm64eAuthRebase) Bind() uint64
func (DyldChainedPtrArm64eAuthRebase) Diversity ¶
func (d DyldChainedPtrArm64eAuthRebase) Diversity() uint64
func (DyldChainedPtrArm64eAuthRebase) IsBind ¶ added in v1.1.188
func (d DyldChainedPtrArm64eAuthRebase) IsBind() bool
func (DyldChainedPtrArm64eAuthRebase) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtrArm64eAuthRebase) IsRebase() bool
func (DyldChainedPtrArm64eAuthRebase) Key ¶
func (d DyldChainedPtrArm64eAuthRebase) Key() uint64
func (DyldChainedPtrArm64eAuthRebase) Kind ¶ added in v1.0.28
func (d DyldChainedPtrArm64eAuthRebase) Kind() string
func (DyldChainedPtrArm64eAuthRebase) Next ¶
func (d DyldChainedPtrArm64eAuthRebase) Next() uint64
func (DyldChainedPtrArm64eAuthRebase) Offset ¶
func (d DyldChainedPtrArm64eAuthRebase) Offset() uint64
func (DyldChainedPtrArm64eAuthRebase) Raw ¶ added in v1.1.93
func (d DyldChainedPtrArm64eAuthRebase) Raw() uint64
func (DyldChainedPtrArm64eAuthRebase) String ¶
func (d DyldChainedPtrArm64eAuthRebase) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eAuthRebase) Target ¶ added in v1.0.28
func (d DyldChainedPtrArm64eAuthRebase) Target() uint64
type DyldChainedPtrArm64eAuthSegmentedRebase ¶ added in v1.1.239
DYLD_CHAINED_PTR_ARM64E_SEGMENTED
func (DyldChainedPtrArm64eAuthSegmentedRebase) AddrDiv ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) AddrDiv() uint64
func (DyldChainedPtrArm64eAuthSegmentedRebase) Auth ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) Auth() uint64
func (DyldChainedPtrArm64eAuthSegmentedRebase) Diversity ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) Diversity() uint64
func (DyldChainedPtrArm64eAuthSegmentedRebase) IsBind ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) IsBind() bool
func (DyldChainedPtrArm64eAuthSegmentedRebase) IsRebase ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) IsRebase() bool
func (DyldChainedPtrArm64eAuthSegmentedRebase) Key ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) Key() uint64
func (DyldChainedPtrArm64eAuthSegmentedRebase) Kind ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) Kind() string
func (DyldChainedPtrArm64eAuthSegmentedRebase) Next ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) Next() uint64
func (DyldChainedPtrArm64eAuthSegmentedRebase) Offset ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) Offset() uint64
func (DyldChainedPtrArm64eAuthSegmentedRebase) Raw ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) Raw() uint64
func (DyldChainedPtrArm64eAuthSegmentedRebase) SegIndex ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) SegIndex() uint64
func (DyldChainedPtrArm64eAuthSegmentedRebase) String ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eAuthSegmentedRebase) Target ¶ added in v1.1.239
func (d DyldChainedPtrArm64eAuthSegmentedRebase) Target() uint64
type DyldChainedPtrArm64eBind ¶
DYLD_CHAINED_PTR_ARM64E
func NewDyldChainedPtrArm64eBind ¶ added in v1.1.296
func NewDyldChainedPtrArm64eBind(address uint64, ordinal uint16, addend int64, next uint64, symbol string) (DyldChainedPtrArm64eBind, error)
NewDyldChainedPtrArm64eBind encodes a plain bind to import ordinal with an inline addend, which must fit into 19 signed bits.
func (DyldChainedPtrArm64eBind) Addend ¶
func (d DyldChainedPtrArm64eBind) Addend() uint64
func (DyldChainedPtrArm64eBind) Auth ¶
func (d DyldChainedPtrArm64eBind) Auth() uint64
func (DyldChainedPtrArm64eBind) Bind ¶
func (d DyldChainedPtrArm64eBind) Bind() uint64
func (DyldChainedPtrArm64eBind) IsBind ¶ added in v1.1.188
func (d DyldChainedPtrArm64eBind) IsBind() bool
func (DyldChainedPtrArm64eBind) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtrArm64eBind) IsRebase() bool
func (DyldChainedPtrArm64eBind) Kind ¶ added in v1.0.28
func (d DyldChainedPtrArm64eBind) Kind() string
func (DyldChainedPtrArm64eBind) Name ¶ added in v1.1.3
func (d DyldChainedPtrArm64eBind) Name() string
func (DyldChainedPtrArm64eBind) Next ¶
func (d DyldChainedPtrArm64eBind) Next() uint64
func (DyldChainedPtrArm64eBind) Offset ¶ added in v1.0.28
func (d DyldChainedPtrArm64eBind) Offset() uint64
func (DyldChainedPtrArm64eBind) Ordinal ¶
func (d DyldChainedPtrArm64eBind) Ordinal() uint64
func (DyldChainedPtrArm64eBind) Raw ¶ added in v1.1.82
func (d DyldChainedPtrArm64eBind) Raw() uint64
func (DyldChainedPtrArm64eBind) SignExtendedAddend ¶
func (d DyldChainedPtrArm64eBind) SignExtendedAddend() int64
func (DyldChainedPtrArm64eBind) String ¶
func (d DyldChainedPtrArm64eBind) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eBind) Zero ¶
func (d DyldChainedPtrArm64eBind) Zero() uint64
type DyldChainedPtrArm64eBind24 ¶
DYLD_CHAINED_PTR_ARM64E_USERLAND24
func (DyldChainedPtrArm64eBind24) Addend ¶
func (d DyldChainedPtrArm64eBind24) Addend() uint64
func (DyldChainedPtrArm64eBind24) Auth ¶
func (d DyldChainedPtrArm64eBind24) Auth() uint64
func (DyldChainedPtrArm64eBind24) Bind ¶
func (d DyldChainedPtrArm64eBind24) Bind() uint64
func (DyldChainedPtrArm64eBind24) IsBind ¶ added in v1.1.188
func (d DyldChainedPtrArm64eBind24) IsBind() bool
func (DyldChainedPtrArm64eBind24) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtrArm64eBind24) IsRebase() bool
func (DyldChainedPtrArm64eBind24) Kind ¶ added in v1.0.28
func (d DyldChainedPtrArm64eBind24) Kind() string
func (DyldChainedPtrArm64eBind24) Name ¶ added in v1.1.3
func (d DyldChainedPtrArm64eBind24) Name() string
func (DyldChainedPtrArm64eBind24) Next ¶
func (d DyldChainedPtrArm64eBind24) Next() uint64
func (DyldChainedPtrArm64eBind24) Offset ¶ added in v1.0.28
func (d DyldChainedPtrArm64eBind24) Offset() uint64
func (DyldChainedPtrArm64eBind24) Ordinal ¶
func (d DyldChainedPtrArm64eBind24) Ordinal() uint64
func (DyldChainedPtrArm64eBind24) Raw ¶ added in v1.1.82
func (d DyldChainedPtrArm64eBind24) Raw() uint64
func (DyldChainedPtrArm64eBind24) SignExtendedAddend ¶
func (d DyldChainedPtrArm64eBind24) SignExtendedAddend() int64
func (DyldChainedPtrArm64eBind24) String ¶
func (d DyldChainedPtrArm64eBind24) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eBind24) Zero ¶
func (d DyldChainedPtrArm64eBind24) Zero() uint64
type DyldChainedPtrArm64eRebase ¶
DYLD_CHAINED_PTR_ARM64E
func NewDyldChainedPtrArm64eRebase ¶ added in v1.1.296
func NewDyldChainedPtrArm64eRebase(address, target, next uint64) DyldChainedPtrArm64eRebase
NewDyldChainedPtrArm64eRebase encodes a plain rebase of the fixup at address to target, with next as the stride to the next fixup in the chain.
func (DyldChainedPtrArm64eRebase) Auth ¶
func (d DyldChainedPtrArm64eRebase) Auth() uint64
func (DyldChainedPtrArm64eRebase) Bind ¶
func (d DyldChainedPtrArm64eRebase) Bind() uint64
func (DyldChainedPtrArm64eRebase) High8 ¶
func (d DyldChainedPtrArm64eRebase) High8() uint64
func (DyldChainedPtrArm64eRebase) IsBind ¶ added in v1.1.188
func (d DyldChainedPtrArm64eRebase) IsBind() bool
func (DyldChainedPtrArm64eRebase) IsRebase ¶ added in v1.1.188
func (d DyldChainedPtrArm64eRebase) IsRebase() bool
func (DyldChainedPtrArm64eRebase) Kind ¶ added in v1.0.28
func (d DyldChainedPtrArm64eRebase) Kind() string
func (DyldChainedPtrArm64eRebase) Next ¶
func (d DyldChainedPtrArm64eRebase) Next() uint64
func (DyldChainedPtrArm64eRebase) Offset ¶
func (d DyldChainedPtrArm64eRebase) Offset() uint64
func (DyldChainedPtrArm64eRebase) Raw ¶ added in v1.1.93
func (d DyldChainedPtrArm64eRebase) Raw() uint64
func (DyldChainedPtrArm64eRebase) String ¶
func (d DyldChainedPtrArm64eRebase) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eRebase) Target ¶
func (d DyldChainedPtrArm64eRebase) Target() uint64
func (DyldChainedPtrArm64eRebase) UnpackTarget ¶ added in v1.0.26
func (d DyldChainedPtrArm64eRebase) UnpackTarget() uint64
type DyldChainedPtrArm64eSegmentedRebase ¶ added in v1.1.239
DYLD_CHAINED_PTR_ARM64E_SEGMENTED
func (DyldChainedPtrArm64eSegmentedRebase) Auth ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) Auth() uint64
func (DyldChainedPtrArm64eSegmentedRebase) IsBind ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) IsBind() bool
func (DyldChainedPtrArm64eSegmentedRebase) IsRebase ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) IsRebase() bool
func (DyldChainedPtrArm64eSegmentedRebase) Kind ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) Kind() string
func (DyldChainedPtrArm64eSegmentedRebase) Next ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) Next() uint64
func (DyldChainedPtrArm64eSegmentedRebase) Offset ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) Offset() uint64
func (DyldChainedPtrArm64eSegmentedRebase) Raw ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) Raw() uint64
func (DyldChainedPtrArm64eSegmentedRebase) SegIndex ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) SegIndex() uint64
func (DyldChainedPtrArm64eSegmentedRebase) String ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eSegmentedRebase) Target ¶ added in v1.1.239
func (d DyldChainedPtrArm64eSegmentedRebase) Target() uint64
type DyldChainedPtrArm64eSharedCacheAuthRebase ¶ added in v1.1.192
type DyldChainedPtrArm64eSharedCacheAuthRebase struct {
}
DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE
func (DyldChainedPtrArm64eSharedCacheAuthRebase) AddrDiv ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) AddrDiv() uint64
func (DyldChainedPtrArm64eSharedCacheAuthRebase) Auth ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Auth() uint64
func (DyldChainedPtrArm64eSharedCacheAuthRebase) Diversity ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Diversity() uint64
func (DyldChainedPtrArm64eSharedCacheAuthRebase) IsBind ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) IsBind() bool
func (DyldChainedPtrArm64eSharedCacheAuthRebase) IsDataKey ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) IsDataKey() bool
func (DyldChainedPtrArm64eSharedCacheAuthRebase) IsRebase ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) IsRebase() bool
func (DyldChainedPtrArm64eSharedCacheAuthRebase) Key ¶ added in v1.1.250
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Key() uint64
func (DyldChainedPtrArm64eSharedCacheAuthRebase) Kind ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Kind() string
func (DyldChainedPtrArm64eSharedCacheAuthRebase) Next ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Next() uint64
func (DyldChainedPtrArm64eSharedCacheAuthRebase) Offset ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Offset() uint64
func (DyldChainedPtrArm64eSharedCacheAuthRebase) Raw ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Raw() uint64
func (DyldChainedPtrArm64eSharedCacheAuthRebase) String ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eSharedCacheAuthRebase) Target ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheAuthRebase) Target() uint64
type DyldChainedPtrArm64eSharedCacheRebase ¶ added in v1.1.192
type DyldChainedPtrArm64eSharedCacheRebase struct {
}
DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE
func (DyldChainedPtrArm64eSharedCacheRebase) Auth ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) Auth() uint64
func (DyldChainedPtrArm64eSharedCacheRebase) High8 ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) High8() uint64
func (DyldChainedPtrArm64eSharedCacheRebase) IsBind ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) IsBind() bool
func (DyldChainedPtrArm64eSharedCacheRebase) IsRebase ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) IsRebase() bool
func (DyldChainedPtrArm64eSharedCacheRebase) Kind ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) Kind() string
func (DyldChainedPtrArm64eSharedCacheRebase) Next ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) Next() uint64
func (DyldChainedPtrArm64eSharedCacheRebase) Offset ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) Offset() uint64
func (DyldChainedPtrArm64eSharedCacheRebase) Raw ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) Raw() uint64
func (DyldChainedPtrArm64eSharedCacheRebase) String ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eSharedCacheRebase) Target ¶ added in v1.1.192
func (d DyldChainedPtrArm64eSharedCacheRebase) Target() uint64
type DyldChainedPtrArm64eSharedCacheV3AuthRebase ¶ added in v1.1.277
type DyldChainedPtrArm64eSharedCacheV3AuthRebase struct {
}
DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) AddrDiv ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) AddrDiv() uint64
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) Auth ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Auth() uint64
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) Diversity ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Diversity() uint64
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) IsBind ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) IsBind() bool
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) IsRebase ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) IsRebase() bool
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) Key ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Key() uint64
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) Kind ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Kind() string
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) Next ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Next() uint64
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) Offset ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Offset() uint64
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) Raw ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Raw() uint64
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) String ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eSharedCacheV3AuthRebase) Target ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3AuthRebase) Target() uint64
type DyldChainedPtrArm64eSharedCacheV3Rebase ¶ added in v1.1.277
type DyldChainedPtrArm64eSharedCacheV3Rebase struct {
}
DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE_V3
func (DyldChainedPtrArm64eSharedCacheV3Rebase) Auth ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Auth() uint64
func (DyldChainedPtrArm64eSharedCacheV3Rebase) IsBind ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) IsBind() bool
func (DyldChainedPtrArm64eSharedCacheV3Rebase) IsRebase ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) IsRebase() bool
func (DyldChainedPtrArm64eSharedCacheV3Rebase) Kind ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Kind() string
func (DyldChainedPtrArm64eSharedCacheV3Rebase) Next ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Next() uint64
func (DyldChainedPtrArm64eSharedCacheV3Rebase) Offset ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Offset() uint64
func (DyldChainedPtrArm64eSharedCacheV3Rebase) Raw ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Raw() uint64
func (DyldChainedPtrArm64eSharedCacheV3Rebase) String ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) String(baseAddr ...uint64) string
func (DyldChainedPtrArm64eSharedCacheV3Rebase) Target ¶ added in v1.1.277
func (d DyldChainedPtrArm64eSharedCacheV3Rebase) Target() uint64
type DyldChainedPtrSharedCacheV2Rebase ¶ added in v1.1.277
type DyldChainedPtrSharedCacheV2Rebase struct {
}
DYLD_CHAINED_PTR_SHARED_CACHE_V2
func (DyldChainedPtrSharedCacheV2Rebase) High8 ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) High8() uint64
func (DyldChainedPtrSharedCacheV2Rebase) IsBind ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) IsBind() bool
func (DyldChainedPtrSharedCacheV2Rebase) IsRebase ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) IsRebase() bool
func (DyldChainedPtrSharedCacheV2Rebase) Kind ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) Kind() string
func (DyldChainedPtrSharedCacheV2Rebase) Next ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) Next() uint64
func (DyldChainedPtrSharedCacheV2Rebase) Offset ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) Offset() uint64
func (DyldChainedPtrSharedCacheV2Rebase) Raw ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) Raw() uint64
func (DyldChainedPtrSharedCacheV2Rebase) String ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) String(baseAddr ...uint64) string
func (DyldChainedPtrSharedCacheV2Rebase) Target ¶ added in v1.1.277
func (d DyldChainedPtrSharedCacheV2Rebase) Target() uint64
type DyldChainedStarts ¶ added in v1.0.26
type DyldChainedStarts struct {
DyldChainedStartsInSegment
PageStarts []DCPtrStart
ChainStarts []uint16
Fixups []Fixup
}
func (*DyldChainedStarts) Binds ¶ added in v1.0.26
func (s *DyldChainedStarts) Binds() []Bind
Binds filters fixups to only binds
func (*DyldChainedStarts) Rebases ¶ added in v1.0.26
func (s *DyldChainedStarts) Rebases() []Rebase
Rebases filters fixups to only rebases
type DyldChainedStartsInImage ¶
type DyldChainedStartsInImage struct {
SegCount uint32
SegInfoOffsets []uint32 // []uint32 ARRAY each entry is offset into this struct for that segment
}
DyldChainedStartsInImage this struct is embedded in LC_DYLD_CHAINED_FIXUPS payload
type DyldChainedStartsInSegment ¶
type DyldChainedStartsInSegment struct {
Size uint32 // size of this (amount kernel needs to copy)
PageSize uint16 // 0x1000 or 0x4000
PointerFormat DCPtrKind // DYLD_CHAINED_PTR_*
SegmentOffset uint64 // offset in memory to start of segment
MaxValidPointer uint32 // for 32-bit OS, any value beyond this is not a pointer
PageCount uint16 // how many pages are in array
}
DyldChainedStartsInSegment object is embedded in dyld_chain_starts_in_image and passed down to the kernel for page-in linking
type ImportFormat ¶ added in v1.0.26
type ImportFormat uint32
ImportFormat are values for dyld_chained_fixups_header.imports_format
const ( DC_IMPORT ImportFormat = 1 DC_IMPORT_ADDEND ImportFormat = 2 DC_IMPORT_ADDEND64 ImportFormat = 3 )