Skip to content

Rebase

Changes base address of dylibs and bundles

Synopsis

rebase [-low_address addr] [-high_address addr] [-arch arch] [-v] file(s)

Description

The base address of an image (dylib or bundle) is the preferred address for it to be loaded. By default all images are built with a base address of zero. At runtime, if the preferred memory range is already occupied, dyld will "slide" the image to a new address range. There is a small cost to the slide, as dyld must do some fix ups. The rebase tool takes a list of images and adjust their base address to be non-overlapping. If no low or high address is specified, the a suitable address range is choosen for the architecture.

See also