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