]> git.ipfire.org Git - thirdparty/valgrind.git/commit
When handling client munmaps and mprotects with r=0 & w=0, actually
authorJulian Seward <jseward@acm.org>
Thu, 17 Mar 2011 19:39:55 +0000 (19:39 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 17 Mar 2011 19:39:55 +0000 (19:39 +0000)
commitaca925fd10c40ac594d9b17dd3b31956fc6b361b
tree68158bf8331f5f40645c5a585ccbd2b96a68bca5
parent33790efd5ece21ed7c0e292108da0602f96cfb6e
When handling client munmaps and mprotects with r=0 & w=0, actually
paint the relevant address range as NoAccess rather than ignoring the
event.  This is important for avoiding VTS leaks in libhb_core.
More details in comments in the code.

Also rename the _noaccess_ painters that do nothing to make it clearer
that they do nothing :-)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11654
helgrind/hg_main.c
helgrind/libhb.h
helgrind/libhb_core.c