Expand description
Classic dyld bind opcodes (LC_DYLD_INFO / LC_DYLD_INFO_ONLY).
Interprets the non-lazy and lazy bind streams and writes resolved absolute
pointers into guest memory (eager bind for Micro — no lazy stub helper).
When an image has no bind opcodes, falls back to nlist → __got for the
main executable (Phase 6 fixtures / tools without dyld info).
Structs§
- Bind
Resolve Cache - Process-wide bind/chained resolve tables (built once per
bind_process). - Bind
Site - One pointer write derived from a bind opcode stream.
Functions§
- bind_
process - Fill exports, then bind each mapped image.
- collect_
bind_ sites - Collect POINTER bind sites from
LC_DYLD_INFO/LC_DYLD_INFO_ONLY. - encode_
pointer_ bind - Encode a minimal non-lazy POINTER bind sequence (unit tests / opcode smoke).