Versions in this module Expand all Collapse all v1 v1.1.193 Mar 14, 2024 Changes in this version + 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 + type Bind interface + Addend func() uint64 + Name func() string + Offset func() uint64 + Ordinal func() uint64 + Raw func() uint64 + String func(baseAddr ...uint64) string + type DCPtrKind uint16 + const DYLD_CHAINED_PTR_32 + const DYLD_CHAINED_PTR_32_CACHE + const DYLD_CHAINED_PTR_32_FIRMWARE + const DYLD_CHAINED_PTR_64 + const DYLD_CHAINED_PTR_64_KERNEL_CACHE + const DYLD_CHAINED_PTR_64_OFFSET + const DYLD_CHAINED_PTR_ARM64E + const DYLD_CHAINED_PTR_ARM64E_FIRMWARE + const DYLD_CHAINED_PTR_ARM64E_KERNEL + const DYLD_CHAINED_PTR_ARM64E_OFFSET + const DYLD_CHAINED_PTR_ARM64E_SHARED_CACHE + const DYLD_CHAINED_PTR_ARM64E_USERLAND + const DYLD_CHAINED_PTR_ARM64E_USERLAND24 + const DYLD_CHAINED_PTR_X86_64_KERNEL_CACHE + type DCPtrStart uint16 + const DYLD_CHAINED_PTR_START_LAST + const DYLD_CHAINED_PTR_START_MULTI + const DYLD_CHAINED_PTR_START_NONE + type DCSymbolsFormat uint32 + const DC_SFORMAT_UNCOMPRESSED + const DC_SFORMAT_ZLIB_COMPRESSED + type DcfImport struct + Name string + func (i DcfImport) String() string + type DyldChainedFixups struct + Imports []DcfImport + PointerFormat DCPtrKind + Starts []DyldChainedStarts + func NewChainedFixups(lcdat *bytes.Reader, sr *types.MachoReader, bo binary.ByteOrder) *DyldChainedFixups + func (dcf *DyldChainedFixups) IsBind(addr uint64) (*DcfImport, int64, bool) + func (dcf *DyldChainedFixups) IsRebase(addr, preferredLoadAddress uint64) (uint64, bool) + func (dcf *DyldChainedFixups) Parse() (*DyldChainedFixups, error) + func (dcf *DyldChainedFixups) ParseStarts() error + type DyldChainedFixupsHeader struct + FixupsVersion uint32 + ImportsCount uint32 + ImportsFormat ImportFormat + ImportsOffset uint32 + StartsOffset uint32 + SymbolsFormat DCSymbolsFormat + SymbolsOffset uint32 + type DyldChainedImport uint32 + func (d DyldChainedImport) Addend() uint64 + func (d DyldChainedImport) LibOrdinal() int + func (d DyldChainedImport) NameOffset() uint64 + func (d DyldChainedImport) WeakImport() bool + func (i DyldChainedImport) String() string + type DyldChainedImport64 uint64 + func (d DyldChainedImport64) Addend() uint64 + func (d DyldChainedImport64) LibOrdinal() int + func (d DyldChainedImport64) NameOffset() uint64 + func (d DyldChainedImport64) Reserved() uint64 + func (d DyldChainedImport64) WeakImport() bool + func (i DyldChainedImport64) String() string + type DyldChainedImportAddend struct + AddendVal int32 + Import DyldChainedImport + func (d DyldChainedImportAddend) Addend() uint64 + func (d DyldChainedImportAddend) LibOrdinal() int + func (d DyldChainedImportAddend) NameOffset() uint64 + func (d DyldChainedImportAddend) WeakImport() bool + func (i DyldChainedImportAddend) String() string + type DyldChainedImportAddend64 struct + AddendVal uint64 + Import DyldChainedImport64 + func (d DyldChainedImportAddend64) Addend() uint64 + func (d DyldChainedImportAddend64) LibOrdinal() int + func (d DyldChainedImportAddend64) NameOffset() uint64 + func (d DyldChainedImportAddend64) WeakImport() bool + func (i DyldChainedImportAddend64) String() string + type DyldChainedPtr32Bind struct + Fixup uint64 + Import string + Pointer uint32 + 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 struct + Fixup uint64 + Pointer uint32 + 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 struct + Fixup uint64 + Pointer uint32 + 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 struct + Fixup uint64 + Pointer uint32 + 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 struct + Fixup uint64 + Import string + Pointer uint64 + 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 struct + Fixup uint64 + Pointer uint64 + 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 struct + Fixup uint64 + Pointer uint64 + 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 struct + Fixup uint64 + Pointer uint64 + 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 struct + Fixup uint64 + Import string + Pointer uint64 + 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 struct + Fixup uint64 + Import string + Pointer uint64 + 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 struct + Fixup uint64 + Pointer uint64 + 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 DyldChainedPtrArm64eAuthRebase24 struct + Fixup uint64 + Pointer uint64 + func (d DyldChainedPtrArm64eAuthRebase24) AddrDiv() uint64 + func (d DyldChainedPtrArm64eAuthRebase24) Auth() uint64 + func (d DyldChainedPtrArm64eAuthRebase24) Bind() uint64 + func (d DyldChainedPtrArm64eAuthRebase24) Diversity() uint64 + func (d DyldChainedPtrArm64eAuthRebase24) IsBind() bool + func (d DyldChainedPtrArm64eAuthRebase24) IsRebase() bool + func (d DyldChainedPtrArm64eAuthRebase24) Key() uint64 + func (d DyldChainedPtrArm64eAuthRebase24) Kind() string + func (d DyldChainedPtrArm64eAuthRebase24) Next() uint64 + func (d DyldChainedPtrArm64eAuthRebase24) Offset() uint64 + func (d DyldChainedPtrArm64eAuthRebase24) Raw() uint64 + func (d DyldChainedPtrArm64eAuthRebase24) String(baseAddr ...uint64) string + func (d DyldChainedPtrArm64eAuthRebase24) Target() uint64 + type DyldChainedPtrArm64eBind struct + Fixup uint64 + Import string + Pointer uint64 + 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 struct + Fixup uint64 + Import string + Pointer uint64 + 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 struct + Fixup uint64 + Pointer uint64 + 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 DyldChainedPtrArm64eRebase24 struct + Fixup uint64 + Pointer uint64 + func (d DyldChainedPtrArm64eRebase24) Auth() uint64 + func (d DyldChainedPtrArm64eRebase24) Bind() uint64 + func (d DyldChainedPtrArm64eRebase24) High8() uint64 + func (d DyldChainedPtrArm64eRebase24) IsBind() bool + func (d DyldChainedPtrArm64eRebase24) IsRebase() bool + func (d DyldChainedPtrArm64eRebase24) Kind() string + func (d DyldChainedPtrArm64eRebase24) Next() uint64 + func (d DyldChainedPtrArm64eRebase24) Offset() uint64 + func (d DyldChainedPtrArm64eRebase24) Raw() uint64 + func (d DyldChainedPtrArm64eRebase24) String(baseAddr ...uint64) string + func (d DyldChainedPtrArm64eRebase24) Target() uint64 + func (d DyldChainedPtrArm64eRebase24) UnpackTarget() uint64 + type DyldChainedPtrArm64eSharedCacheAuthRebase struct + Fixup uint64 + Pointer uint64 + 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) 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 struct + Fixup uint64 + Pointer uint64 + 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 DyldChainedStarts struct + ChainStarts []uint16 + Fixups []Fixup + PageStarts []DCPtrStart + func (s *DyldChainedStarts) Binds() []Bind + func (s *DyldChainedStarts) Rebases() []Rebase + type DyldChainedStartsInImage struct + SegCount uint32 + SegInfoOffsets []uint32 + type DyldChainedStartsInSegment struct + MaxValidPointer uint32 + PageCount uint16 + PageSize uint16 + PointerFormat DCPtrKind + SegmentOffset uint64 + Size uint32 + type Fixup interface + IsBind func() bool + IsRebase func() bool + Offset func() uint64 + Raw func() uint64 + String func(baseAddr ...uint64) string + type Import interface + Addend func() uint64 + LibOrdinal func() int + NameOffset func() uint64 + WeakImport func() bool + type ImportFormat uint32 + const DC_IMPORT + const DC_IMPORT_ADDEND + const DC_IMPORT_ADDEND64 + type Rebase interface + Offset func() uint64 + Raw func() uint64 + String func(baseAddr ...uint64) string + Target func() uint64