delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/31/15:58:09

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=M9OSd/8X8FmNWEiF
M/Mm35+eiMnYPOfsW2g/KJln19kH+1yA4vX53+9ZN9hjN5nW1tPGM95NGC5CORz9
itOmZOL05jcaFgAqElAP42UiJq0vb+WPVk4+z2lR9AGRAPukHhEkvbCsHaSyf9Ha
8LrPg4cLx9ACvKIcRV1NOMIhSMM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=1SB+Xl6flhIps/hiP4ZH70
py/XQ=; b=q7A2hmWQ8MkSDJG2ak+kE9eCHH/IaEZA0OpMZK+pLWuiorv+YcbZFK
9qdFofCrCeYD3y7EsxmYYMwryNbNA7LXuQBcZbyYdQYWhsBlwDFC0hFbZf8RPSDM
wctJMVoEeLPyMub4sUVHi+wR0YVTAHZfNxeiRy++ZzAwEf9rxT3fo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hamza, sood, hamza, Sood
X-HELO: mail-wm0-f46.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=c7XmPn9DJYHDIVSHuoxHqE6iHe040V15RXs8/jAqRm4=; b=JrIOIq3+ltvEksAKAzjjRXOMgnKDglcnlNx5iPXFQb0qhCTP4feoPs8Lf5o3lWp8JO AIYWhUZ6bMxGHNnvO+/Q3aECPQQisI3xzC087lzMJDrjDc4AG7HfxYVM1oIK6/T664RT AivDeFXhCpKTbSoFykaEWPBDbjNPd2PE9i+gR6xf28S1EIs46CfhgVHLbLhSTT0YiLK7 YfFrK+mhSXZpwn1IOEdfGbmWW3M0rvjtz9dQNaAPogl+TQHBwekQTEvkv2suzasrBt+U +qkVftQOsAactDcAypCwOoVDxhXNtcGwDWVHt98BGOg8Pqrf2jxYo7p1atjAlcLcLNSj kfqw==
X-Gm-Message-State: AEkoousV6Ys/eQE44gu3CJyNsOQ5ahOXy6nXwPYP7mAZT7SGUvXlWcpm6ofWqno9c4TIzA==
X-Received: by 10.28.32.15 with SMTP id g15mr9968309wmg.25.1469995069903; Sun, 31 Jul 2016 12:57:49 -0700 (PDT)
Subject: Re: Why are the base addresses for Cygwin executable so high?
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <D233DDCF-E872-4C9F-A0E1-A85124B58F5D AT me DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <5f6b5ea8-0d50-59ee-25a8-397c23cd0f67@gmail.com>
Date: Sun, 31 Jul 2016 21:57:00 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <D233DDCF-E872-4C9F-A0E1-A85124B58F5D@me.com>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019