|
-
November 18th, 2004, 06:58 PM
#1
any rebase.exe experts here?
as I understand to rebase 1.dll and 2.dll you do this
rebase.exe -b 0x400000 1.dll 2.dll
right. Is ther a way to create a .bat file that sequentally rebase multiple files
rebase.exe -b 0x400000 1.dll
rebase.exe -b 0x400000 2.dll but now 1.dll and 2.dll are both unique base addresses.
The problem is that I have a program with many dlls in many extreamly nested folders. I could not possible include all the paths in a single command line.
Any Ideas?
and Canada rocks!! Peace bro.
-
November 18th, 2004, 07:41 PM
#2
Re: any rebase.exe experts here?
Ok.. one solution is to specify a unique load address in project settings.
I think I'm going to take this route.
awaiting any suggestions.
and Canada rocks!! Peace bro.
-
November 18th, 2004, 07:54 PM
#3
Re: any rebase.exe experts here?
If the .dlls are in the same dir then just pass *.dll
If seperate dirs, then create a file listing the offset of the dirs + dll names.
Pass that to rebase:
rebase -b 0x62000000 -R c:\dev\myrootproject -G <filename containing dll names with path offsets>
eg:
debug\root.dll
\debug\firstdll.dll
\debug\seconddll.dll
Or something like that....
You should be outputting all your libs/exe/dlls into one dir at any rate...then you could have just *.dll'd it....IMHO.
-
November 18th, 2004, 08:34 PM
#4
Re: any rebase.exe experts here?
sweet, Thanks.
I was wondering how to use the -R option.
MS gives you a one line description .
and Canada rocks!! Peace bro.
-
April 11th, 2005, 12:35 PM
#5
Re: any rebase.exe experts here?
A nice hello 
I´m new here at this board, and have one question.
My proplem is that the rebasing of some files does not ever work and i dont know why?. I use the rebase.exe see images...

OK before help me here some infos (maybe it´s important)

My file which i want rebased is not compiled from me and PEID say its coded in Microsoft Visual C++ 6.0 SPx Method 1 [Overlay].
Can somebody tell me reasons when it is possible to rebase a file and when not ?
regards,
xy_2000
Last edited by xy_2000; April 11th, 2005 at 12:41 PM.
Reason: add a images
-
April 11th, 2005, 03:36 PM
#6
Re: any rebase.exe experts here?
The common usage is to rebase your .dlls as they use a default 0x10000000. Hence the need to rebase to avoid collisions via the loader.
exes use a default of 0x400000.
So I do not see your reason for trying to rebase your .exe.
-
April 12th, 2005, 03:12 AM
#7
Re: any rebase.exe experts here?
@Mick
Thx for your help 
now i´ve tried rebase myfile again the see images....
[img]http://de.geocities.com/matiano_99/rebase-again.gif[img]
...and tried more!
The resabe.exe say i´ve 10000 size of mapping (to change the imagebase) but when i play with the space it does not work.
I´ve evertime the same resultat how this images...
http://de.geocities.com/matiano_99/PE-info.gif

What i can do now ?
regards,
xy_2000
-
April 15th, 2005, 01:14 PM
#8
Re: any rebase.exe experts here?
The best way is to forget about rebase and let system loader decide itself where module will be loaded at.
Rebasement is too much delicate thing - I belive you're out of notion why and what for it ought to be done.
Best regards,
Igor
-
April 16th, 2005, 05:36 AM
#9
Re: any rebase.exe experts here?
@Igor Vartanov
ok its your opinion..., but i want rebased myfile!
i´m only wondering why i can not rebase my file.
rebase.exe say to me i´ve 0x00010000 size of mapping, but i can not use the mapping size to rebase my file 
1. maybe i must use an exra option to rebase myfile.exe ?
2. or must i must make manual the size of mapping bigger with an pe-editor ?
when nobody beleave, maybe somebody want try to rebase my file?
regards,
xy_2000
-
April 17th, 2005, 06:55 PM
#10
Re: any rebase.exe experts here?
Why don't you use PE Explorer for that particular task?
PE Explorer home page: http://www.heaventools.com
Hope it helps
-
April 18th, 2005, 06:24 AM
#11
Re: any rebase.exe experts here?
@Artt
I´ve pe-explorer, but i´ve no idea how to use this for my particular task ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|