All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: TeLeMan <geleman@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [PATCH, RFT] mingw32: use ASLR, no-SEH and DEP if available
Date: Thu, 30 Sep 2010 10:09:09 +0200	[thread overview]
Message-ID: <4CA445A5.4040303@redhat.com> (raw)
In-Reply-To: <AANLkTi=3o3_T9P=obkpYEd+TMYNe_ZyoNAoKkOK4S_Tv@mail.gmail.com>

On 09/29/2010 07:04 PM, Blue Swirl wrote:
> On Wed, Sep 29, 2010 at 2:38 AM, TeLeMan<geleman@gmail.com>  wrote:
>> GDB can not insert breakpoints on Windows Vista/7 because of the flag
>> -dynamicbase.
>
> I'd suppose that is a bug in GDB, or rather a missing feature. ASLR is
> automatically disabled by GDB 7, but that and "set
> disable-randomization on" seems to work only on Linux.
>
> For QEMU, it could be possible to make a workaround (for example a new
> flag for configure which disables ASLR). I think ASLR enabled should
> be the default.

You can piggyback that onto --enable-pie/--disable-pie.

Enabling PIE by default would be a good thing in general for security, 
BTW, even for softmmu targets.

Paolo

      reply	other threads:[~2010-09-30  8:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-14 20:15 [Qemu-devel] [PATCH, RFT] mingw32: use ASLR, no-SEH and DEP if available Blue Swirl
2010-09-29  2:38 ` TeLeMan
2010-09-29 17:04   ` Blue Swirl
2010-09-30  8:09     ` Paolo Bonzini [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=4CA445A5.4040303@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=geleman@gmail.com \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.