Visual Studio: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Mike (talk | contribs)
Initial port, still need to fix the trees
 
Combuster (talk | contribs)
m fixed forum link
Line 207: Line 207:
=== The Rebase Utility: ===
=== The Rebase Utility: ===


Attached to [Forum:7951|this thread] is the source code for a page-granular rebase utility. It changes the base address of any PE file with a relocation section to the nearest page-aligned address and then removes the relocation section. It compiles under Visual Studio .NET 2003 with default settings successfully, but should work fine on any Microsoft compiler.
Attached to [[Topic:10632|this thread]] is the source code for a page-granular rebase utility. It changes the base address of any PE file with a relocation section to the nearest page-aligned address and then removes the relocation section. It compiles under Visual Studio .NET 2003 with default settings successfully, but should work fine on any Microsoft compiler.


To use it, create a text file that contains the relative paths and names of the PE files you wish to rebase, such as
To use it, create a text file that contains the relative paths and names of the PE files you wish to rebase, such as