This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Windows heaps and Cygwin heap
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 13 May 2011 11:29:53 +0200
- Subject: Re: Windows heaps and Cygwin heap
- References: <4DADAC63.9050609@cs.utoronto.ca> <20110419160111.GD23804@calimero.vinschen.de> <4DADD189.6080301@cs.utoronto.ca> <20110513083658.GM3020@calimero.vinschen.de>
- Reply-to: cygwin-developers at cygwin dot com
On May 13 10:36, Corinna Vinschen wrote:
> So we now know that we are actually observing a part of the ASLR
> strategy of NT6. Heap addresses are always randomized. Yes, there is a
> PE flag which controls ASLR on a per-executable basis, but unfortunately
> this only influences the usage of ASLR for the executable image itself,
> as well as the thread stacks. There's no way at all to disable heap ASLR.
It appears that I misread. The PE flag might not influence stack
randomization, but what I found in the net is contradictory. However,
even if stack ASLR is always on, it seems the preferred addresses of
thread stacks are also in the range below 0x20000000.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat