-
Notifications
You must be signed in to change notification settings - Fork 0
/
windows via C C++
16 lines (13 loc) · 1.19 KB
/
windows via C C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1)about rebase.exe:
In recent VS versions,many obsolete or deprecated tools have been removed from the Windows SDK,in which include the ReBase.exe which is
ususally useful when we want to accelerate the loading time of .exe files because of the relocation(ImageBase).why the application is
removed?when I searched for the reason in Stack Overflow,I found the answer may result from two aspects.
The first is that VS provides a new tool called editbin.exe,which has a option /reabse.Because the feature of ReBase.exe can be
implemented by editbin.exe,so ReBase.exe may be considered as obsolete and was removed.(editbin.exe composites many features like bind and
rebase)
The second is Because of the feature called ASLR(address space layout randomization),which provides an useful protection towards memory
violation such as heap and stack overflow or underflow.The feature is not compatible with relocation.So ReBase.exe. was removed.So there
is a warning we should note:we should set /dynamicbase:no when using relocation.
note:we can implement relocation using ReBaseImage function in ImageHlp.dll's API.
reference website:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680330(v=vs.85).aspx