]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
I forgot to get rid of these when deleting the client stack perms stuff.
authorJulian Seward <jseward@acm.org>
Sun, 5 Jan 2003 13:11:55 +0000 (13:11 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 5 Jan 2003 13:11:55 +0000 (13:11 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1404

memcheck/tests/clientstackperm.c [deleted file]
memcheck/tests/clientstackperm.stderr.exp [deleted file]
memcheck/tests/clientstackperm.stderr.exp.hd [deleted file]
memcheck/tests/clientstackperm.stdout.exp [deleted file]

diff --git a/memcheck/tests/clientstackperm.c b/memcheck/tests/clientstackperm.c
deleted file mode 100644 (file)
index 1e4e79d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdio.h>
-
-#include "../memcheck.h"
-
-int baaaad ( void )
-{
-   int spacer0[10];
-   int aaa[10] __attribute__((unused));
-   int spacer1[10];
-   int bbb[10] __attribute__((unused));
-   int spacer2[10];
-   int ccc[10] __attribute__((unused));
-   int spacer3[10];
-   VALGRIND_MAKE_NOACCESS_STACK(spacer0, sizeof spacer0);
-   VALGRIND_MAKE_NOACCESS_STACK(spacer1, sizeof spacer1);
-   VALGRIND_MAKE_NOACCESS_STACK(spacer2, sizeof spacer2);
-   VALGRIND_MAKE_NOACCESS_STACK(spacer3, sizeof spacer3);
-   printf("reading memory\n");
-   if ((int*)0xDEADBEEF == &aaa[-3]) { printf("DEAD BEEF!\n"); }
-   return aaa[-3];
-}
-
-
-int main ( void )
-{
-   int z = baaaad();
-   return z;
-}
diff --git a/memcheck/tests/clientstackperm.stderr.exp b/memcheck/tests/clientstackperm.stderr.exp
deleted file mode 100644 (file)
index 9ca69f1..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-
-Invalid read of size 4
-   at 0x........: baaaad (clientstackperm.c:23)
-   by 0x........: main (clientstackperm.c:29)
-   by 0x........: __libc_start_main (...libc...)
-   by 0x........: (within /.../tests/clientstackperm)
-   Address 0x........ is 36 bytes inside a 40-byte stack red-zone created
-   at 0x........: baaaad (clientstackperm.c:18)
-   by 0x........: main (clientstackperm.c:29)
-   by 0x........: __libc_start_main (...libc...)
-   by 0x........: (within /.../tests/clientstackperm)
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
-For a detailed leak analysis,  rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
diff --git a/memcheck/tests/clientstackperm.stderr.exp.hd b/memcheck/tests/clientstackperm.stderr.exp.hd
deleted file mode 100644 (file)
index 0f6ddc0..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-
-discard 0 (0 -> 0) translations in range 0x........ .. 0x........
-discard 0 (0 -> 0) translations in range 0x........ .. 0x........
-discard 0 (0 -> 0) translations in range 0x........ .. 0x........
-discard 0 (0 -> 0) translations in range 0x........ .. 0x........
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
-For a detailed leak analysis,  rerun with: --leak-check=yes
-For counts of detected errors, rerun with: -v
diff --git a/memcheck/tests/clientstackperm.stdout.exp b/memcheck/tests/clientstackperm.stdout.exp
deleted file mode 100644 (file)
index df0c0ce..0000000
+++ /dev/null
@@ -1 +0,0 @@
-reading memory