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
This commit is contained in:
Florian Krohm 2015-03-27 08:47:22 +00:00
parent 06b9624009
commit b8c19b3f67

View File

@ -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