Dyld rebases an image whenever dyld loads it at an address different
from its preferred address. The rebase information is a stream
of byte sized opcodes whose symbolic names start with REBASE_OPCODE_.
Conceptually the rebase information is a table of tuples:
<seg-index, seg-offset, type>
The opcodes are a compressed way to encode the table by only
encoding when a column changes. In addition simple patterns
like "every n'th offset for m times" can be encoded in a few
bytes.
File offset to rebase info.
Dyld rebases an image whenever dyld loads it at an address different from its preferred address. The rebase information is a stream of byte sized opcodes whose symbolic names start with REBASE_OPCODE_. Conceptually the rebase information is a table of tuples: <seg-index, seg-offset, type> The opcodes are a compressed way to encode the table by only encoding when a column changes. In addition simple patterns like "every n'th offset for m times" can be encoded in a few bytes.