From: Florian Krohm Date: Fri, 27 Mar 2015 08:47:22 +0000 (+0000) Subject: Change the minimum allowable value of aspacem_minAddr to X-Git-Tag: svn/VALGRIND_3_11_0~550 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8c19b3f67034f716df8c3b76bfa33da8405ecc4;p=thirdparty%2Fvalgrind.git Change the minimum allowable value of aspacem_minAddr to be VKI_PAGE_SIZE. That follows from the requirement that the address ought to be page aligned and > 0. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15042 --- diff --git a/coregrind/m_aspacemgr/aspacemgr-linux.c b/coregrind/m_aspacemgr/aspacemgr-linux.c index 4568b7dc50..c996908545 100644 --- a/coregrind/m_aspacemgr/aspacemgr-linux.c +++ b/coregrind/m_aspacemgr/aspacemgr-linux.c @@ -1606,7 +1606,7 @@ static void read_maps_callback ( Addr addr, SizeT len, UInt prot, Bool VG_(am_is_valid_for_aspacem_minAddr)( Addr addr, const HChar **errmsg ) { - const Addr min = 0x1000; // 1 page FIXME: VKI_PAGE_SIZE ? + const Addr min = VKI_PAGE_SIZE; #if VG_WORDSIZE == 4 const Addr max = 0x40000000; // 1Gb #else