This manual page is part of Xcode Tools version 3.2.2

To obtain these tools:

If you are running a version of Xcode Tools other than 3.2.2, view the documentation locally:

  • In Xcode

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



rebase(1)                                BSD General Commands Manual                               rebase(1)

NAME
     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.

     The options are as follows:

     -low_address addr
             Force the base address for the first image to be addr (specified in hex). Each subsequent file
             gets the next available base address.

     -high_address addr
             Force the base address for the last image to be such that when that image is loaded it occupies
             memory up to addr (specified in hex). Each preceeding file gets the previous available base
             address.

     -arch arch
             Only rebase the specified architecture.  Other architectures in a universal image are left as
             is.

     -v      Verbose. Print information about rebasing done.

SEE ALSO
     ld(1)

Darwin                                          June 6, 2006                                          Darwin

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...