This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Why are the base addresses for Cygwin executable so high?
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Sun, 31 Jul 2016 21:57:00 +0200
- Subject: Re: Why are the base addresses for Cygwin executable so high?
- Authentication-results: sourceware.org; auth=none
- References: <D233DDCF-E872-4C9F-A0E1-A85124B58F5D@me.com>
On 31/07/2016 20:37, Hamza Sood wrote:
Hi,
I've noticed that Cygwin related executables (including ones compiled myself) seem to have a base address of 0x100400000, whereas all other windows executables seem to use 0x400000.
Is there a particular reason why Cygwin executables need to start so high up? What's going on in the 4GB underneath them?
--
look on
/proc/<pid>/maps
below 0x100000000 there are
- windows system dll's
- heaps and stacks
Regards
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple