qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH, RFT] mingw32: use ASLR, no-SEH and DEP if avail


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH, RFT] mingw32: use ASLR, no-SEH and DEP if available
Date: Thu, 30 Sep 2010 10:09:09 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.3

On 09/29/2010 07:04 PM, Blue Swirl wrote:
On Wed, Sep 29, 2010 at 2:38 AM, TeLeMan<address@hidden>  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 via email to

[Prev in Thread] Current Thread [Next in Thread]