--- /dev/null
+
+Attempting too-big malloc()...
+Attempting too-big mmap()...
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 0 bytes in 0 blocks.
+malloc/free: 2 allocs, 1 frees, 2145386520 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v
--- /dev/null
+
+Jump to the invalid address stated on the next line
+ at 0x........: ???
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ Access not within mapped region at address 0x........
+ at 0x........: ???
+ by 0x........: __libc_start_main (...libc...)
+ by 0x........: ...
+
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 24 bytes in 1 blocks.
+malloc/free: 1 allocs, 0 frees, 24 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v
--- /dev/null
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 0 bytes in 0 blocks.
+malloc/free: 1 allocs, 1 frees, 24 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v
--- /dev/null
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 0 bytes in 0 blocks.
+malloc/free: 1 allocs, 1 frees, 24 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v
VALGRIND_DO_LEAK_CHECK;
VALGRIND_DO_LEAK_CHECK;
VALGRIND_COUNT_LEAKS(n_leaked, n_dubious, n_reachable, n_suppressed);
- if (n_reachable == 147) n_reachable = 99; /* handle glibc differences */
+ if (n_reachable == 123) n_reachable = 99; /* handle glibc differences */
printf("leaks: %dB, %dB, %dB, %dB\n",
n_leaked, n_dubious, n_reachable, n_suppressed);
--- /dev/null
+
+Attempting too-big malloc()...
+Attempting too-big mmap()...
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 0 bytes in 0 blocks.
+malloc/free: 2 allocs, 1 frees, 2145386520 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v
--- /dev/null
+
+Test file created.
+Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s)
+ at 0x........: writev (in /...libc...)
+ by 0x........: main (writev.c:56)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+Received EFAULT as expected
+
+Syscall param writev(vector) contains uninitialised or unaddressable byte(s)
+ at 0x........: writev (in /...libc...)
+ by 0x........: main (writev.c:68)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+Received EINVAL as expected
+
+Syscall param readv(vector) contains uninitialised or unaddressable byte(s)
+ at 0x........: readv (in /...libc...)
+ by 0x........: main (writev.c:76)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+Received EINVAL as expected
+
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 0 bytes in 0 blocks.
+malloc/free: 1 allocs, 1 frees, 24 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v