mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-08 13:01:17 +00:00
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:
parent
06b9624009
commit
b8c19b3f67
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user