rebasing
{{short description|Process of modifying data based on one reference to another}}
{{more citations needed|date=November 2009}}{{unfocused|date=September 2016}}
{{About|computing activities|the use of a new base for the CPI|consumer price index}}
{{Use dmy dates|date=May 2019|cs1-dates=y}}
{{Use list-defined references|date=December 2021}}
In computing, rebasing is the process of modifying data based on one reference to another. It can be one of the following:
{{anchor|DCSS}}Shared libraries
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 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/x86 use rebasing to force the use of code addresses below 0x00ffffff
in order to introduce a 0x00
byte into all code pointers;{{cn|reason=I'm not disputing this, but I think a couple of sources discussing this in better details would be interesting here for some readers|date=July 2022}} 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
- 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 Outlook daylight saving time (DST) rebasing tool TZMOVE.EXE uses to recalculate and reschedule appointment dates that are affected by DST.
See also
Further reading
- {{cite book |author-last=Levine |author-first=John R. |author-link=John R. Levine |title=Linkers and Loaders |date=2000 |orig-year=October 1999 |edition=1 |publisher=Morgan Kaufmann |series=The Morgan Kaufmann Series in Software Engineering and Programming |location=San Francisco, USA |isbn=1-55860-496-0 |oclc=42413382 |pages=218 |url=https://www.iecc.com/linker/ |access-date=2020-01-12 |url-status=live |archive-url=https://archive.today/20121205032107/http://www.iecc.com/linker/ |archive-date=2012-12-05}} Code: [https://archive.today/20200114225034/https://linker.iecc.com/code.html][ftp://ftp.iecc.com/pub/linker/]{{dead link|date=May 2025|bot=medic}}{{cbignore|bot=medic}} Errata: [https://linker.iecc.com/]
- {{Cite web |url=https://devblogs.microsoft.com/oldnewthing/20041217-00/?p=36953 |author-first=Raymond |author-last=Chen |author-link=Raymond Chen (Microsoft) |date=2004-12-17 |title=How did Windows 95 rebase DLLs? |work=The Old New Thing}}
- {{Cite web |title=Rebasing Win32 DLLs |author-first=Thiadmer |author-last=Riemersma |date=2000-12-01 |url=http://drdobbs.com/184416272 |work=Dr. Dobb's Journal}}
- {{Cite web |title=Optimizing DLL Loads|author=Mark Baker |date=2004-03-25 |url=http://drdobbs.com/184416922 |work=Dr. Dobb's Journal}}
- {{Cite journal |journal=MSDN Magazine |title=Improving Application Startup Time |author-first=Claudio |author-last=Caldato |url=http://msdn.microsoft.com/en-gb/magazine/cc163655.aspx#S6 |date=February 2006 |publisher=Microsoft Corporation}}
- {{Cite journal |journal=MSDN Magazine |title=The Performance Benefits of NGen |author-first=Surupa |author-last=Biswas |url=http://msdn.microsoft.com/en-us/magazine/cc163610.aspx#S5 |date=May 2006 |publisher=Microsoft Corporation}}
- {{Cite journal |journal=MSDN Magazine |title=An In-Depth Look into the Win32 Portable Executable File Format, Part 2 |author-first=Matt |author-last=Pietrek |author-link=Matt Pietrek |url=http://msdn.microsoft.com/en-us/magazine/cc301808.aspx |date=March 2002 |publisher=Microsoft Corporation}}
- {{Cite web |title=Rebasing Win32 DLLs: The Whole Story |author-first=Rüdiger R. |author-last=Asche |date=1995-09-18 |url=http://hyper.sunjapan.com.cn/~hz/win32/pagetest.htm |url-status=dead |archive-url=https://web.archive.org/web/20110707022420/http://hyper.sunjapan.com.cn/~hz/win32/pagetest.htm |archive-date=2011-07-07}}
- {{Cite book |title=Debugging applications: Microsoft |series=Microsoft programming series |author-first=John |author-last=Robbins |publisher=Microsoft Press |date=2000 |isbn=978-0-7356-0886-3 |pages=34{{ndash}}36}}
- {{Cite web |url=https://community.broadcom.com/symantecenterprise/communities/community-home/librarydocuments/viewdocument?DocumentKey=3d2a3ec7-0747-4add-a56d-809c3e54ff97&CommunityKey=1ecf5f55-9545-44d6-b0f4-4e4a7f5f5e68&tab=librarydocuments |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}}