]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add comments re loss of pointercheck.
authorJulian Seward <jseward@acm.org>
Sat, 15 Oct 2005 00:41:50 +0000 (00:41 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 15 Oct 2005 00:41:50 +0000 (00:41 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4925

coregrind/m_aspacemgr/aspacemgr.c

index 3a27aa78bd887a5211c6e4e1dcafe45d65dcc95c..5ca36e4738045a5a9aeddd7155b0b86431b33e9a 100644 (file)
   complains if there is a difference.  --sanity-level=3 runs it before
   and after each syscall, which is a powerful, if slow way of finding
   buggy syscall wrappers.
+
+  Loss of pointercheck
+  ~~~~~~~~~~~~~~~~~~~~
+  Up to and including Valgrind 2.4.1, x86 segmentation was used to
+  enforce seperation of V and C, so that wild writes by C could not
+  trash V.  This got called "pointercheck".  Unfortunately, the new
+  more flexible memory layout, plus the need to be portable across
+  different architectures, means doing this in hardware is no longer
+  viable, and doing it in software is expensive.  So at the moment we
+  don't do it at all.
 */