[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDB testsuite: »Memory at address 0 is possibly executable«
From: |
Richard Braun |
Subject: |
Re: GDB testsuite: »Memory at address 0 is possibly executable« |
Date: |
Sat, 13 Sep 2014 10:13:48 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Sep 13, 2014 at 01:39:05AM +0200, Samuel Thibault wrote:
> So it seems we need what is not actually documented, i.e. a vm_map
> with anywhere=1, but which takes into account the suggested address.
> I'm fine with officially supporting that, we just need to fix the
> documentation, and fix all places which weren't aware of this behavior
> (there are very few). Do we agree on this?
Personally, I do prefer this approach, since that's how mmap is expected
to behave (with the interesting addition that, if MAP_FIXED isn't set,
but the hint is non-zero, the returned mapping must not start at
address 0).
--
Richard Braun
Re: GDB testsuite: »Memory at address 0 is possibly executable«,
Richard Braun <=