This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [patch/rebase] Add a rebase database to keep track of DLL addresses
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Sat, 2 Jul 2011 19:46:14 -0400
- Subject: Re: [patch/rebase] Add a rebase database to keep track of DLL addresses
- References: <20110629153615.GZ9552@calimero.vinschen.de> <4E0EA933.7040009@cwilson.fastmail.fm> <20110702071544.GC15848@calimero.vinschen.de>
- Reply-to: cygwin-apps at cygwin dot com
On Sat, Jul 02, 2011 at 09:15:44AM +0200, Corinna Vinschen wrote:
>On Jul 2 01:14, Charles Wilson wrote:
>> On 6/29/2011 11:36 AM, Corinna Vinschen wrote:
>> > here's a patch which adds a new functionality to rebase.
>>
>> I think this is a good idea; it's been on the rebase TODO list for some
>> time. I share cgf's concern about dlls which change their ImageSize,
>> but I haven't had a chance to go thru the patch -- it's a holiday
>> weekend here in the US, and I've got Real Life stuff going on.
>>
>> I'll take a look next week.
>
>Thanks. The answer to your concern is "yes, the code tests that".
>If you have a look into the code next week, you'll be probably
>very happy to see that I added lots of comments to explain what I'm
>doing :)
Ok, then, another question. What happens when a dll shrinks? It seems
like we could be introducing "fragmentation" in that scenario. Since
the dll loading address space is somewhat precious, it could be useful
to recognize when there are exploitable holes introduced by dll
shrinkage.
cgf