public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hannes Domani <ssbssa@yahoo.de>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>,
	 "Kacvinsky, Tom" <Tom.Kacvinsky@vector.com>
Subject: Re: Disabling ASLR with GCC 8.3.0 on WIndows
Date: Sat, 31 Oct 2020 12:24:50 +0000 (UTC)	[thread overview]
Message-ID: <1805550155.1351409.1604147090327@mail.yahoo.com> (raw)
In-Reply-To: <3ee2aec60a0f4d12a3190db80b1a196f@vector.com>

 Am Samstag, 31. Oktober 2020, 13:06:22 MEZ hat Kacvinsky, Tom <tom.kacvinsky@vector.com> Folgendes geschrieben:

> Hi,

Hello


> I am on Windows, so I don't have the two step process of disabling ASLR in the kernel and then providing the right gcc flags.
> Is there a way of disabling ASLR on Windows with GCC 8.3.0 (this is with a custom build of GCC 8.3.0 using the mingw-w64
> tool chain).  If this is the wrong list for this question, I apologize.  But if it is ther right list, what do you need from me?  If it
> is the wrong list, I can take it to the mingw-w64 list.

So far ASLR is by default off in executables compiled with mingw-w64 gcc.
So unless you enabled it with -Wl,--dynamicbase, or you're using a modified ld
where the default was changed, ASLR is already disabled.

Though I'm curious why you need to disable ASLR if it is really enabled.


Hannes

      reply	other threads:[~2020-10-31 12:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31 12:06 Kacvinsky, Tom
2020-10-31 12:24 ` Hannes Domani [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1805550155.1351409.1604147090327@mail.yahoo.com \
    --to=ssbssa@yahoo.de \
    --cc=Tom.Kacvinsky@vector.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).