summaryrefslogtreecommitdiff
path: root/exp-sgcheck/tests/strlen_bad.stderr.exp
diff options
context:
space:
mode:
Diffstat (limited to 'exp-sgcheck/tests/strlen_bad.stderr.exp')
-rw-r--r--exp-sgcheck/tests/strlen_bad.stderr.exp43
1 files changed, 43 insertions, 0 deletions
diff --git a/exp-sgcheck/tests/strlen_bad.stderr.exp b/exp-sgcheck/tests/strlen_bad.stderr.exp
new file mode 100644
index 00000000..eab9bb33
--- /dev/null
+++ b/exp-sgcheck/tests/strlen_bad.stderr.exp
@@ -0,0 +1,43 @@
+
+Invalid read of size 4
+ at 0x........: strlen (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is 12 bytes inside the accessing pointer's
+ legitimate range, a block of size 13 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: __strdup (in /...libc...)
+ by 0x........: main (strlen.c:14)
+
+Invalid read of size 4
+ at 0x........: strchr (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is 12 bytes inside the accessing pointer's
+ legitimate range, a block of size 13 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: __strdup (in /...libc...)
+ by 0x........: main (strlen.c:14)
+
+Invalid read of size 4
+ at 0x........: strrchr (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is 12 bytes inside the accessing pointer's
+ legitimate range, a block of size 13 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: __strdup (in /...libc...)
+ by 0x........: main (strlen.c:14)
+
+Invalid read of size 4
+ at 0x........: strrchr (in /...libc...)
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is 12 bytes inside the accessing pointer's
+ legitimate range, a block of size 13 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: __strdup (in /...libc...)
+ by 0x........: main (strlen.c:14)
+
+
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)