Skip to main content

bind_process

Function bind_process 

Source
pub fn bind_process(session: &mut LoadSession) -> Result<(), LoadError>
Expand description

Fill exports, then bind each mapped image.

Preference per image:

  1. crate::chained fixups (LC_DYLD_CHAINED_FIXUPS) — rebase + bind
  2. classic dyld bind opcodes (LC_DYLD_INFO)
  3. if nothing applied for any image → nlist → __got on main

Call after map and (non-chained) section rebase.