Rebasing

From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about computing activities. For the use of a new base for the CPI, see consumer price index.

In computing, rebasing is one of the following:

Shared libraries[edit]

Rebasing is the process of creating a shared library image in such a way that it is guaranteed to use virtual memory without conflicting with any other shared libraries loadable in the system.

IBM VM/370 Discontinuous Shared Segments (DCSS) were an early example of this technique, though not called rebasing. The technique is used extensively on Win32 platforms to avoid the overhead of address relocation of system DLLs by the loader.

Some security extensions to Linux/x86 use rebasing to force the use of code addresses below 0x00ffffff in order to introduce a 0x00 byte into all code pointers; this eliminates a certain class of buffer overflow security problems related to improper checking of null-terminated strings, common in the C programming language.

Other uses[edit]

  • Rebasing is the act of moving changesets to a different branch when using a revision control system, or, in some systems, by synchronizing a branch with the originating branch by merging all new changes in the latter to the former. For example, git and Darcs do this (but Darcs extends the concept and calls it "patch commutation").
  • The mechanism that the Microsoft Exchange or Microsoft Outlook DST (Daylight saving time) rebasing tool TZMOVE.EXE uses to recalculate and reschedule appointment dates that are affected by DST.

See also[edit]

Further reading[edit]