Error: SHELLCHECK_WARNING (CWE-758): [#def1] /etc/profile.d/colorls.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. # 1|-> # color-ls initialization # 2| # 3| # Skip all for noninteractive shells. Error: CPPCHECK_WARNING (CWE-476): [#def2] coreutils-9.10/lib/canonicalize.c:461: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result # 459| if (!result) # 460| xalloc_die (); # 461|-> return memcpy (result, rname, dest - rname); # 462| } # 463| Error: COMPILER_WARNING (CWE-562): [#def3] coreutils-9.10/lib/careadlinkat.c: scope_hint: In function 'careadlinkat.constprop' coreutils-9.10/lib/careadlinkat.c:180:10: warning[-Wreturn-local-addr]: function may return address of local variable # 180 | return readlink_stk (fd, filename, buffer, buffer_size, alloc, # | ^ coreutils-9.10/lib/careadlinkat.c:179:8: note: declared here # 179 | char stack_buf[STACK_BUF_SIZE]; # | ^ # 178| #endif # 179| char stack_buf[STACK_BUF_SIZE]; # 180|-> return readlink_stk (fd, filename, buffer, buffer_size, alloc, # 181| preadlinkat, stack_buf); # 182| } Error: GCC_ANALYZER_WARNING (CWE-401): [#def4] coreutils-9.10/lib/exclude.c:580:11: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(pattern)' # 578| # 579| char *str = xstrdup (pattern); # 580|-> if ((options & (EXCLUDE_WILDCARDS | FNM_NOESCAPE)) == EXCLUDE_WILDCARDS) # 581| unescape_pattern (str); # 582| if (hash_insert (ex->head->v.table, str) != str) Error: CPPCHECK_WARNING (CWE-457): [#def5] coreutils-9.10/lib/file-has-acl.c:496: error[uninitvar]: Uninitialized variable: buf # 494| int ret = (fd < 0 # 495| ? ((flags & ACL_SYMLINK_FOLLOW ? getxattr : lgetxattr) # 496|-> (name, XATTR_NAME_NFSV4_ACL, buf, sizeof buf)) # 497| : fgetxattr (fd, XATTR_NAME_NFSV4_ACL, buf, sizeof buf)); # 498| if (ret < 0) Error: GCC_ANALYZER_WARNING (CWE-401): [#def6] coreutils-9.10/lib/file-set.c:36:17: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)' coreutils-9.10/lib/file-set.c:31:6: branch_false: following 'false' branch (when 'ht' is non-NULL)... coreutils-9.10/lib/file-set.c:34:26: branch_false: ...to here coreutils-9.10/lib/file-set.c:36:17: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) # 34| struct F_triple *ent = xmalloc (sizeof *ent); # 35| ent->name = xstrdup (file); # 36|-> ent->st_ino = stats->st_ino; # 37| ent->st_dev = stats->st_dev; # 38| Error: GCC_ANALYZER_WARNING (CWE-401): [#def7] coreutils-9.10/lib/fts-cycle.c:118:1: warning[-Wanalyzer-malloc-leak]: leak of 'ad' coreutils-9.10/lib/fts-cycle.c:78:31: acquire_memory: allocated here coreutils-9.10/lib/fts-cycle.c:79:10: branch_false: following 'false' branch (when 'ad' is non-NULL)... coreutils-9.10/lib/fts-cycle.c:83:17: branch_false: ...to here coreutils-9.10/lib/fts-cycle.c:92:10: branch_false: following 'false' branch... coreutils-9.10/lib/fts-cycle.c:92:10: branch_false: ...to here coreutils-9.10/lib/fts-cycle.c:118:1: danger: 'ad' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) # 116| # 117| return true; # 118|-> } # 119| # 120| /* Leave a directory during a file tree walk. */ Error: GCC_ANALYZER_WARNING (CWE-401): [#def8] coreutils-9.10/lib/fts.c:744:10: warning[-Wanalyzer-malloc-leak]: leak of 't2' coreutils-9.10/lib/fts.c:1271:1: enter_function: entry to 'fts_build' coreutils-9.10/lib/fts.c:1280:12: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1300:34: branch_false: ...to here coreutils-9.10/lib/fts.c:1300:16: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1312:38: branch_false: ...to here coreutils-9.10/lib/fts.c:1324:20: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1336:20: branch_false: ...to here coreutils-9.10/lib/fts.c:1373:12: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1383:23: branch_false: ...to here coreutils-9.10/lib/fts.c:1383:23: branch_true: following 'true' branch (when 'type != 2')... coreutils-9.10/lib/fts.c:1384:30: branch_true: ...to here coreutils-9.10/lib/fts.c:1383:23: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1384:30: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1386:33: branch_false: ...to here coreutils-9.10/lib/fts.c:1384:30: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1387:34: branch_false: ...to here coreutils-9.10/lib/fts.c:1387:34: call_function: calling 'leaf_optimization' from 'fts_build' # 742| } # 743| # 744|-> return fs_buf.f_type; # 745| } # 746| Error: GCC_ANALYZER_WARNING (CWE-401): [#def9] coreutils-9.10/lib/fts.c:1300:16: warning[-Wanalyzer-malloc-leak]: leak of '**sp.fts_cur.fts_dirp' coreutils-9.10/lib/fts.c:1280:12: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1300:34: branch_false: ...to here coreutils-9.10/lib/fts.c:1300:34: acquire_memory: allocated here coreutils-9.10/lib/fts.c:1300:16: danger: '**sp.fts_cur.fts_dirp' leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) # 1298| /* Open the directory for reading. If this fails, we're done. # 1299| If being called from fts_read, set the fts_info field. */ # 1300|-> if ((cur->fts_dirp = fts_opendir(cur->fts_accpath, &dir_fd)) == NULL) # 1301| { # 1302| if (type == BREAD) Error: GCC_ANALYZER_WARNING (CWE-476): [#def10] coreutils-9.10/lib/fts.c:1597:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cp' coreutils-9.10/lib/fts.c:1116:1: enter_function: entry to 'rpl_fts_children' coreutils-9.10/lib/fts.c:1118:12: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1124:26: branch_false: ...to here coreutils-9.10/lib/fts.c:1133:12: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1137:13: branch_false: ...to here coreutils-9.10/lib/fts.c:1137:12: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1145:12: branch_false: ...to here coreutils-9.10/lib/fts.c:1145:12: branch_false: following 'false' branch... coreutils-9.10/lib/fts.c:1149:13: branch_false: ...to here coreutils-9.10/lib/fts.c:1152:12: branch_false: following 'false' branch (when 'instr != 8192')... coreutils-9.10/lib/fts.c:1165:13: branch_false: ...to here coreutils-9.10/lib/fts.c:1167:41: call_function: calling 'fts_build' from 'rpl_fts_children' # 1595| if (len == sp->fts_pathlen || nitems == 0) # 1596| --cp; # 1597|-> *cp = '\0'; # 1598| } # 1599| Error: CPPCHECK_WARNING (CWE-664): [#def11] coreutils-9.10/lib/long-options.c:75: error[va_end_missing]: va_list 'authors' was opened but not closed by va_end(). # 73| version_etc_va (stdout, command_name, package, version, authors); # 74| exit (EXIT_SUCCESS); # 75|-> } # 76| # 77| default: Error: CPPCHECK_WARNING (CWE-664): [#def12] coreutils-9.10/lib/long-options.c:129: error[va_end_missing]: va_list 'authors' was opened but not closed by va_end(). # 127| version_etc_va (stdout, command_name, package, version, authors); # 128| exit (EXIT_SUCCESS); # 129|-> } # 130| # 131| default: Error: GCC_ANALYZER_WARNING (CWE-457): [#def13] coreutils-9.10/lib/posixtm.c:55:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*digit_pair' coreutils-9.10/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse' coreutils-9.10/lib/posixtm.c:110:6: branch_false: following 'false' branch... coreutils-9.10/lib/posixtm.c:120:21: branch_false: following 'false' branch (when 'i >= len')... coreutils-9.10/lib/posixtm.c:124:9: branch_false: ...to here coreutils-9.10/lib/posixtm.c:124:6: branch_true: following 'true' branch... coreutils-9.10/lib/posixtm.c:126:13: branch_true: ...to here coreutils-9.10/lib/posixtm.c:126:13: call_function: calling 'year' from 'posix_time_parse' # 53| { # 54| case 1: # 55|-> tm->tm_year = *digit_pair; # 56| /* Deduce the century based on the year. # 57| POSIX requires that 00-68 be interpreted as 2000-2068, Error: GCC_ANALYZER_WARNING (CWE-457): [#def14] coreutils-9.10/lib/posixtm.c:70:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*digit_pair' coreutils-9.10/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse' coreutils-9.10/lib/posixtm.c:110:6: branch_false: following 'false' branch... coreutils-9.10/lib/posixtm.c:120:21: branch_false: following 'false' branch (when 'i >= len')... coreutils-9.10/lib/posixtm.c:124:9: branch_false: ...to here coreutils-9.10/lib/posixtm.c:124:6: branch_true: following 'true' branch... coreutils-9.10/lib/posixtm.c:126:13: branch_true: ...to here coreutils-9.10/lib/posixtm.c:126:13: call_function: calling 'year' from 'posix_time_parse' # 68| if (! (syntax_bits & PDS_CENTURY)) # 69| return false; # 70|-> tm->tm_year = digit_pair[0] * 100 + digit_pair[1] - 1900; # 71| break; # 72| Error: GCC_ANALYZER_WARNING (CWE-457): [#def15] coreutils-9.10/lib/posixtm.c:70:43: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'digit_pair[1]' coreutils-9.10/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse' coreutils-9.10/lib/posixtm.c:110:6: branch_false: following 'false' branch... coreutils-9.10/lib/posixtm.c:120:21: branch_true: following 'true' branch (when 'i < len')... coreutils-9.10/lib/posixtm.c:121:23: branch_true: ...to here coreutils-9.10/lib/posixtm.c:120:21: branch_false: following 'false' branch (when 'i >= len')... coreutils-9.10/lib/posixtm.c:124:9: branch_false: ...to here coreutils-9.10/lib/posixtm.c:124:6: branch_true: following 'true' branch... coreutils-9.10/lib/posixtm.c:126:13: branch_true: ...to here coreutils-9.10/lib/posixtm.c:126:13: call_function: calling 'year' from 'posix_time_parse' # 68| if (! (syntax_bits & PDS_CENTURY)) # 69| return false; # 70|-> tm->tm_year = digit_pair[0] * 100 + digit_pair[1] - 1900; # 71| break; # 72| Error: GCC_ANALYZER_WARNING (CWE-401): [#def16] coreutils-9.10/lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v1' coreutils-9.10/lib/randperm.c:115:6: branch_true: following 'true' branch... coreutils-9.10/lib/randperm.c:117:12: branch_true: ...to here coreutils-9.10/lib/randperm.c:120:6: branch_false: following 'false' branch... coreutils-9.10/lib/randperm.c:126:10: branch_false: ...to here coreutils-9.10/lib/randperm.c:129:6: branch_false: following 'false' branch... coreutils-9.10/lib/randperm.c:131:8: branch_false: ...to here coreutils-9.10/lib/randperm.c:131:6: branch_false: following 'false' branch... coreutils-9.10/lib/randperm.c:134:4: branch_false: ...to here coreutils-9.10/lib/randperm.c:135:1: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) # 133| # 134| v[i] = v1->val; # 135|-> } # 136| # 137| static void Error: GCC_ANALYZER_WARNING (CWE-401): [#def17] coreutils-9.10/lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v2' coreutils-9.10/lib/randperm.c:115:6: branch_false: following 'false' branch... coreutils-9.10/lib/randperm.c:120:6: branch_false: ...to here coreutils-9.10/lib/randperm.c:120:6: branch_true: following 'true' branch... coreutils-9.10/lib/randperm.c:122:12: branch_true: ...to here coreutils-9.10/lib/randperm.c:129:6: branch_false: following 'false' branch... coreutils-9.10/lib/randperm.c:131:8: branch_false: ...to here coreutils-9.10/lib/randperm.c:131:6: branch_false: following 'false' branch... coreutils-9.10/lib/randperm.c:134:4: branch_false: ...to here coreutils-9.10/lib/randperm.c:135:1: danger: 'v2' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4) # 133| # 134| v[i] = v1->val; # 135|-> } # 136| # 137| static void Error: GCC_ANALYZER_WARNING (CWE-476): [#def18] coreutils-9.10/lib/readutmp.c:251:3: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p' coreutils-9.10/lib/readutmp.c:976:1: enter_function: entry to 'read_utmp' coreutils-9.10/lib/readutmp.c:980:6: branch_true: following 'true' branch (when the strings are equal)... coreutils-9.10/lib/readutmp.c:982:12: branch_true: ...to here coreutils-9.10/lib/readutmp.c:982:12: call_function: calling 'read_utmp_from_systemd' from 'read_utmp' # 249| char *stringlim = (char *) a.utmp + a.alloc_bytes; # 250| char *p = stringlim - a.string_bytes; # 251|-> *--p = '\0'; /* NUL-terminate ut->ut_user */ # 252| ut->ut_user = p = memcpy (p - user_len, user, user_len); # 253| *--p = '\0'; /* NUL-terminate ut->ut_id */ Error: GCC_ANALYZER_WARNING (CWE-401): [#def19] coreutils-9.10/lib/time_rz.c:100:22: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))' coreutils-9.10/separate/lib/time.h:1122:1: enter_function: entry to 'mktime_z' coreutils-9.10/lib/time_rz.c:292:6: branch_false: following 'false' branch (when 'tz' is non-NULL)... coreutils-9.10/lib/time_rz.c:296:27: branch_false: ...to here coreutils-9.10/lib/time_rz.c:296:27: call_function: calling 'set_tz' from 'mktime_z' # 98| { # 99| size_t name_size = name ? strlen (name) + 1 : 0; # 100|-> size_t abbr_size = name_size < ABBR_SIZE_MIN ? ABBR_SIZE_MIN : name_size + 1; # 101| timezone_t tz = malloc (FLEXSIZEOF (struct tm_zone, abbrs, abbr_size)); # 102| if (tz) Error: GCC_ANALYZER_WARNING (CWE-401): [#def20] coreutils-9.10/lib/time_rz.c:218:10: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)' coreutils-9.10/separate/lib/time.h:1122:1: enter_function: entry to 'mktime_z' coreutils-9.10/lib/time_rz.c:292:6: branch_false: following 'false' branch (when 'tz' is non-NULL)... coreutils-9.10/lib/time_rz.c:296:27: branch_false: ...to here coreutils-9.10/lib/time_rz.c:296:27: call_function: calling 'set_tz' from 'mktime_z' coreutils-9.10/lib/time_rz.c:296:27: return_function: returning to 'mktime_z' from 'set_tz' coreutils-9.10/lib/time_rz.c:297:10: branch_true: following 'true' branch... coreutils-9.10/lib/time_rz.c:300:25: branch_true: ...to here coreutils-9.10/lib/time_rz.c:311:15: call_function: calling 'revert_tz' from 'mktime_z' # 216| if (env_tz # 217| ? tz->tz_is_set && streq (tz->abbrs, env_tz) # 218|-> : !tz->tz_is_set) # 219| return local_tz; # 220| else Error: CPPCHECK_WARNING (CWE-457): [#def21] coreutils-9.10/lib/xdectoint.c:75: warning[uninitvar]: Uninitialized variable: overflow_errno # 73| } # 74| # 75|-> int e = s_err == LONGINT_OVERFLOW ? overflow_errno : 0; # 76| # 77| if (! (s_err == LONGINT_OK Error: CPPCHECK_WARNING (CWE-457): [#def22] coreutils-9.10/lib/xdectoint.c:83: warning[uninitvar]: Uninitialized variable: r # 81| # 82| errno = e; # 83|-> return r; # 84| } # 85| Error: GCC_ANALYZER_WARNING (CWE-457): [#def23] coreutils-9.10/separate/parse-datetime.c:1829:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>' coreutils-9.10/separate/parse-datetime.y:2389:1: enter_function: entry to 'parse_datetime' coreutils-9.10/separate/parse-datetime.y:2394:6: branch_false: following 'false' branch... coreutils-9.10/separate/parse-datetime.y:2396:13: branch_false: ...to here coreutils-9.10/separate/parse-datetime.y:2396:13: call_function: calling 'parse_datetime_body' from 'parse_datetime' # 1827| unconditionally makes the parser a bit smaller, and it avoids a # 1828| GCC warning that YYVAL may be used uninitialized. */ # 1829|-> yyval = yyvsp[1-yylen]; # 1830| # 1831| Error: GCC_ANALYZER_WARNING (CWE-457): [#def24] coreutils-9.10/single/parse-datetime.c:1829:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>' coreutils-9.10/single/parse-datetime.y:2389:1: enter_function: entry to 'parse_datetime' coreutils-9.10/single/parse-datetime.y:2394:6: branch_false: following 'false' branch... coreutils-9.10/single/parse-datetime.y:2396:13: branch_false: ...to here coreutils-9.10/single/parse-datetime.y:2396:13: call_function: calling 'parse_datetime_body' from 'parse_datetime' # 1827| unconditionally makes the parser a bit smaller, and it avoids a # 1828| GCC warning that YYVAL may be used uninitialized. */ # 1829|-> yyval = yyvsp[1-yylen]; # 1830| # 1831| Error: GCC_ANALYZER_WARNING (CWE-476): [#def25] coreutils-9.10/src/chmod.c:562:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'mode' coreutils-9.10/src/chmod.c:499:10: branch_true: following 'true' branch (when 'c != -1')... coreutils-9.10/src/chmod.c:505:7: branch_true: ...to here coreutils-9.10/src/chmod.c:559:16: branch_false: following 'false' branch... coreutils-9.10/src/chmod.c:562:17: branch_false: ...to here coreutils-9.10/src/chmod.c:562:13: danger: dereference of NULL 'mode + (sizetype)mode_len' # 560| mode = xpalloc (mode, &mode_alloc, # 561| new_mode_len + 1 - mode_alloc, -1, 1); # 562|-> mode[mode_len] = ','; # 563| memcpy (mode + mode_comma_len, arg, arg_len + 1); # 564| mode_len = new_mode_len; Error: GCC_ANALYZER_WARNING (CWE-476): [#def26] coreutils-9.10/src/chroot.c:146:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'gids' coreutils-9.10/src/chroot.c:219:1: enter_function: entry to 'main' coreutils-9.10/src/chroot.c:232:16: release_memory: 'out_gids' is NULL coreutils-9.10/src/chroot.c:244:10: branch_true: following 'true' branch (when 'c != -1')... coreutils-9.10/src/chroot.c:246:7: branch_true: ...to here coreutils-9.10/src/chroot.c:277:6: branch_false: following 'false' branch... coreutils-9.10/src/chroot.c:283:29: branch_false: ...to here coreutils-9.10/src/chroot.c:286:6: branch_false: following 'false' branch... coreutils-9.10/src/chroot.c:293:6: branch_false: ...to here coreutils-9.10/src/chroot.c:293:6: branch_false: following 'false' branch... coreutils-9.10/src/chroot.c:301:10: branch_false: ...to here coreutils-9.10/src/chroot.c:301:10: branch_false: following 'false' branch (when 'userspec' is NULL)... coreutils-9.10/src/chroot.c:306:11: branch_false: ...to here coreutils-9.10/src/chroot.c:306:10: branch_false: following 'false' branch... coreutils-9.10/src/chroot.c:317:10: branch_false: ...to here coreutils-9.10/src/chroot.c:317:10: branch_true: following 'true' branch... coreutils-9.10/src/chroot.c:318:9: call_function: calling 'parse_additional_groups' from 'main' # 144| if (n_gids == n_gids_allocated) # 145| gids = xpalloc (gids, &n_gids_allocated, 1, -1, sizeof *gids); # 146|-> gids[n_gids++] = value; # 147| } # 148| Error: CPPCHECK_WARNING (CWE-457): [#def27] coreutils-9.10/src/cksum.c:1370: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned # 1368| unsigned char bin_buffer_unaligned[DIGEST_BIN_BYTES + DIGEST_ALIGN]; # 1369| /* Make sure bin_buffer is properly aligned. */ # 1370|-> unsigned char *bin_buffer = ptr_align (bin_buffer_unaligned, DIGEST_ALIGN); # 1371| uintmax_t line_number; # 1372| char *line; Error: CPPCHECK_WARNING (CWE-457): [#def28] coreutils-9.10/src/cksum.c:1573: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned # 1571| unsigned char bin_buffer_unaligned[DIGEST_BIN_BYTES + DIGEST_ALIGN]; # 1572| /* Make sure bin_buffer is properly aligned. */ # 1573|-> unsigned char *bin_buffer = ptr_align (bin_buffer_unaligned, DIGEST_ALIGN); # 1574| bool do_check = false; # 1575| int opt; Error: COMPILER_WARNING: [#def29] coreutils-9.10/src/cksum_avx2.c:46:3: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI # 44| "Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction" # 45| */ # 46|-> single_mult_constant = _mm256_set_epi64x (0x569700E5, 0x75BE46B7, # 47| 0x569700E5, 0x75BE46B7); # 48| four_mult_constant = _mm256_set_epi64x (0x10BD4D7C, 0x567FDDEB, Error: COMPILER_WARNING: [#def30] coreutils-9.10/src/cksum_avx2.c:46:26: note[note]: called from here # 44| "Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction" # 45| */ # 46|-> single_mult_constant = _mm256_set_epi64x (0x569700E5, 0x75BE46B7, # 47| 0x569700E5, 0x75BE46B7); # 48| four_mult_constant = _mm256_set_epi64x (0x10BD4D7C, 0x567FDDEB, Error: COMPILER_WARNING: [#def31] coreutils-9.10/src/cksum_avx2.c:48:24: note[note]: called from here # 46| single_mult_constant = _mm256_set_epi64x (0x569700E5, 0x75BE46B7, # 47| 0x569700E5, 0x75BE46B7); # 48|-> four_mult_constant = _mm256_set_epi64x (0x10BD4D7C, 0x567FDDEB, # 49| 0x10BD4D7C, 0x567FDDEB); # 50| Error: COMPILER_WARNING: [#def32] coreutils-9.10/src/cksum_avx2.c:52:22: note[note]: called from here # 50| # 51| /* Constant to byteswap a full AVX2 register */ # 52|-> shuffle_constant = _mm256_set_epi8 (0, 1, 2, 3, 4, 5, 6, 7, 8, # 53| 9, 10, 11, 12, 13, 14, 15, # 54| 0, 1, 2, 3, 4, 5, 6, 7, 8, Error: COMPILER_WARNING: [#def33] coreutils-9.10/src/cksum_avx2.c:82:18: note[note]: called from here # 80| if (bytes_read >= 16 * 8 * 2) # 81| { # 82|-> data = _mm256_loadu_si256 (datap); # 83| data = _mm256_shuffle_epi8 (data, shuffle_constant); # 84| /* XOR in initial CRC value (for us 0 so no effect), or CRC value Error: COMPILER_WARNING: [#def34] coreutils-9.10/src/cksum_avx2.c:83:18: note[note]: called from here # 81| { # 82| data = _mm256_loadu_si256 (datap); # 83|-> data = _mm256_shuffle_epi8 (data, shuffle_constant); # 84| /* XOR in initial CRC value (for us 0 so no effect), or CRC value # 85| calculated for previous BUFLEN buffer from fread */ Error: COMPILER_WARNING: [#def35] coreutils-9.10/src/cksum_avx2.c:86:21: note[note]: called from here # 84| /* XOR in initial CRC value (for us 0 so no effect), or CRC value # 85| calculated for previous BUFLEN buffer from fread */ # 86|-> xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0); # 87| crc = 0; # 88| data = _mm256_xor_si256 (data, xor_crc); Error: COMPILER_WARNING: [#def36] coreutils-9.10/src/cksum_avx2.c:88:18: note[note]: called from here # 86| xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0); # 87| crc = 0; # 88|-> data = _mm256_xor_si256 (data, xor_crc); # 89| data3 = _mm256_loadu_si256 (datap + 1); # 90| data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); Error: COMPILER_WARNING: [#def37] coreutils-9.10/src/cksum_avx2.c:89:19: note[note]: called from here # 87| crc = 0; # 88| data = _mm256_xor_si256 (data, xor_crc); # 89|-> data3 = _mm256_loadu_si256 (datap + 1); # 90| data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); # 91| data5 = _mm256_loadu_si256 (datap + 2); Error: COMPILER_WARNING: [#def38] coreutils-9.10/src/cksum_avx2.c:90:19: note[note]: called from here # 88| data = _mm256_xor_si256 (data, xor_crc); # 89| data3 = _mm256_loadu_si256 (datap + 1); # 90|-> data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); # 91| data5 = _mm256_loadu_si256 (datap + 2); # 92| data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); Error: COMPILER_WARNING: [#def39] coreutils-9.10/src/cksum_avx2.c:91:19: note[note]: called from here # 89| data3 = _mm256_loadu_si256 (datap + 1); # 90| data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); # 91|-> data5 = _mm256_loadu_si256 (datap + 2); # 92| data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); # 93| data7 = _mm256_loadu_si256 (datap + 3); Error: COMPILER_WARNING: [#def40] coreutils-9.10/src/cksum_avx2.c:92:19: note[note]: called from here # 90| data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); # 91| data5 = _mm256_loadu_si256 (datap + 2); # 92|-> data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); # 93| data7 = _mm256_loadu_si256 (datap + 3); # 94| data7 = _mm256_shuffle_epi8 (data7, shuffle_constant); Error: COMPILER_WARNING: [#def41] coreutils-9.10/src/cksum_avx2.c:93:19: note[note]: called from here # 91| data5 = _mm256_loadu_si256 (datap + 2); # 92| data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); # 93|-> data7 = _mm256_loadu_si256 (datap + 3); # 94| data7 = _mm256_shuffle_epi8 (data7, shuffle_constant); # 95| Error: COMPILER_WARNING: [#def42] coreutils-9.10/src/cksum_avx2.c:94:19: note[note]: called from here # 92| data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); # 93| data7 = _mm256_loadu_si256 (datap + 3); # 94|-> data7 = _mm256_shuffle_epi8 (data7, shuffle_constant); # 95| # 96| while (bytes_read >= 16 * 8 * 2) Error: COMPILER_WARNING: [#def43] coreutils-9.10/src/cksum_avx2.c:101:23: note[note]: called from here # 99| # 100| /* Do multiplication here for 8x consecutive 16 byte blocks */ # 101|-> data2 = _mm256_clmulepi64_epi128 (data, four_mult_constant, # 102| 0x00); # 103| data = _mm256_clmulepi64_epi128 (data, four_mult_constant, Error: COMPILER_WARNING: [#def44] coreutils-9.10/src/cksum_avx2.c:103:22: note[note]: called from here # 101| data2 = _mm256_clmulepi64_epi128 (data, four_mult_constant, # 102| 0x00); # 103|-> data = _mm256_clmulepi64_epi128 (data, four_mult_constant, # 104| 0x11); # 105| data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant, Error: COMPILER_WARNING: [#def45] coreutils-9.10/src/cksum_avx2.c:105:23: note[note]: called from here # 103| data = _mm256_clmulepi64_epi128 (data, four_mult_constant, # 104| 0x11); # 105|-> data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant, # 106| 0x00); # 107| data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant, Error: COMPILER_WARNING: [#def46] coreutils-9.10/src/cksum_avx2.c:107:23: note[note]: called from here # 105| data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant, # 106| 0x00); # 107|-> data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant, # 108| 0x11); # 109| data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant, Error: COMPILER_WARNING: [#def47] coreutils-9.10/src/cksum_avx2.c:109:23: note[note]: called from here # 107| data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant, # 108| 0x11); # 109|-> data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant, # 110| 0x00); # 111| data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant, Error: COMPILER_WARNING: [#def48] coreutils-9.10/src/cksum_avx2.c:111:23: note[note]: called from here # 109| data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant, # 110| 0x00); # 111|-> data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant, # 112| 0x11); # 113| data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant, Error: COMPILER_WARNING: [#def49] coreutils-9.10/src/cksum_avx2.c:113:23: note[note]: called from here # 111| data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant, # 112| 0x11); # 113|-> data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant, # 114| 0x00); # 115| data7 = _mm256_clmulepi64_epi128 (data7, four_mult_constant, Error: COMPILER_WARNING: [#def50] coreutils-9.10/src/cksum_avx2.c:115:23: note[note]: called from here # 113| data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant, # 114| 0x00); # 115|-> data7 = _mm256_clmulepi64_epi128 (data7, four_mult_constant, # 116| 0x11); # 117| Error: COMPILER_WARNING: [#def51] coreutils-9.10/src/cksum_avx2.c:123:22: note[note]: called from here # 121| Keep xor result in variables for multiplication in next # 122| round of loop. */ # 123|-> data = _mm256_xor_si256 (data, data2); # 124| data2 = _mm256_loadu_si256 (datap); # 125| data2 = _mm256_shuffle_epi8 (data2, shuffle_constant); Error: COMPILER_WARNING: [#def52] coreutils-9.10/src/cksum_avx2.c:124:23: note[note]: called from here # 122| round of loop. */ # 123| data = _mm256_xor_si256 (data, data2); # 124|-> data2 = _mm256_loadu_si256 (datap); # 125| data2 = _mm256_shuffle_epi8 (data2, shuffle_constant); # 126| data = _mm256_xor_si256 (data, data2); Error: COMPILER_WARNING: [#def53] coreutils-9.10/src/cksum_avx2.c:125:23: note[note]: called from here # 123| data = _mm256_xor_si256 (data, data2); # 124| data2 = _mm256_loadu_si256 (datap); # 125|-> data2 = _mm256_shuffle_epi8 (data2, shuffle_constant); # 126| data = _mm256_xor_si256 (data, data2); # 127| Error: COMPILER_WARNING: [#def54] coreutils-9.10/src/cksum_avx2.c:126:22: note[note]: called from here # 124| data2 = _mm256_loadu_si256 (datap); # 125| data2 = _mm256_shuffle_epi8 (data2, shuffle_constant); # 126|-> data = _mm256_xor_si256 (data, data2); # 127| # 128| data3 = _mm256_xor_si256 (data3, data4); Error: COMPILER_WARNING: [#def55] coreutils-9.10/src/cksum_avx2.c:128:23: note[note]: called from here # 126| data = _mm256_xor_si256 (data, data2); # 127| # 128|-> data3 = _mm256_xor_si256 (data3, data4); # 129| data4 = _mm256_loadu_si256 (datap + 1); # 130| data4 = _mm256_shuffle_epi8 (data4, shuffle_constant); Error: COMPILER_WARNING: [#def56] coreutils-9.10/src/cksum_avx2.c:129:23: note[note]: called from here # 127| # 128| data3 = _mm256_xor_si256 (data3, data4); # 129|-> data4 = _mm256_loadu_si256 (datap + 1); # 130| data4 = _mm256_shuffle_epi8 (data4, shuffle_constant); # 131| data3 = _mm256_xor_si256 (data3, data4); Error: COMPILER_WARNING: [#def57] coreutils-9.10/src/cksum_avx2.c:130:23: note[note]: called from here # 128| data3 = _mm256_xor_si256 (data3, data4); # 129| data4 = _mm256_loadu_si256 (datap + 1); # 130|-> data4 = _mm256_shuffle_epi8 (data4, shuffle_constant); # 131| data3 = _mm256_xor_si256 (data3, data4); # 132| Error: COMPILER_WARNING: [#def58] coreutils-9.10/src/cksum_avx2.c:131:23: note[note]: called from here # 129| data4 = _mm256_loadu_si256 (datap + 1); # 130| data4 = _mm256_shuffle_epi8 (data4, shuffle_constant); # 131|-> data3 = _mm256_xor_si256 (data3, data4); # 132| # 133| data5 = _mm256_xor_si256 (data5, data6); Error: COMPILER_WARNING: [#def59] coreutils-9.10/src/cksum_avx2.c:133:23: note[note]: called from here # 131| data3 = _mm256_xor_si256 (data3, data4); # 132| # 133|-> data5 = _mm256_xor_si256 (data5, data6); # 134| data6 = _mm256_loadu_si256 (datap + 2); # 135| data6 = _mm256_shuffle_epi8 (data6, shuffle_constant); Error: COMPILER_WARNING: [#def60] coreutils-9.10/src/cksum_avx2.c:134:23: note[note]: called from here # 132| # 133| data5 = _mm256_xor_si256 (data5, data6); # 134|-> data6 = _mm256_loadu_si256 (datap + 2); # 135| data6 = _mm256_shuffle_epi8 (data6, shuffle_constant); # 136| data5 = _mm256_xor_si256 (data5, data6); Error: COMPILER_WARNING: [#def61] coreutils-9.10/src/cksum_avx2.c:135:23: note[note]: called from here # 133| data5 = _mm256_xor_si256 (data5, data6); # 134| data6 = _mm256_loadu_si256 (datap + 2); # 135|-> data6 = _mm256_shuffle_epi8 (data6, shuffle_constant); # 136| data5 = _mm256_xor_si256 (data5, data6); # 137| Error: COMPILER_WARNING: [#def62] coreutils-9.10/src/cksum_avx2.c:136:23: note[note]: called from here # 134| data6 = _mm256_loadu_si256 (datap + 2); # 135| data6 = _mm256_shuffle_epi8 (data6, shuffle_constant); # 136|-> data5 = _mm256_xor_si256 (data5, data6); # 137| # 138| data7 = _mm256_xor_si256 (data7, data8); Error: COMPILER_WARNING: [#def63] coreutils-9.10/src/cksum_avx2.c:138:23: note[note]: called from here # 136| data5 = _mm256_xor_si256 (data5, data6); # 137| # 138|-> data7 = _mm256_xor_si256 (data7, data8); # 139| data8 = _mm256_loadu_si256 (datap + 3); # 140| data8 = _mm256_shuffle_epi8 (data8, shuffle_constant); Error: COMPILER_WARNING: [#def64] coreutils-9.10/src/cksum_avx2.c:139:23: note[note]: called from here # 137| # 138| data7 = _mm256_xor_si256 (data7, data8); # 139|-> data8 = _mm256_loadu_si256 (datap + 3); # 140| data8 = _mm256_shuffle_epi8 (data8, shuffle_constant); # 141| data7 = _mm256_xor_si256 (data7, data8); Error: COMPILER_WARNING: [#def65] coreutils-9.10/src/cksum_avx2.c:140:23: note[note]: called from here # 138| data7 = _mm256_xor_si256 (data7, data8); # 139| data8 = _mm256_loadu_si256 (datap + 3); # 140|-> data8 = _mm256_shuffle_epi8 (data8, shuffle_constant); # 141| data7 = _mm256_xor_si256 (data7, data8); # 142| Error: COMPILER_WARNING: [#def66] coreutils-9.10/src/cksum_avx2.c:141:23: note[note]: called from here # 139| data8 = _mm256_loadu_si256 (datap + 3); # 140| data8 = _mm256_shuffle_epi8 (data8, shuffle_constant); # 141|-> data7 = _mm256_xor_si256 (data7, data8); # 142| # 143| bytes_read -= (16 * 4 * 2); Error: COMPILER_WARNING: [#def67] coreutils-9.10/src/cksum_avx2.c:147:18: note[note]: called from here # 145| /* At end of loop we write out results from variables back into # 146| the buffer, for use in single fold loop */ # 147|-> data = _mm256_shuffle_epi8 (data, shuffle_constant); # 148| _mm256_storeu_si256 (datap, data); # 149| data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); Error: COMPILER_WARNING: [#def68] coreutils-9.10/src/cksum_avx2.c:148:11: note[note]: called from here # 146| the buffer, for use in single fold loop */ # 147| data = _mm256_shuffle_epi8 (data, shuffle_constant); # 148|-> _mm256_storeu_si256 (datap, data); # 149| data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); # 150| _mm256_storeu_si256 (datap + 1, data3); Error: COMPILER_WARNING: [#def69] coreutils-9.10/src/cksum_avx2.c:149:19: note[note]: called from here # 147| data = _mm256_shuffle_epi8 (data, shuffle_constant); # 148| _mm256_storeu_si256 (datap, data); # 149|-> data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); # 150| _mm256_storeu_si256 (datap + 1, data3); # 151| data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); Error: COMPILER_WARNING: [#def70] coreutils-9.10/src/cksum_avx2.c:150:11: note[note]: called from here # 148| _mm256_storeu_si256 (datap, data); # 149| data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); # 150|-> _mm256_storeu_si256 (datap + 1, data3); # 151| data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); # 152| _mm256_storeu_si256 (datap + 2, data5); Error: COMPILER_WARNING: [#def71] coreutils-9.10/src/cksum_avx2.c:151:19: note[note]: called from here # 149| data3 = _mm256_shuffle_epi8 (data3, shuffle_constant); # 150| _mm256_storeu_si256 (datap + 1, data3); # 151|-> data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); # 152| _mm256_storeu_si256 (datap + 2, data5); # 153| data7 = _mm256_shuffle_epi8 (data7, shuffle_constant); Error: COMPILER_WARNING: [#def72] coreutils-9.10/src/cksum_avx2.c:152:11: note[note]: called from here # 150| _mm256_storeu_si256 (datap + 1, data3); # 151| data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); # 152|-> _mm256_storeu_si256 (datap + 2, data5); # 153| data7 = _mm256_shuffle_epi8 (data7, shuffle_constant); # 154| _mm256_storeu_si256 (datap + 3, data7); Error: COMPILER_WARNING: [#def73] coreutils-9.10/src/cksum_avx2.c:153:19: note[note]: called from here # 151| data5 = _mm256_shuffle_epi8 (data5, shuffle_constant); # 152| _mm256_storeu_si256 (datap + 2, data5); # 153|-> data7 = _mm256_shuffle_epi8 (data7, shuffle_constant); # 154| _mm256_storeu_si256 (datap + 3, data7); # 155| } Error: COMPILER_WARNING: [#def74] coreutils-9.10/src/cksum_avx2.c:154:11: note[note]: called from here # 152| _mm256_storeu_si256 (datap + 2, data5); # 153| data7 = _mm256_shuffle_epi8 (data7, shuffle_constant); # 154|-> _mm256_storeu_si256 (datap + 3, data7); # 155| } # 156| Error: COMPILER_WARNING: [#def75] coreutils-9.10/src/cksum_avx2.c:160:18: note[note]: called from here # 158| if (bytes_read >= 64) # 159| { # 160|-> data = _mm256_loadu_si256 (datap); # 161| data = _mm256_shuffle_epi8 (data, shuffle_constant); # 162| xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0); Error: COMPILER_WARNING: [#def76] coreutils-9.10/src/cksum_avx2.c:161:18: note[note]: called from here # 159| { # 160| data = _mm256_loadu_si256 (datap); # 161|-> data = _mm256_shuffle_epi8 (data, shuffle_constant); # 162| xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0); # 163| crc = 0; Error: COMPILER_WARNING: [#def77] coreutils-9.10/src/cksum_avx2.c:162:21: note[note]: called from here # 160| data = _mm256_loadu_si256 (datap); # 161| data = _mm256_shuffle_epi8 (data, shuffle_constant); # 162|-> xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0); # 163| crc = 0; # 164| data = _mm256_xor_si256 (data, xor_crc); Error: COMPILER_WARNING: [#def78] coreutils-9.10/src/cksum_avx2.c:164:18: note[note]: called from here # 162| xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0); # 163| crc = 0; # 164|-> data = _mm256_xor_si256 (data, xor_crc); # 165| while (bytes_read >= 64) # 166| { Error: COMPILER_WARNING: [#def79] coreutils-9.10/src/cksum_avx2.c:169:23: note[note]: called from here # 167| datap++; # 168| # 169|-> data2 = _mm256_clmulepi64_epi128 (data, single_mult_constant, # 170| 0x00); # 171| data = _mm256_clmulepi64_epi128 (data, single_mult_constant, Error: COMPILER_WARNING: [#def80] coreutils-9.10/src/cksum_avx2.c:171:22: note[note]: called from here # 169| data2 = _mm256_clmulepi64_epi128 (data, single_mult_constant, # 170| 0x00); # 171|-> data = _mm256_clmulepi64_epi128 (data, single_mult_constant, # 172| 0x11); # 173| fold_data = _mm256_loadu_si256 (datap); Error: COMPILER_WARNING: [#def81] coreutils-9.10/src/cksum_avx2.c:173:27: note[note]: called from here # 171| data = _mm256_clmulepi64_epi128 (data, single_mult_constant, # 172| 0x11); # 173|-> fold_data = _mm256_loadu_si256 (datap); # 174| fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant); # 175| data = _mm256_xor_si256 (data, data2); Error: COMPILER_WARNING: [#def82] coreutils-9.10/src/cksum_avx2.c:174:27: note[note]: called from here # 172| 0x11); # 173| fold_data = _mm256_loadu_si256 (datap); # 174|-> fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant); # 175| data = _mm256_xor_si256 (data, data2); # 176| data = _mm256_xor_si256 (data, fold_data); Error: COMPILER_WARNING: [#def83] coreutils-9.10/src/cksum_avx2.c:175:22: note[note]: called from here # 173| fold_data = _mm256_loadu_si256 (datap); # 174| fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant); # 175|-> data = _mm256_xor_si256 (data, data2); # 176| data = _mm256_xor_si256 (data, fold_data); # 177| bytes_read -= 32; Error: COMPILER_WARNING: [#def84] coreutils-9.10/src/cksum_avx2.c:176:22: note[note]: called from here # 174| fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant); # 175| data = _mm256_xor_si256 (data, data2); # 176|-> data = _mm256_xor_si256 (data, fold_data); # 177| bytes_read -= 32; # 178| } Error: COMPILER_WARNING: [#def85] coreutils-9.10/src/cksum_avx2.c:179:18: note[note]: called from here # 177| bytes_read -= 32; # 178| } # 179|-> data = _mm256_shuffle_epi8 (data, shuffle_constant); # 180| _mm256_storeu_si256 (datap, data); # 181| } Error: COMPILER_WARNING: [#def86] coreutils-9.10/src/cksum_avx2.c:180:11: note[note]: called from here # 178| } # 179| data = _mm256_shuffle_epi8 (data, shuffle_constant); # 180|-> _mm256_storeu_si256 (datap, data); # 181| } # 182| Error: COMPILER_WARNING: [#def87] coreutils-9.10/src/cksum_avx512.c:45:3: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI # 43| "Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction" # 44| */ # 45|-> single_mult_constant = _mm512_set_epi64 (0x8833794C, 0xE6228B11, # 46| 0x8833794C, 0xE6228B11, # 47| 0x8833794C, 0xE6228B11, Error: COMPILER_WARNING: [#def88] coreutils-9.10/src/cksum_avx512.c:45:26: note[note]: called from here # 43| "Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction" # 44| */ # 45|-> single_mult_constant = _mm512_set_epi64 (0x8833794C, 0xE6228B11, # 46| 0x8833794C, 0xE6228B11, # 47| 0x8833794C, 0xE6228B11, Error: COMPILER_WARNING: [#def89] coreutils-9.10/src/cksum_avx512.c:49:24: note[note]: called from here # 47| 0x8833794C, 0xE6228B11, # 48| 0x8833794C, 0xE6228B11); # 49|-> four_mult_constant = _mm512_set_epi64 (0xCBCF3BCB, 0x88FE2237, # 50| 0xCBCF3BCB, 0x88FE2237, # 51| 0xCBCF3BCB, 0x88FE2237, Error: COMPILER_WARNING: [#def90] coreutils-9.10/src/cksum_avx512.c:55:22: note[note]: called from here # 53| # 54| /* Constant to byteswap a full AVX512 register */ # 55|-> shuffle_constant = _mm512_set_epi8 (0, 1, 2, 3, 4, 5, 6, 7, 8, # 56| 9, 10, 11, 12, 13, 14, 15, # 57| 0, 1, 2, 3, 4, 5, 6, 7, 8, Error: COMPILER_WARNING: [#def91] coreutils-9.10/src/cksum_avx512.c:89:18: note[note]: called from here # 87| if (bytes_read >= 16 * 8 * 4) # 88| { # 89|-> data = _mm512_loadu_si512 (datap); # 90| data = _mm512_shuffle_epi8 (data, shuffle_constant); # 91| /* XOR in initial CRC value (for us 0 so no effect), or CRC value Error: COMPILER_WARNING: [#def92] coreutils-9.10/src/cksum_avx512.c:90:18: note[note]: called from here # 88| { # 89| data = _mm512_loadu_si512 (datap); # 90|-> data = _mm512_shuffle_epi8 (data, shuffle_constant); # 91| /* XOR in initial CRC value (for us 0 so no effect), or CRC value # 92| calculated for previous BUFLEN buffer from fread */ Error: COMPILER_WARNING: [#def93] coreutils-9.10/src/cksum_avx512.c:93:21: note[note]: called from here # 91| /* XOR in initial CRC value (for us 0 so no effect), or CRC value # 92| calculated for previous BUFLEN buffer from fread */ # 93|-> xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0, # 94| 0, 0, 0, 0, crc, 0, 0, 0); # 95| crc = 0; Error: COMPILER_WARNING: [#def94] coreutils-9.10/src/cksum_avx512.c:96:18: note[note]: called from here # 94| 0, 0, 0, 0, crc, 0, 0, 0); # 95| crc = 0; # 96|-> data = _mm512_xor_si512 (data, xor_crc); # 97| data3 = _mm512_loadu_si512 (datap + 1); # 98| data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); Error: COMPILER_WARNING: [#def95] coreutils-9.10/src/cksum_avx512.c:97:19: note[note]: called from here # 95| crc = 0; # 96| data = _mm512_xor_si512 (data, xor_crc); # 97|-> data3 = _mm512_loadu_si512 (datap + 1); # 98| data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); # 99| data5 = _mm512_loadu_si512 (datap + 2); Error: COMPILER_WARNING: [#def96] coreutils-9.10/src/cksum_avx512.c:98:19: note[note]: called from here # 96| data = _mm512_xor_si512 (data, xor_crc); # 97| data3 = _mm512_loadu_si512 (datap + 1); # 98|-> data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); # 99| data5 = _mm512_loadu_si512 (datap + 2); # 100| data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); Error: COMPILER_WARNING: [#def97] coreutils-9.10/src/cksum_avx512.c:99:19: note[note]: called from here # 97| data3 = _mm512_loadu_si512 (datap + 1); # 98| data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); # 99|-> data5 = _mm512_loadu_si512 (datap + 2); # 100| data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); # 101| data7 = _mm512_loadu_si512 (datap + 3); Error: COMPILER_WARNING: [#def98] coreutils-9.10/src/cksum_avx512.c:100:19: note[note]: called from here # 98| data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); # 99| data5 = _mm512_loadu_si512 (datap + 2); # 100|-> data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); # 101| data7 = _mm512_loadu_si512 (datap + 3); # 102| data7 = _mm512_shuffle_epi8 (data7, shuffle_constant); Error: COMPILER_WARNING: [#def99] coreutils-9.10/src/cksum_avx512.c:101:19: note[note]: called from here # 99| data5 = _mm512_loadu_si512 (datap + 2); # 100| data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); # 101|-> data7 = _mm512_loadu_si512 (datap + 3); # 102| data7 = _mm512_shuffle_epi8 (data7, shuffle_constant); # 103| Error: COMPILER_WARNING: [#def100] coreutils-9.10/src/cksum_avx512.c:102:19: note[note]: called from here # 100| data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); # 101| data7 = _mm512_loadu_si512 (datap + 3); # 102|-> data7 = _mm512_shuffle_epi8 (data7, shuffle_constant); # 103| # 104| while (bytes_read >= 16 * 8 * 4) Error: COMPILER_WARNING: [#def101] coreutils-9.10/src/cksum_avx512.c:109:23: note[note]: called from here # 107| # 108| /* Do multiplication here for 16x consecutive 16 byte blocks */ # 109|-> data2 = _mm512_clmulepi64_epi128 (data, four_mult_constant, # 110| 0x00); # 111| data = _mm512_clmulepi64_epi128 (data, four_mult_constant, Error: COMPILER_WARNING: [#def102] coreutils-9.10/src/cksum_avx512.c:111:22: note[note]: called from here # 109| data2 = _mm512_clmulepi64_epi128 (data, four_mult_constant, # 110| 0x00); # 111|-> data = _mm512_clmulepi64_epi128 (data, four_mult_constant, # 112| 0x11); # 113| data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant, Error: COMPILER_WARNING: [#def103] coreutils-9.10/src/cksum_avx512.c:113:23: note[note]: called from here # 111| data = _mm512_clmulepi64_epi128 (data, four_mult_constant, # 112| 0x11); # 113|-> data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant, # 114| 0x00); # 115| data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant, Error: COMPILER_WARNING: [#def104] coreutils-9.10/src/cksum_avx512.c:115:23: note[note]: called from here # 113| data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant, # 114| 0x00); # 115|-> data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant, # 116| 0x11); # 117| data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant, Error: COMPILER_WARNING: [#def105] coreutils-9.10/src/cksum_avx512.c:117:23: note[note]: called from here # 115| data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant, # 116| 0x11); # 117|-> data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant, # 118| 0x00); # 119| data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant, Error: COMPILER_WARNING: [#def106] coreutils-9.10/src/cksum_avx512.c:119:23: note[note]: called from here # 117| data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant, # 118| 0x00); # 119|-> data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant, # 120| 0x11); # 121| data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant, Error: COMPILER_WARNING: [#def107] coreutils-9.10/src/cksum_avx512.c:121:23: note[note]: called from here # 119| data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant, # 120| 0x11); # 121|-> data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant, # 122| 0x00); # 123| data7 = _mm512_clmulepi64_epi128 (data7, four_mult_constant, Error: COMPILER_WARNING: [#def108] coreutils-9.10/src/cksum_avx512.c:123:23: note[note]: called from here # 121| data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant, # 122| 0x00); # 123|-> data7 = _mm512_clmulepi64_epi128 (data7, four_mult_constant, # 124| 0x11); # 125| Error: COMPILER_WARNING: [#def109] coreutils-9.10/src/cksum_avx512.c:131:22: note[note]: called from here # 129| Keep xor result in variables for multiplication in next # 130| round of loop. */ # 131|-> data = _mm512_xor_si512 (data, data2); # 132| data2 = _mm512_loadu_si512 (datap); # 133| data2 = _mm512_shuffle_epi8 (data2, shuffle_constant); Error: COMPILER_WARNING: [#def110] coreutils-9.10/src/cksum_avx512.c:132:23: note[note]: called from here # 130| round of loop. */ # 131| data = _mm512_xor_si512 (data, data2); # 132|-> data2 = _mm512_loadu_si512 (datap); # 133| data2 = _mm512_shuffle_epi8 (data2, shuffle_constant); # 134| data = _mm512_xor_si512 (data, data2); Error: COMPILER_WARNING: [#def111] coreutils-9.10/src/cksum_avx512.c:133:23: note[note]: called from here # 131| data = _mm512_xor_si512 (data, data2); # 132| data2 = _mm512_loadu_si512 (datap); # 133|-> data2 = _mm512_shuffle_epi8 (data2, shuffle_constant); # 134| data = _mm512_xor_si512 (data, data2); # 135| Error: COMPILER_WARNING: [#def112] coreutils-9.10/src/cksum_avx512.c:134:22: note[note]: called from here # 132| data2 = _mm512_loadu_si512 (datap); # 133| data2 = _mm512_shuffle_epi8 (data2, shuffle_constant); # 134|-> data = _mm512_xor_si512 (data, data2); # 135| # 136| data3 = _mm512_xor_si512 (data3, data4); Error: COMPILER_WARNING: [#def113] coreutils-9.10/src/cksum_avx512.c:136:23: note[note]: called from here # 134| data = _mm512_xor_si512 (data, data2); # 135| # 136|-> data3 = _mm512_xor_si512 (data3, data4); # 137| data4 = _mm512_loadu_si512 (datap + 1); # 138| data4 = _mm512_shuffle_epi8 (data4, shuffle_constant); Error: COMPILER_WARNING: [#def114] coreutils-9.10/src/cksum_avx512.c:137:23: note[note]: called from here # 135| # 136| data3 = _mm512_xor_si512 (data3, data4); # 137|-> data4 = _mm512_loadu_si512 (datap + 1); # 138| data4 = _mm512_shuffle_epi8 (data4, shuffle_constant); # 139| data3 = _mm512_xor_si512 (data3, data4); Error: COMPILER_WARNING: [#def115] coreutils-9.10/src/cksum_avx512.c:138:23: note[note]: called from here # 136| data3 = _mm512_xor_si512 (data3, data4); # 137| data4 = _mm512_loadu_si512 (datap + 1); # 138|-> data4 = _mm512_shuffle_epi8 (data4, shuffle_constant); # 139| data3 = _mm512_xor_si512 (data3, data4); # 140| Error: COMPILER_WARNING: [#def116] coreutils-9.10/src/cksum_avx512.c:139:23: note[note]: called from here # 137| data4 = _mm512_loadu_si512 (datap + 1); # 138| data4 = _mm512_shuffle_epi8 (data4, shuffle_constant); # 139|-> data3 = _mm512_xor_si512 (data3, data4); # 140| # 141| data5 = _mm512_xor_si512 (data5, data6); Error: COMPILER_WARNING: [#def117] coreutils-9.10/src/cksum_avx512.c:141:23: note[note]: called from here # 139| data3 = _mm512_xor_si512 (data3, data4); # 140| # 141|-> data5 = _mm512_xor_si512 (data5, data6); # 142| data6 = _mm512_loadu_si512 (datap + 2); # 143| data6 = _mm512_shuffle_epi8 (data6, shuffle_constant); Error: COMPILER_WARNING: [#def118] coreutils-9.10/src/cksum_avx512.c:142:23: note[note]: called from here # 140| # 141| data5 = _mm512_xor_si512 (data5, data6); # 142|-> data6 = _mm512_loadu_si512 (datap + 2); # 143| data6 = _mm512_shuffle_epi8 (data6, shuffle_constant); # 144| data5 = _mm512_xor_si512 (data5, data6); Error: COMPILER_WARNING: [#def119] coreutils-9.10/src/cksum_avx512.c:143:23: note[note]: called from here # 141| data5 = _mm512_xor_si512 (data5, data6); # 142| data6 = _mm512_loadu_si512 (datap + 2); # 143|-> data6 = _mm512_shuffle_epi8 (data6, shuffle_constant); # 144| data5 = _mm512_xor_si512 (data5, data6); # 145| Error: COMPILER_WARNING: [#def120] coreutils-9.10/src/cksum_avx512.c:144:23: note[note]: called from here # 142| data6 = _mm512_loadu_si512 (datap + 2); # 143| data6 = _mm512_shuffle_epi8 (data6, shuffle_constant); # 144|-> data5 = _mm512_xor_si512 (data5, data6); # 145| # 146| data7 = _mm512_xor_si512 (data7, data8); Error: COMPILER_WARNING: [#def121] coreutils-9.10/src/cksum_avx512.c:146:23: note[note]: called from here # 144| data5 = _mm512_xor_si512 (data5, data6); # 145| # 146|-> data7 = _mm512_xor_si512 (data7, data8); # 147| data8 = _mm512_loadu_si512 (datap + 3); # 148| data8 = _mm512_shuffle_epi8 (data8, shuffle_constant); Error: COMPILER_WARNING: [#def122] coreutils-9.10/src/cksum_avx512.c:147:23: note[note]: called from here # 145| # 146| data7 = _mm512_xor_si512 (data7, data8); # 147|-> data8 = _mm512_loadu_si512 (datap + 3); # 148| data8 = _mm512_shuffle_epi8 (data8, shuffle_constant); # 149| data7 = _mm512_xor_si512 (data7, data8); Error: COMPILER_WARNING: [#def123] coreutils-9.10/src/cksum_avx512.c:148:23: note[note]: called from here # 146| data7 = _mm512_xor_si512 (data7, data8); # 147| data8 = _mm512_loadu_si512 (datap + 3); # 148|-> data8 = _mm512_shuffle_epi8 (data8, shuffle_constant); # 149| data7 = _mm512_xor_si512 (data7, data8); # 150| Error: COMPILER_WARNING: [#def124] coreutils-9.10/src/cksum_avx512.c:149:23: note[note]: called from here # 147| data8 = _mm512_loadu_si512 (datap + 3); # 148| data8 = _mm512_shuffle_epi8 (data8, shuffle_constant); # 149|-> data7 = _mm512_xor_si512 (data7, data8); # 150| # 151| bytes_read -= (16 * 4 * 4); Error: COMPILER_WARNING: [#def125] coreutils-9.10/src/cksum_avx512.c:155:18: note[note]: called from here # 153| /* At end of loop we write out results from variables back into # 154| the buffer, for use in single fold loop */ # 155|-> data = _mm512_shuffle_epi8 (data, shuffle_constant); # 156| _mm512_storeu_si512 (datap, data); # 157| data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); Error: COMPILER_WARNING: [#def126] coreutils-9.10/src/cksum_avx512.c:156:11: note[note]: called from here # 154| the buffer, for use in single fold loop */ # 155| data = _mm512_shuffle_epi8 (data, shuffle_constant); # 156|-> _mm512_storeu_si512 (datap, data); # 157| data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); # 158| _mm512_storeu_si512 (datap + 1, data3); Error: COMPILER_WARNING: [#def127] coreutils-9.10/src/cksum_avx512.c:157:19: note[note]: called from here # 155| data = _mm512_shuffle_epi8 (data, shuffle_constant); # 156| _mm512_storeu_si512 (datap, data); # 157|-> data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); # 158| _mm512_storeu_si512 (datap + 1, data3); # 159| data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); Error: COMPILER_WARNING: [#def128] coreutils-9.10/src/cksum_avx512.c:158:11: note[note]: called from here # 156| _mm512_storeu_si512 (datap, data); # 157| data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); # 158|-> _mm512_storeu_si512 (datap + 1, data3); # 159| data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); # 160| _mm512_storeu_si512 (datap + 2, data5); Error: COMPILER_WARNING: [#def129] coreutils-9.10/src/cksum_avx512.c:159:19: note[note]: called from here # 157| data3 = _mm512_shuffle_epi8 (data3, shuffle_constant); # 158| _mm512_storeu_si512 (datap + 1, data3); # 159|-> data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); # 160| _mm512_storeu_si512 (datap + 2, data5); # 161| data7 = _mm512_shuffle_epi8 (data7, shuffle_constant); Error: COMPILER_WARNING: [#def130] coreutils-9.10/src/cksum_avx512.c:160:11: note[note]: called from here # 158| _mm512_storeu_si512 (datap + 1, data3); # 159| data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); # 160|-> _mm512_storeu_si512 (datap + 2, data5); # 161| data7 = _mm512_shuffle_epi8 (data7, shuffle_constant); # 162| _mm512_storeu_si512 (datap + 3, data7); Error: COMPILER_WARNING: [#def131] coreutils-9.10/src/cksum_avx512.c:161:19: note[note]: called from here # 159| data5 = _mm512_shuffle_epi8 (data5, shuffle_constant); # 160| _mm512_storeu_si512 (datap + 2, data5); # 161|-> data7 = _mm512_shuffle_epi8 (data7, shuffle_constant); # 162| _mm512_storeu_si512 (datap + 3, data7); # 163| } Error: COMPILER_WARNING: [#def132] coreutils-9.10/src/cksum_avx512.c:162:11: note[note]: called from here # 160| _mm512_storeu_si512 (datap + 2, data5); # 161| data7 = _mm512_shuffle_epi8 (data7, shuffle_constant); # 162|-> _mm512_storeu_si512 (datap + 3, data7); # 163| } # 164| Error: COMPILER_WARNING: [#def133] coreutils-9.10/src/cksum_avx512.c:168:18: note[note]: called from here # 166| if (bytes_read >= 128) # 167| { # 168|-> data = _mm512_loadu_si512 (datap); # 169| data = _mm512_shuffle_epi8 (data, shuffle_constant); # 170| xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0, Error: COMPILER_WARNING: [#def134] coreutils-9.10/src/cksum_avx512.c:169:18: note[note]: called from here # 167| { # 168| data = _mm512_loadu_si512 (datap); # 169|-> data = _mm512_shuffle_epi8 (data, shuffle_constant); # 170| xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0, # 171| 0, 0, 0, 0, crc, 0, 0, 0); Error: COMPILER_WARNING: [#def135] coreutils-9.10/src/cksum_avx512.c:170:21: note[note]: called from here # 168| data = _mm512_loadu_si512 (datap); # 169| data = _mm512_shuffle_epi8 (data, shuffle_constant); # 170|-> xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0, # 171| 0, 0, 0, 0, crc, 0, 0, 0); # 172| crc = 0; Error: COMPILER_WARNING: [#def136] coreutils-9.10/src/cksum_avx512.c:173:18: note[note]: called from here # 171| 0, 0, 0, 0, crc, 0, 0, 0); # 172| crc = 0; # 173|-> data = _mm512_xor_si512 (data, xor_crc); # 174| while (bytes_read >= 128) # 175| { Error: COMPILER_WARNING: [#def137] coreutils-9.10/src/cksum_avx512.c:178:23: note[note]: called from here # 176| datap++; # 177| # 178|-> data2 = _mm512_clmulepi64_epi128 (data, single_mult_constant, # 179| 0x00); # 180| data = _mm512_clmulepi64_epi128 (data, single_mult_constant, Error: COMPILER_WARNING: [#def138] coreutils-9.10/src/cksum_avx512.c:180:22: note[note]: called from here # 178| data2 = _mm512_clmulepi64_epi128 (data, single_mult_constant, # 179| 0x00); # 180|-> data = _mm512_clmulepi64_epi128 (data, single_mult_constant, # 181| 0x11); # 182| fold_data = _mm512_loadu_si512 (datap); Error: COMPILER_WARNING: [#def139] coreutils-9.10/src/cksum_avx512.c:182:27: note[note]: called from here # 180| data = _mm512_clmulepi64_epi128 (data, single_mult_constant, # 181| 0x11); # 182|-> fold_data = _mm512_loadu_si512 (datap); # 183| fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant); # 184| data = _mm512_xor_si512 (data, data2); Error: COMPILER_WARNING: [#def140] coreutils-9.10/src/cksum_avx512.c:183:27: note[note]: called from here # 181| 0x11); # 182| fold_data = _mm512_loadu_si512 (datap); # 183|-> fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant); # 184| data = _mm512_xor_si512 (data, data2); # 185| data = _mm512_xor_si512 (data, fold_data); Error: COMPILER_WARNING: [#def141] coreutils-9.10/src/cksum_avx512.c:184:22: note[note]: called from here # 182| fold_data = _mm512_loadu_si512 (datap); # 183| fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant); # 184|-> data = _mm512_xor_si512 (data, data2); # 185| data = _mm512_xor_si512 (data, fold_data); # 186| bytes_read -= 64; Error: COMPILER_WARNING: [#def142] coreutils-9.10/src/cksum_avx512.c:185:22: note[note]: called from here # 183| fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant); # 184| data = _mm512_xor_si512 (data, data2); # 185|-> data = _mm512_xor_si512 (data, fold_data); # 186| bytes_read -= 64; # 187| } Error: COMPILER_WARNING: [#def143] coreutils-9.10/src/cksum_avx512.c:188:18: note[note]: called from here # 186| bytes_read -= 64; # 187| } # 188|-> data = _mm512_shuffle_epi8 (data, shuffle_constant); # 189| _mm512_storeu_si512 (datap, data); # 190| } Error: COMPILER_WARNING: [#def144] coreutils-9.10/src/cksum_avx512.c:189:11: note[note]: called from here # 187| } # 188| data = _mm512_shuffle_epi8 (data, shuffle_constant); # 189|-> _mm512_storeu_si512 (datap, data); # 190| } # 191| Error: COMPILER_WARNING: [#def145] coreutils-9.10/src/cksum_pclmul.c:81:18: note[note]: called from here # 79| { # 80| data = _mm_loadu_si128 (datap); # 81|-> data = _mm_shuffle_epi8 (data, shuffle_constant); # 82| /* XOR in initial CRC value (for us 0 so no effect), or CRC value # 83| calculated for previous BUFLEN buffer from fread */ Error: COMPILER_WARNING: [#def146] coreutils-9.10/src/cksum_pclmul.c:88:19: note[note]: called from here # 86| data = _mm_xor_si128 (data, xor_crc); # 87| data3 = _mm_loadu_si128 (datap + 1); # 88|-> data3 = _mm_shuffle_epi8 (data3, shuffle_constant); # 89| data5 = _mm_loadu_si128 (datap + 2); # 90| data5 = _mm_shuffle_epi8 (data5, shuffle_constant); Error: COMPILER_WARNING: [#def147] coreutils-9.10/src/cksum_pclmul.c:90:19: note[note]: called from here # 88| data3 = _mm_shuffle_epi8 (data3, shuffle_constant); # 89| data5 = _mm_loadu_si128 (datap + 2); # 90|-> data5 = _mm_shuffle_epi8 (data5, shuffle_constant); # 91| data7 = _mm_loadu_si128 (datap + 3); # 92| data7 = _mm_shuffle_epi8 (data7, shuffle_constant); Error: COMPILER_WARNING: [#def148] coreutils-9.10/src/cksum_pclmul.c:92:19: note[note]: called from here # 90| data5 = _mm_shuffle_epi8 (data5, shuffle_constant); # 91| data7 = _mm_loadu_si128 (datap + 3); # 92|-> data7 = _mm_shuffle_epi8 (data7, shuffle_constant); # 93| # 94| Error: COMPILER_WARNING: [#def149] coreutils-9.10/src/cksum_pclmul.c:100:23: note[note]: called from here # 98| # 99| /* Do multiplication here for four consecutive 16 byte blocks */ # 100|-> data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00); # 101| data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11); # 102| data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00); Error: COMPILER_WARNING: [#def150] coreutils-9.10/src/cksum_pclmul.c:101:22: note[note]: called from here # 99| /* Do multiplication here for four consecutive 16 byte blocks */ # 100| data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00); # 101|-> data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11); # 102| data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00); # 103| data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11); Error: COMPILER_WARNING: [#def151] coreutils-9.10/src/cksum_pclmul.c:102:23: note[note]: called from here # 100| data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00); # 101| data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11); # 102|-> data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00); # 103| data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11); # 104| data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00); Error: COMPILER_WARNING: [#def152] coreutils-9.10/src/cksum_pclmul.c:103:23: note[note]: called from here # 101| data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11); # 102| data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00); # 103|-> data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11); # 104| data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00); # 105| data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11); Error: COMPILER_WARNING: [#def153] coreutils-9.10/src/cksum_pclmul.c:104:23: note[note]: called from here # 102| data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00); # 103| data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11); # 104|-> data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00); # 105| data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11); # 106| data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00); Error: COMPILER_WARNING: [#def154] coreutils-9.10/src/cksum_pclmul.c:105:23: note[note]: called from here # 103| data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11); # 104| data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00); # 105|-> data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11); # 106| data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00); # 107| data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11); Error: COMPILER_WARNING: [#def155] coreutils-9.10/src/cksum_pclmul.c:106:23: note[note]: called from here # 104| data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00); # 105| data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11); # 106|-> data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00); # 107| data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11); # 108| Error: COMPILER_WARNING: [#def156] coreutils-9.10/src/cksum_pclmul.c:107:23: note[note]: called from here # 105| data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11); # 106| data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00); # 107|-> data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11); # 108| # 109| /* Now multiplication results for the four blocks is xor:ed with Error: COMPILER_WARNING: [#def157] coreutils-9.10/src/cksum_pclmul.c:116:23: note[note]: called from here # 114| data = _mm_xor_si128 (data, data2); # 115| data2 = _mm_loadu_si128 (datap); # 116|-> data2 = _mm_shuffle_epi8 (data2, shuffle_constant); # 117| data = _mm_xor_si128 (data, data2); # 118| Error: COMPILER_WARNING: [#def158] coreutils-9.10/src/cksum_pclmul.c:121:23: note[note]: called from here # 119| data3 = _mm_xor_si128 (data3, data4); # 120| data4 = _mm_loadu_si128 (datap + 1); # 121|-> data4 = _mm_shuffle_epi8 (data4, shuffle_constant); # 122| data3 = _mm_xor_si128 (data3, data4); # 123| Error: COMPILER_WARNING: [#def159] coreutils-9.10/src/cksum_pclmul.c:126:23: note[note]: called from here # 124| data5 = _mm_xor_si128 (data5, data6); # 125| data6 = _mm_loadu_si128 (datap + 2); # 126|-> data6 = _mm_shuffle_epi8 (data6, shuffle_constant); # 127| data5 = _mm_xor_si128 (data5, data6); # 128| Error: COMPILER_WARNING: [#def160] coreutils-9.10/src/cksum_pclmul.c:131:23: note[note]: called from here # 129| data7 = _mm_xor_si128 (data7, data8); # 130| data8 = _mm_loadu_si128 (datap + 3); # 131|-> data8 = _mm_shuffle_epi8 (data8, shuffle_constant); # 132| data7 = _mm_xor_si128 (data7, data8); # 133| Error: COMPILER_WARNING: [#def161] coreutils-9.10/src/cksum_pclmul.c:138:18: note[note]: called from here # 136| /* At end of loop we write out results from variables back into # 137| the buffer, for use in single fold loop */ # 138|-> data = _mm_shuffle_epi8 (data, shuffle_constant); # 139| _mm_storeu_si128 (datap, data); # 140| data3 = _mm_shuffle_epi8 (data3, shuffle_constant); Error: COMPILER_WARNING: [#def162] coreutils-9.10/src/cksum_pclmul.c:140:19: note[note]: called from here # 138| data = _mm_shuffle_epi8 (data, shuffle_constant); # 139| _mm_storeu_si128 (datap, data); # 140|-> data3 = _mm_shuffle_epi8 (data3, shuffle_constant); # 141| _mm_storeu_si128 (datap + 1, data3); # 142| data5 = _mm_shuffle_epi8 (data5, shuffle_constant); Error: COMPILER_WARNING: [#def163] coreutils-9.10/src/cksum_pclmul.c:142:19: note[note]: called from here # 140| data3 = _mm_shuffle_epi8 (data3, shuffle_constant); # 141| _mm_storeu_si128 (datap + 1, data3); # 142|-> data5 = _mm_shuffle_epi8 (data5, shuffle_constant); # 143| _mm_storeu_si128 (datap + 2, data5); # 144| data7 = _mm_shuffle_epi8 (data7, shuffle_constant); Error: COMPILER_WARNING: [#def164] coreutils-9.10/src/cksum_pclmul.c:144:19: note[note]: called from here # 142| data5 = _mm_shuffle_epi8 (data5, shuffle_constant); # 143| _mm_storeu_si128 (datap + 2, data5); # 144|-> data7 = _mm_shuffle_epi8 (data7, shuffle_constant); # 145| _mm_storeu_si128 (datap + 3, data7); # 146| } Error: COMPILER_WARNING: [#def165] coreutils-9.10/src/cksum_pclmul.c:152:18: note[note]: called from here # 150| { # 151| data = _mm_loadu_si128 (datap); # 152|-> data = _mm_shuffle_epi8 (data, shuffle_constant); # 153| xor_crc = _mm_set_epi32 (crc, 0, 0, 0); # 154| crc = 0; Error: COMPILER_WARNING: [#def166] coreutils-9.10/src/cksum_pclmul.c:160:23: note[note]: called from here # 158| datap++; # 159| # 160|-> data2 = _mm_clmulepi64_si128 (data, single_mult_constant, 0x00); # 161| data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11); # 162| fold_data = _mm_loadu_si128 (datap); Error: COMPILER_WARNING: [#def167] coreutils-9.10/src/cksum_pclmul.c:161:22: note[note]: called from here # 159| # 160| data2 = _mm_clmulepi64_si128 (data, single_mult_constant, 0x00); # 161|-> data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11); # 162| fold_data = _mm_loadu_si128 (datap); # 163| fold_data = _mm_shuffle_epi8 (fold_data, shuffle_constant); Error: COMPILER_WARNING: [#def168] coreutils-9.10/src/cksum_pclmul.c:163:27: note[note]: called from here # 161| data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11); # 162| fold_data = _mm_loadu_si128 (datap); # 163|-> fold_data = _mm_shuffle_epi8 (fold_data, shuffle_constant); # 164| data = _mm_xor_si128 (data, data2); # 165| data = _mm_xor_si128 (data, fold_data); Error: COMPILER_WARNING: [#def169] coreutils-9.10/src/cksum_pclmul.c:168:18: note[note]: called from here # 166| bytes_read -= 16; # 167| } # 168|-> data = _mm_shuffle_epi8 (data, shuffle_constant); # 169| _mm_storeu_si128 (datap, data); # 170| } Error: GCC_ANALYZER_WARNING (CWE-401): [#def170] coreutils-9.10/src/cp-hash.c:125:20: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)' # 123| ent->st_dev = dev; # 124| # 125|-> ent_from_table = hash_insert (src_to_dest, ent); # 126| if (ent_from_table == NULL) # 127| { Error: GCC_ANALYZER_WARNING (CWE-1341): [#def171] coreutils-9.10/src/dd.c:916:12: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd' coreutils-9.10/src/dd.c:914:10: branch_false: following 'false' branch... coreutils-9.10/src/dd.c:916:12: branch_false: ...to here coreutils-9.10/src/dd.c:916:12: release_resource: first 'close' here coreutils-9.10/src/dd.c:916:12: branch_true: following 'true' branch... coreutils-9.10/src/dd.c:914:10: branch_false: following 'false' branch... coreutils-9.10/src/dd.c:916:12: branch_false: ...to here coreutils-9.10/src/dd.c:916:12: danger: second 'close' here; first 'close' was at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) # 914| if (errno != EINTR) # 915| return -1; # 916|-> while (close (fd) != 0 && errno != EBADF); # 917| # 918| return 0; Error: GCC_ANALYZER_WARNING (CWE-401): [#def172] coreutils-9.10/src/df.c:451:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)' coreutils-9.10/src/df.c:1610:1: enter_function: entry to 'main' coreutils-9.10/src/df.c:1643:10: branch_false: following 'false' branch (when 'c != -1')... coreutils-9.10/src/df.c:1646:7: branch_false: ...to here coreutils-9.10/src/df.c:1726:14: branch_false: following 'false' branch... coreutils-9.10/src/df.c:1731:14: branch_false: ...to here coreutils-9.10/src/df.c:1731:14: branch_false: following 'false' branch (when 'posix_format == 0')... coreutils-9.10/src/df.c:1736:15: branch_false: ...to here coreutils-9.10/src/df.c:1736:14: branch_false: following 'false' branch... coreutils-9.10/src/df.c:1741:11: branch_false: ...to here coreutils-9.10/src/df.c:1742:14: branch_true: following 'true' branch... coreutils-9.10/src/df.c:1743:13: branch_true: ...to here coreutils-9.10/src/df.c:1743:13: call_function: calling 'decode_output_arg' from 'main' # 449| for (idx_t i = 0; i < countof (field_data); i++) # 450| { # 451|-> if (streq (field_data[i].arg, s)) # 452| { # 453| field = i; Error: GCC_ANALYZER_WARNING (CWE-401): [#def173] coreutils-9.10/src/env.c:663:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)' coreutils-9.10/src/env.c:657:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)... coreutils-9.10/src/env.c:659:20: branch_true: ...to here coreutils-9.10/src/env.c:663:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) # 661| if (signum == 0) # 662| error (0, 0, _("%s: invalid signal"), quote (opt_sig)); # 663|-> if (signum <= 0) # 664| usage (exit_failure); # 665| Error: GCC_ANALYZER_WARNING (CWE-401): [#def174] coreutils-9.10/src/env.c:668:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)' coreutils-9.10/src/env.c:657:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)... coreutils-9.10/src/env.c:659:20: branch_true: ...to here coreutils-9.10/src/env.c:663:10: branch_false: following 'false' branch... coreutils-9.10/src/env.c:666:11: branch_false: ...to here coreutils-9.10/src/env.c:666:11: branch_true: following 'true' branch... coreutils-9.10/src/env.c:668:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0) # 666| if (sigaddset (block ? &block_signals : &unblock_signals, signum) == -1) # 667| { # 668|-> if (block) # 669| error (EXIT_CANCELED, errno, # 670| _("failed to block signal %d"), signum); Error: CPPCHECK_WARNING (CWE-476): [#def175] coreutils-9.10/src/head.c:386: warning[nullPointer]: Possible null pointer dereference: b # 384| if (! buffered_enough) # 385| { # 386|-> b[i] = xmalloc (READ_BUFSIZE); # 387| n_alloc = i + 1; # 388| } Error: CPPCHECK_WARNING (CWE-476): [#def176] coreutils-9.10/src/head.c:389: warning[nullPointer]: Possible null pointer dereference: b # 387| n_alloc = i + 1; # 388| } # 389|-> n_read = full_read (fd, b[i], READ_BUFSIZE); # 390| if (n_read < READ_BUFSIZE) # 391| { Error: GCC_ANALYZER_WARNING (CWE-401): [#def177] coreutils-9.10/src/hostname.c:108:7: warning[-Wanalyzer-malloc-leak]: leak of 'xgethostname()' coreutils-9.10/src/hostname.c:89:6: branch_false: following 'false' branch... coreutils-9.10/src/hostname.c:95:6: branch_false: ...to here coreutils-9.10/src/hostname.c:95:6: branch_false: following 'false' branch... coreutils-9.10/src/hostname.c:105:18: branch_false: ...to here coreutils-9.10/src/hostname.c:105:18: acquire_memory: allocated here coreutils-9.10/src/hostname.c:106:10: branch_false: following 'false' branch... coreutils-9.10/src/hostname.c:108:7: branch_false: ...to here coreutils-9.10/src/hostname.c:108:7: danger: 'xgethostname()' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4) # 106| if (hostname == NULL) # 107| error (EXIT_FAILURE, errno, _("cannot determine hostname")); # 108|-> puts (hostname); # 109| } # 110| Error: GCC_ANALYZER_WARNING (CWE-401): [#def178] coreutils-9.10/src/libstdbuf.c:122:1: warning[-Wanalyzer-malloc-leak]: leak of 'buf' coreutils-9.10/src/libstdbuf.c:78:6: branch_false: following 'false' branch (when 'mode' is non-NULL)... coreutils-9.10/src/libstdbuf.c:81:7: branch_false: ...to here coreutils-9.10/src/libstdbuf.c:81:6: branch_false: following 'false' branch... coreutils-9.10/src/libstdbuf.c:83:11: branch_false: ...to here coreutils-9.10/src/libstdbuf.c:83:11: branch_false: following 'false' branch... coreutils-9.10/src/libstdbuf.c:89:14: branch_false: ...to here coreutils-9.10/src/libstdbuf.c:90:10: branch_false: following 'false' branch... coreutils-9.10/src/libstdbuf.c:100:13: branch_true: following 'true' branch... coreutils-9.10/src/libstdbuf.c:102:16: branch_true: ...to here coreutils-9.10/src/libstdbuf.c:102:16: acquire_memory: allocated here coreutils-9.10/src/libstdbuf.c:103:10: branch_false: following 'false' branch (when 'buf' is non-NULL)... coreutils-9.10/src/libstdbuf.c:122:1: branch_false: ...to here coreutils-9.10/src/libstdbuf.c:116:6: branch_false: following 'false' branch... coreutils-9.10/src/libstdbuf.c:116:6: branch_false: ...to here coreutils-9.10/src/libstdbuf.c:122:1: danger: 'buf' leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10) # 120| free (buf); # 121| } # 122|-> } # 123| # 124| /* Use __attribute to avoid elision of __attribute__ on SUNPRO_C etc. */ Error: GCC_ANALYZER_WARNING (CWE-401): [#def179] coreutils-9.10/src/nohup.c:226:1: warning[-Wanalyzer-malloc-leak]: leak of 'in_home' coreutils-9.10/src/nohup.c:103:6: branch_false: following 'false' branch... coreutils-9.10/src/nohup.c:109:25: branch_false: ...to here coreutils-9.10/src/nohup.c:111:27: branch_false: following 'false' branch... coreutils-9.10/src/nohup.c:111:27: branch_false: ...to here coreutils-9.10/src/nohup.c:117:6: branch_false: following 'false' branch... coreutils-9.10/src/nohup.c:131:6: branch_false: ...to here coreutils-9.10/src/nohup.c:131:6: branch_true: following 'true' branch... coreutils-9.10/src/nohup.c:137:28: branch_true: ...to here coreutils-9.10/src/nohup.c:138:16: branch_true: following 'true' branch... coreutils-9.10/src/nohup.c:139:19: branch_true: ...to here coreutils-9.10/src/nohup.c:142:10: branch_true: following 'true' branch (when 'out_fd < 0')... coreutils-9.10/src/nohup.c:144:29: branch_true: ...to here coreutils-9.10/src/nohup.c:146:14: branch_true: following 'true' branch (when 'home' is non-NULL)... coreutils-9.10/src/nohup.c:148:25: branch_true: ...to here coreutils-9.10/src/nohup.c:149:24: branch_true: following 'true' branch... coreutils-9.10/src/nohup.c:150:27: branch_true: ...to here coreutils-9.10/src/nohup.c:153:14: branch_true: following 'true' branch (when 'out_fd < 0')... coreutils-9.10/src/nohup.c:155:19: branch_true: ...to here coreutils-9.10/src/nohup.c:226:1: danger: 'in_home' leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17) # 224| # 225| return exit_status; # 226|-> } Error: CPPCHECK_WARNING (CWE-415): [#def180] coreutils-9.10/src/numfmt.c:906: error[doubleFree]: Memory pointed to by 't_string' is freed twice. # 904| } # 905| # 906|-> free (t_string); # 907| # 908| return n; Error: CPPCHECK_WARNING (CWE-823): [#def181] coreutils-9.10/src/od.c:817: error[arrayIndexOutOfBounds]: Array 'integral_type_size[2]' accessed at index 8, which is out of bounds. # 815| } # 816| # 817|-> size_spec = integral_type_size[size]; # 818| # 819| switch (c) Error: GCC_ANALYZER_WARNING (CWE-401): [#def182] coreutils-9.10/src/printf.c:526:23: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(strlen(format) + 1)' coreutils-9.10/src/printf.c:690:1: enter_function: entry to 'main' coreutils-9.10/src/printf.c:724:6: branch_true: following 'true' branch (when 'argc > 1')... coreutils-9.10/src/printf.c:724:19: branch_true: ...to here coreutils-9.10/src/printf.c:730:6: branch_false: following 'false' branch (when 'argc != 1')... coreutils-9.10/src/printf.c:736:3: branch_false: ...to here coreutils-9.10/src/printf.c:742:19: call_function: calling 'print_formatted' from 'main' # 524| direc = xmalloc (strlen (format) + 1); # 525| # 526|-> for (ac.f = format; *ac.f; ac.f++) # 527| { # 528| switch (*ac.f) Error: GCC_ANALYZER_WARNING (CWE-124): [#def183] coreutils-9.10/src/seq.c:534:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite coreutils-9.10/src/seq.c:552:1: enter_function: entry to 'main' coreutils-9.10/src/seq.c:614:6: branch_false: following 'false' branch (when 'n_args > 0')... coreutils-9.10/src/seq.c:620:6: branch_false: ...to here coreutils-9.10/src/seq.c:620:6: branch_false: following 'false' branch (when 'n_args <= 3')... coreutils-9.10/src/seq.c:626:6: branch_false: ...to here coreutils-9.10/src/seq.c:626:6: branch_false: following 'false' branch (when 'format_str' is NULL)... coreutils-9.10/src/seq.c:636:28: branch_false: ...to here coreutils-9.10/src/seq.c:652:6: branch_true: following 'true' branch... coreutils-9.10/src/seq.c:652:7: branch_true: ...to here coreutils-9.10/src/seq.c:652:7: branch_false: following 'false' branch... coreutils-9.10/src/seq.c:652:7: branch_false: ...to here coreutils-9.10/src/seq.c:652:7: branch_true: following 'true' branch... coreutils-9.10/src/seq.c:660:7: call_function: calling 'seq_fast' from 'main' # 532| if (remaining) # 533| { # 534|-> bufp[-1] = *terminator; # 535| if (full_write (STDOUT_FILENO, buf, remaining) != remaining) # 536| write_error (); Error: CPPCHECK_WARNING (CWE-457): [#def184] coreutils-9.10/src/sort.c:4902: warning[uninitvar]: Uninitialized variable: buf.buf # 4900| # 4901| finish: # 4902|-> free (buf.buf); # 4903| # 4904| if (! output_file_created) Error: GCC_ANALYZER_WARNING (CWE-787): [#def185] coreutils-9.10/src/stdbuf.c:176:3: warning[-Wanalyzer-out-of-bounds]: buffer over-read coreutils-9.10/src/stdbuf.c:315:1: enter_function: entry to 'main' coreutils-9.10/src/stdbuf.c:328:10: branch_true: following 'true' branch (when 'c != -1')... coreutils-9.10/src/stdbuf.c:332:7: branch_true: ...to here coreutils-9.10/src/stdbuf.c:338:24: call_function: inlined call to 'optc_to_fileno' from 'main' # 174| int ret = -1; # 175| # 176|-> switch (c) # 177| { # 178| case 'e': Error: CPPCHECK_WARNING (CWE-664): [#def186] coreutils-9.10/src/system.h:694: error[va_list_usedBeforeStarted]: va_list 'args' used before va_start() was called. # 692| if (buflen < 0) # 693| { # 694|-> vprintf (message, args); # 695| return; # 696| } Error: CPPCHECK_WARNING (CWE-758): [#def187] coreutils-9.10/src/tail.c:2410: warning[objectIndex]: The address of variable 'dummy_stdin' might be accessed at non-zero index. # 2408| # 2409| for (int i = 0; i < n_files; i++) # 2410|-> if (streq (file[i], "-")) # 2411| found_hyphen = true; # 2412| Error: GCC_ANALYZER_WARNING (CWE-401): [#def188] coreutils-9.10/src/tsort.c:440:22: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)' coreutils-9.10/src/tsort.c:531:1: enter_function: entry to 'main' coreutils-9.10/src/tsort.c:568:6: branch_false: following 'false' branch... coreutils-9.10/src/tsort.c:574:3: branch_false: ...to here coreutils-9.10/src/tsort.c:574:3: call_function: calling 'tsort' from 'main' # 438| struct item *root = new_item (NULL); # 439| # 440|-> if (!is_stdin && ! freopen (file, "r", stdin)) # 441| error (EXIT_FAILURE, errno, "%s", quotef (file)); # 442| Error: GCC_ANALYZER_WARNING (CWE-401): [#def189] coreutils-9.10/src/tsort.c:443:3: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)' coreutils-9.10/src/tsort.c:531:1: enter_function: entry to 'main' coreutils-9.10/src/tsort.c:568:6: branch_false: following 'false' branch... coreutils-9.10/src/tsort.c:574:3: branch_false: ...to here coreutils-9.10/src/tsort.c:574:3: call_function: calling 'tsort' from 'main' # 441| error (EXIT_FAILURE, errno, "%s", quotef (file)); # 442| # 443|-> fadvise (stdin, FADVISE_SEQUENTIAL); # 444| # 445| init_tokenbuffer (&tokenbuffer); Error: COMPILER_WARNING: [#def190] coreutils-9.10/src/wc_avx2.c:32:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI # 30| intmax_t bytes = 0; # 31| # 32|-> __m256i endlines = _mm256_set1_epi8 ('\n'); # 33| # 34| while (true) Error: COMPILER_WARNING: [#def191] coreutils-9.10/src/wc_avx2.c:32:22: note[note]: called from here # 30| intmax_t bytes = 0; # 31| # 32|-> __m256i endlines = _mm256_set1_epi8 ('\n'); # 33| # 34| while (true) Error: COMPILER_WARNING: [#def192] coreutils-9.10/src/wc_avx2.c:46:31: note[note]: called from here # 44| while (bytes_read >= 32) # 45| { # 46|-> __m256i to_match = _mm256_load_si256 (datap); # 47| __m256i matches = _mm256_cmpeq_epi8 (to_match, endlines); # 48| int mask = _mm256_movemask_epi8 (matches); Error: COMPILER_WARNING: [#def193] coreutils-9.10/src/wc_avx2.c:47:30: note[note]: called from here # 45| { # 46| __m256i to_match = _mm256_load_si256 (datap); # 47|-> __m256i matches = _mm256_cmpeq_epi8 (to_match, endlines); # 48| int mask = _mm256_movemask_epi8 (matches); # 49| lines += __builtin_popcount (mask); Error: COMPILER_WARNING: [#def194] coreutils-9.10/src/wc_avx2.c:48:23: note[note]: called from here # 46| __m256i to_match = _mm256_load_si256 (datap); # 47| __m256i matches = _mm256_cmpeq_epi8 (to_match, endlines); # 48|-> int mask = _mm256_movemask_epi8 (matches); # 49| lines += __builtin_popcount (mask); # 50| datap += 1; Error: COMPILER_WARNING: [#def195] coreutils-9.10/src/wc_avx512.c:32:11: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI # 30| intmax_t bytes = 0; # 31| # 32|-> __m512i endlines = _mm512_set1_epi8 ('\n'); # 33| # 34| while (true) Error: COMPILER_WARNING: [#def196] coreutils-9.10/src/wc_avx512.c:32:22: note[note]: called from here # 30| intmax_t bytes = 0; # 31| # 32|-> __m512i endlines = _mm512_set1_epi8 ('\n'); # 33| # 34| while (true) Error: COMPILER_WARNING: [#def197] coreutils-9.10/src/wc_avx512.c:46:31: note[note]: called from here # 44| while (bytes_read >= 64) # 45| { # 46|-> __m512i to_match = _mm512_load_si512 (datap); # 47| long long matches = _mm512_cmpeq_epi8_mask (to_match, endlines); # 48| lines += __builtin_popcountll (matches); Error: COMPILER_WARNING: [#def198] coreutils-9.10/src/wc_avx512.c:47:32: note[note]: called from here # 45| { # 46| __m512i to_match = _mm512_load_si512 (datap); # 47|-> long long matches = _mm512_cmpeq_epi8_mask (to_match, endlines); # 48| lines += __builtin_popcountll (matches); # 49| datap += 1;
| 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 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-75.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 | coreutils-9.10-3.fc44 |
| store-results-to | /tmp/tmpr12e3c8u/coreutils-9.10-3.fc44.tar.xz |
| time-created | 2026-06-01 11:43:54 |
| time-finished | 2026-06-01 11:50:23 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpr12e3c8u/coreutils-9.10-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpr12e3c8u/coreutils-9.10-3.fc44.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |