================================================= ./valgrind-new/helgrind/tests/pth_mempcpy_false_races.stderr.diff ================================================= --- pth_mempcpy_false_races.stderr.exp 2023-09-03 02:30:28.420725628 +0100 +++ pth_mempcpy_false_races.stderr.out 2023-09-03 02:40:50.150113606 +0100 @@ -0,0 +1,224 @@ +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:38) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:37) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,602 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 2 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,604 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,612 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,613 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,732 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x ================================================= ./valgrind-new/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2023-09-03 02:30:28.455726147 +0100 +++ overlap.stderr.out 2023-09-03 02:37:45.634329880 +0100 @@ -1,11 +1,3 @@ -Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (vg_replace_strmem.c:...) - by 0x........: main (overlap.c:40) - -Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (vg_replace_strmem.c:...) - by 0x........: main (overlap.c:42) - Source and destination overlap in strncpy(0x........, 0x........, 21) at 0x........: strncpy (vg_replace_strmem.c:...) by 0x........: main (overlap.c:45) ================================================= ./valgrind-new/memcheck/tests/x86-linux/scalar.stderr.diff ================================================= --- scalar.stderr.exp 2023-09-03 02:30:28.492726695 +0100 +++ scalar.stderr.out 2023-09-03 02:39:50.135209257 +0100 @@ -981,3251 +981,4 @@ by 0x........: main (scalar.c:393) Address 0x........ is not stack'd, malloc'd or (recently) free'd ------------------------------------------------------ - 81: __NR_setgroups 2s 1m ------------------------------------------------------ -Syscall param setgroups16(size) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:397) - -Syscall param setgroups16(list) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:397) - -Syscall param setgroups16(list) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:397) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 82: __NR_select 1s 5m ------------------------------------------------------ -Syscall param old_select(args) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:403) - -Syscall param old_select(args) points to uninitialised byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is on thread 1's stack - in frame #1, created by main (scalar.c:29) - -Syscall param old_select(readfds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(writefds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(exceptfds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(timeout) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 83: __NR_symlink 2s 2m ------------------------------------------------------ -Syscall param symlink(oldpath) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:408) - -Syscall param symlink(newpath) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:408) - -Syscall param symlink(oldpath) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:408) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param symlink(newpath) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:408) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 84: __NR_oldlstat n/a ------------------------------------------------------ ------------------------------------------------------ - 85: __NR_readlink 3s 2m ------------------------------------------------------ -Syscall param readlink(path) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(buf) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(bufsiz) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(path) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:416) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param readlink(buf) points to unaddressable byte(s) ================================================= ./valgrind-old/helgrind/tests/pth_mempcpy_false_races.stderr.diff ================================================= --- pth_mempcpy_false_races.stderr.exp 2023-09-03 02:12:55.996152345 +0100 +++ pth_mempcpy_false_races.stderr.out 2023-09-03 02:23:02.237030108 +0100 @@ -0,0 +1,224 @@ +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:38) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:37) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,602 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 2 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,604 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,612 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,613 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,732 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x ================================================= ./valgrind-old/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2023-09-03 02:12:56.025152770 +0100 +++ overlap.stderr.out 2023-09-03 02:20:05.844431752 +0100 @@ -1,11 +1,3 @@ -Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (vg_replace_strmem.c:...) - by 0x........: main (overlap.c:40) - -Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (vg_replace_strmem.c:...) - by 0x........: main (overlap.c:42) - Source and destination overlap in strncpy(0x........, 0x........, 21) at 0x........: strncpy (vg_replace_strmem.c:...) by 0x........: main (overlap.c:45) ================================================= ./valgrind-old/memcheck/tests/x86-linux/scalar.stderr.diff ================================================= --- scalar.stderr.exp 2023-09-03 02:12:56.058153253 +0100 +++ scalar.stderr.out 2023-09-03 02:22:03.357151618 +0100 @@ -981,3251 +981,4 @@ by 0x........: main (scalar.c:393) Address 0x........ is not stack'd, malloc'd or (recently) free'd ------------------------------------------------------ - 81: __NR_setgroups 2s 1m ------------------------------------------------------ -Syscall param setgroups16(size) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:397) - -Syscall param setgroups16(list) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:397) - -Syscall param setgroups16(list) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:397) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 82: __NR_select 1s 5m ------------------------------------------------------ -Syscall param old_select(args) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:403) - -Syscall param old_select(args) points to uninitialised byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is on thread 1's stack - in frame #1, created by main (scalar.c:29) - -Syscall param old_select(readfds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(writefds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(exceptfds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(timeout) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 83: __NR_symlink 2s 2m ------------------------------------------------------ -Syscall param symlink(oldpath) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:408) - -Syscall param symlink(newpath) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:408) - -Syscall param symlink(oldpath) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:408) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param symlink(newpath) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:408) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 84: __NR_oldlstat n/a ------------------------------------------------------ ------------------------------------------------------ - 85: __NR_readlink 3s 2m ------------------------------------------------------ -Syscall param readlink(path) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(buf) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(bufsiz) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(path) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:416) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param readlink(buf) points to unaddressable byte(s)