<< 21/55 >>
First Last

dyld-info-command - bind, lazy_bind

rebase, bind, weak_bind, lazy_bind, and export

The list of (address, type, symbol-name, addend)
Modify the value in address to symbol-name

% dyldinfo -lazy_bind a.out

  lazy binding information (from lazy_bind part of dyld info):
  segment section          address    index  dylib            symbol
  __DATA  __la_symbol_ptr  0x100001038 0x0000 libSystem        _exit
  __DATA  __la_symbol_ptr  0x100001040 0x000C libSystem        _puts

Something like: *(void**)0x100001038 = &exit;

ELF's DT_RELA