In computing, rebasing is the process of modifying data based on one reference to another. It can be one of the following:
Shared libraries
Rebasing is the process of creating a
shared library
In computer science, a library is a collection of non-volatile resources used by computer programs, often for software development. These may include configuration data, documentation, help data, message templates, pre-written code and subro ...
image in such a way that it is guaranteed to use
virtual memory
In computing, virtual memory, or virtual storage is a memory management technique that provides an "idealized abstraction of the storage resources that are actually available on a given machine" which "creates the illusion to users of a very ...
without conflicting with any other
shared libraries
In computer science, a library is a collection of non-volatile resources used by computer programs, often for software development. These may include configuration data, documentation, help data, message templates, pre-written code and ...
loadable in the system.
IBM
VM/370
VM (often: VM/CMS) is a family of IBM virtual machine operating systems used on IBM mainframes System/370, System/390, zSeries, System z and compatible systems, including the Hercules emulator for personal computers.
The following ver ...
''discontinuous saved 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
Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, whi ...
/
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
A programming language is a system of notation for writing computer programs. Most programming languages are text-based formal languages, but they may also be graphical. They are a kind of computer language.
The description of a programming ...
.
Other uses
* Rebasing is the act of moving
changesets to a different
branch
A branch, sometimes called a ramus in botany, is a woody structural member connected to the central trunk of a tree (or sometimes a shrub). Large branches are known as boughs and small branches are known as twigs. The term '' twig'' usuall ...
when using a
revision control
In software engineering, version control (also known as revision control, source control, or source code management) is a class of systems responsible for managing changes to computer programs, documents, large web sites, or other collections o ...
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
Git () is a distributed version control system: tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development. Its goals include speed, data in ...
and
Darcs
Darcs is a distributed version control system created by David Roundy. Key features include the ability to choose which changes to accept from other repositories, interaction with either other local (on-disk) repositories or remote repositories v ...
do this (but Darcs extends the concept and calls it "patch commutation").
* The mechanism that the
Microsoft Exchange or
Outlook daylight saving time
Daylight saving time (DST), also referred to as daylight savings time or simply daylight time (United States, Canada, and Australia), and summer time (United Kingdom, European Union, and others), is the practice of advancing clocks (typicall ...
(DST) rebasing tool TZMOVE.EXE uses to recalculate and reschedule appointment dates that are affected by DST.
See also
*
Relocation (computing)
*
Position-independent code
*
Portable Executable (PE)
*
High memory area (HMA)
*
Dynamic dead code elimination
Further reading
* Code
ftp://ftp.iecc.com/pub/linker/] Errata
https://archive.today/20200114224817/https://linker.iecc.com/ 2020-01-14 -->*
*
*
*
*
*
*
*
* {{Cite web , url=http://www.symantec.com./connect/articles/dynamic-linking-linux-and-windows-part-two , date=2006-08-14 , title=Dynamic Linking in Linux and Windows, part two , author-first1=Reji , author-last1=Thomas , author-first2=Bhasker , author-last2=Reddy , publisher=
Symantec Corp
Computer libraries