Skip to main content

Module macho

Module macho 

Source
Expand description

Facilities for reading and modifying Mach-O binaries.

FAT wrappers are unpacked automatically; MachO always refers to a thin Mach-O image. Byte order is derived from the magic bytes at file offset 0 — there is no endianness field in the header.

Modules§

bitcode
Bitcode bundle detection (__LLVM segment).
dyld
Dyld bind/export blob decoding (LC_DYLD_INFO, LC_DYLD_EXPORTS_TRIE).
fat
FAT (universal) Mach-O wrapper parsing.
header
Core structures describing the Mach-O header.
load_command
Types and parsers for Mach-O load commands.
relocation
Mach-O section relocation entries (relocation_info / scattered_relocation_info).
section
Mach-O section / section_64 records nested inside segment load commands.
segment
Abstractions over Mach-O segment load commands.
symbol
Mach-O symbol table (nlist / nlist_64) parsing and name resolution.

Structs§

MachO
A parsed Mach-O image backed by an owned byte buffer.