Error: COMPILER_WARNING (CWE-563): [#def1] perl-5.42.2/dist/Time-HiRes/tmp22991.c: scope_hint: In function ‘main’ perl-5.42.2/dist/Time-HiRes/tmp22991.c:7:13: warning[-Wunused-variable]: unused variable ‘tictoc’ # 7 | clock_t tictoc; # | ^~~~~~ Error: COMPILER_WARNING (CWE-457): [#def2] perl-5.42.2/dist/Time-HiRes/tmp22991.c:9:12: warning[-Wmaybe-uninitialized]: ‘ts1’ may be used uninitialized # 9 | ret1 = futimens(0, ts1); # | ^~~~~~~~~~~~~~~~ perl-5.42.2/perl.h:1771: included_from: Included from here. /usr/include/sys/stat.h:452:12: note: by argument 2 of type ‘const struct timespec[2]’ to ‘futimens’ declared here # 452 | extern int futimens (int __fd, const struct timespec __times[2]) __THROW; # | ^~~~~~~~ perl-5.42.2/dist/Time-HiRes/tmp22991.c:8:21: note: ‘ts1’ declared here # 8 | struct timespec ts1[2], ts2[2]; # | ^~~ Error: COMPILER_WARNING (CWE-252): [#def3] perl-5.42.2/dist/Time-HiRes/tmp22991.c: scope_hint: In function ‘main’ perl-5.42.2/dist/Time-HiRes/tmp22991.c:11:5: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ # 11 | read(0, buf, 0); /* Assuming reading nothing updates atime (the [0]) */ # | ^~~~~~~~~~~~~~~ Error: COMPILER_WARNING (CWE-457): [#def4] perl-5.42.2/dist/Time-HiRes/tmp22991.c:12:12: warning[-Wmaybe-uninitialized]: ‘ts1’ may be used uninitialized # 12 | ret1 = utimensat(AT_FDCWD, "/dev/stdin", ts1, 0); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ perl-5.42.2/perl.h:1771: included_from: Included from here. /usr/include/sys/stat.h:433:12: note: by argument 3 of type ‘const struct timespec[2]’ to ‘utimensat’ declared here # 433 | extern int utimensat (int __fd, const char *__path, # | ^~~~~~~~~ perl-5.42.2/dist/Time-HiRes/tmp22991.c:9:21: note: ‘ts1’ declared here # 9 | struct timespec ts1[2], ts2[2]; # | ^~~ Error: GCC_ANALYZER_WARNING (CWE-457): [#def5] perl-5.42.2/dist/Time-HiRes/tmp22991.c:13:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts1[0].tv_nsec’ perl-5.42.2/dist/Time-HiRes/tmp22991.c:13:5: branch_true: following ‘true’ branch... perl-5.42.2/dist/Time-HiRes/tmp22991.c:13:32: branch_true: ...to here perl-5.42.2/dist/Time-HiRes/tmp22991.c:13:32: danger: use of uninitialized value ‘ts1[0].tv_nsec’ here Error: COMPILER_WARNING (CWE-252): [#def6] perl-5.42.2/dist/Time-HiRes/tmp22991.c: scope_hint: In function ‘main’ perl-5.42.2/dist/Time-HiRes/tmp22991.c:14:5: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ # 14 | read(0, buf, 0); /* Assuming reading nothing updates atime (the [0]) */ # | ^~~~~~~~~~~~~~~ Error: COMPILER_WARNING: [#def7] perl-5.42.2/dist/Time-HiRes/tmp22991.c:16:17: warning[-Wunused-but-set-variable=]: variable ‘st’ set but not used # 16 | struct stat st; # | ^~ Error: GCC_ANALYZER_WARNING (CWE-457): [#def8] perl-5.42.2/dist/Time-HiRes/tmp22991.c:16:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts1[0].tv_nsec’ perl-5.42.2/dist/Time-HiRes/tmp22991.c:16:5: branch_true: following ‘true’ branch... perl-5.42.2/dist/Time-HiRes/tmp22991.c:16:32: branch_true: ...to here perl-5.42.2/dist/Time-HiRes/tmp22991.c:16:32: danger: use of uninitialized value ‘ts1[0].tv_nsec’ here Error: COMPILER_WARNING: [#def9] [important] perl-5.42.2/dist/Time-HiRes/tmp22991.c:17:7: error[error]: ‘struct stat’ has no member named ‘st_atimespec’ Error: COMPILER_WARNING: [#def10] [important] perl-5.42.2/dist/Time-HiRes/tmp22991.c:17:8: error[error]: ‘struct stat’ has no member named ‘st_atime_n’; did you mean ‘st_atim’?
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-74.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | perl-5.42.1-523.fc44 |
| diffbase-store-results-to | /tmp/tmpts992u5s/perl-5.42.1-523.fc44.tar.xz |
| diffbase-time-created | 2026-06-01 15:29:50 |
| diffbase-time-finished | 2026-06-01 15:38:18 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpts992u5s/perl-5.42.1-523.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpts992u5s/perl-5.42.1-523.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-74.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | perl-5.42.2-524.fc45 |
| store-results-to | /tmp/tmp7v_vm0ya/perl-5.42.2-524.fc45.tar.xz |
| time-created | 2026-06-01 15:38:44 |
| time-finished | 2026-06-01 15:46:50 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp7v_vm0ya/perl-5.42.2-524.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp7v_vm0ya/perl-5.42.2-524.fc45.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |