Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Rebasing
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=={{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 [[Library (computer science)|shared libraries]] loadable in the system. IBM [[VM (operating system)|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 [[Dynamic-link library|DLL]]s by the loader. Some security extensions to [[Linux]]/[[X86 architecture|x86]] use rebasing to force the use of code addresses below <code>0x00ffffff</code> in order to introduce a <code>0x00</code> 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 string]]s, common in the [[C (programming language)|C]] [[programming language]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)