mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-06 03:23:58 +00:00
When warning about permissions being changed on a large chunk of
memory report the actual addresses involved not just the size. Based on patch from John Reiser <jreiser@BitWagon.com>. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8440
This commit is contained in:
parent
bacc982793
commit
12e2e7fe24
@ -1357,7 +1357,8 @@ static void set_address_range_perms ( Addr a, SizeT lenT, UWord vabits16,
|
||||
if (vabits16 == VA_BITS16_UNDEFINED) s = "undefined";
|
||||
if (vabits16 == VA_BITS16_DEFINED ) s = "defined";
|
||||
VG_(message)(Vg_UserMsg, "Warning: set address range perms: "
|
||||
"large range %lu (%s)", lenT, s);
|
||||
"large range [0x%lx, 0x%lx) (%s)",
|
||||
a, a + lenT, s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user