From b8c19b3f67034f716df8c3b76bfa33da8405ecc4 Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Fri, 27 Mar 2015 08:47:22 +0000 Subject: [PATCH] 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 --- coregrind/m_aspacemgr/aspacemgr-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3