public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Disabling ASLR with GCC 8.3.0 on WIndows
@ 2020-10-31 12:06 Kacvinsky, Tom
  2020-10-31 12:24 ` Hannes Domani
  0 siblings, 1 reply; 2+ messages in thread
From: Kacvinsky, Tom @ 2020-10-31 12:06 UTC (permalink / raw)
  To: gcc-help

Hi,

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.

Thanks and regards,

Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Disabling ASLR with GCC 8.3.0 on WIndows
  2020-10-31 12:06 Disabling ASLR with GCC 8.3.0 on WIndows Kacvinsky, Tom
@ 2020-10-31 12:24 ` Hannes Domani
  0 siblings, 0 replies; 2+ messages in thread
From: Hannes Domani @ 2020-10-31 12:24 UTC (permalink / raw)
  To: gcc-help, Kacvinsky, Tom

 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-31 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31 12:06 Disabling ASLR with GCC 8.3.0 on WIndows Kacvinsky, Tom
2020-10-31 12:24 ` Hannes Domani

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).