From: Julian Seward Date: Sun, 5 Jan 2003 13:11:55 +0000 (+0000) Subject: I forgot to get rid of these when deleting the client stack perms stuff. X-Git-Tag: svn/VALGRIND_1_9_4~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88f01cdebfc39fd3ce264e417ef8754fd3f3e774;p=thirdparty%2Fvalgrind.git I forgot to get rid of these when deleting the client stack perms stuff. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1404 --- diff --git a/memcheck/tests/clientstackperm.c b/memcheck/tests/clientstackperm.c deleted file mode 100644 index 1e4e79dc24..0000000000 --- a/memcheck/tests/clientstackperm.c +++ /dev/null @@ -1,31 +0,0 @@ - -#include -#include -#include - -#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 index 9ca69f114a..0000000000 --- a/memcheck/tests/clientstackperm.stderr.exp +++ /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 index 0f6ddc0548..0000000000 --- a/memcheck/tests/clientstackperm.stderr.exp.hd +++ /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 index df0c0ce6bc..0000000000 --- a/memcheck/tests/clientstackperm.stdout.exp +++ /dev/null @@ -1 +0,0 @@ -reading memory