Merge the Ptrcheck tool from branches/PTRCHECK r8619.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8620 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-ptrcheck/tests/unaligned.stderr.exp-glibc25-x86 b/exp-ptrcheck/tests/unaligned.stderr.exp-glibc25-x86
new file mode 100644
index 0000000..fd09f58
--- /dev/null
+++ b/exp-ptrcheck/tests/unaligned.stderr.exp-glibc25-x86
@@ -0,0 +1,34 @@
+
+Invalid read of size 1
+   at 0x........: main (unaligned.c:33)
+ Address 0x........ is 1 bytes before the accessing pointer's
+ legitimate range, a block of size 6 alloc'd
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: ...
+   by 0x........: main (unaligned.c:8)
+
+Invalid read of size 1
+   at 0x........: main (unaligned.c:37)
+ Address 0x........ is 1 bytes before the accessing pointer's
+ legitimate range, a block of size 6 alloc'd
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: ...
+   by 0x........: main (unaligned.c:8)
+
+Invalid read of size 1
+   at 0x........: main (unaligned.c:39)
+ Address 0x........ is 0 bytes after the accessing pointer's
+ legitimate range, a block of size 6 alloc'd
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: ...
+   by 0x........: main (unaligned.c:8)
+
+Invalid read of size 1
+   at 0x........: main (unaligned.c:43)
+ Address 0x........ is 0 bytes after the accessing pointer's
+ legitimate range, a block of size 6 alloc'd
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: ...
+   by 0x........: main (unaligned.c:8)
+
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)