ftmemsim-valgrind/memcheck/tests/badrw.stderr.exp
Nicholas Nethercote 0db1843d96 Made Addrcheck distinguish between invalid reads and invalid writes (previously
was just saying "invalid memory access").

Added a regression test for this, for memcheck and addrcheck.  Also made
Addrcheck use Memcheck's fprw regtest.  Was able to remove the not-very-useful
'true' test for Addrcheck now that it has a couple of real tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1815
2003-09-05 23:29:33 +00:00

60 lines
2.1 KiB
Plaintext

Invalid read of size 4
at 0x........: main (badrw.c:12)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Address 0x........ is 4 bytes before a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (badrw.c:5)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Invalid write of size 4
at 0x........: main (badrw.c:12)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Address 0x........ is 4 bytes before a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (badrw.c:5)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Invalid read of size 2
at 0x........: main (badrw.c:13)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Address 0x........ is 4 bytes before a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (badrw.c:5)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Invalid write of size 2
at 0x........: main (badrw.c:13)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Address 0x........ is 4 bytes before a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (badrw.c:5)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Invalid read of size 1
at 0x........: main (badrw.c:14)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Address 0x........ is 1 bytes before a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (badrw.c:5)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Invalid write of size 1
at 0x........: main (badrw.c:14)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...
Address 0x........ is 1 bytes before a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (badrw.c:5)
by 0x........: __libc_start_main (...libc...)
by 0x........: ...