Task #118740 - coreutils-9.11-2.fc45/scan-results.err
back to task #118740download
Error: SHELLCHECK_WARNING (CWE-758):
/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):
coreutils-9.11/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):
coreutils-9.11/lib/careadlinkat.c: scope_hint: In function 'careadlinkat.constprop'
coreutils-9.11/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.11/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):
coreutils-9.11/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):
coreutils-9.11/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):
coreutils-9.11/lib/file-set.c:36:17: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.11/lib/file-set.c:31:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.11/lib/file-set.c:34:26: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/lib/fts-cycle.c:118:1: warning[-Wanalyzer-malloc-leak]: leak of 'ad'
coreutils-9.11/lib/fts-cycle.c:78:31: acquire_memory: allocated here
coreutils-9.11/lib/fts-cycle.c:79:10: branch_false: following 'false' branch (when 'ad' is non-NULL)...
coreutils-9.11/lib/fts-cycle.c:83:17: branch_false: ...to here
coreutils-9.11/lib/fts-cycle.c:92:10: branch_false: following 'false' branch...
coreutils-9.11/lib/fts-cycle.c:92:10: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/lib/fts.c:745:10: warning[-Wanalyzer-malloc-leak]: leak of 't2'
coreutils-9.11/lib/fts.c:1272:1: enter_function: entry to 'fts_build'
coreutils-9.11/lib/fts.c:1281:12: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1301:34: branch_false: ...to here
coreutils-9.11/lib/fts.c:1301:16: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1313:38: branch_false: ...to here
coreutils-9.11/lib/fts.c:1325:20: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1337:20: branch_false: ...to here
coreutils-9.11/lib/fts.c:1374:12: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1384:23: branch_false: ...to here
coreutils-9.11/lib/fts.c:1384:23: branch_true: following 'true' branch (when 'type != 2')...
coreutils-9.11/lib/fts.c:1385:30: branch_true: ...to here
coreutils-9.11/lib/fts.c:1384:23: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1385:30: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1387:33: branch_false: ...to here
coreutils-9.11/lib/fts.c:1385:30: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1388:34: branch_false: ...to here
coreutils-9.11/lib/fts.c:1388:34: call_function: calling 'leaf_optimization' from 'fts_build'
# 743| }
# 744|
# 745|-> return fs_buf.f_type;
# 746| }
# 747|
Error: GCC_ANALYZER_WARNING (CWE-401):
coreutils-9.11/lib/fts.c:1301:16: warning[-Wanalyzer-malloc-leak]: leak of '**sp.fts_cur.fts_dirp'
coreutils-9.11/lib/fts.c:1281:12: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1301:34: branch_false: ...to here
coreutils-9.11/lib/fts.c:1301:34: acquire_memory: allocated here
coreutils-9.11/lib/fts.c:1301:16: danger: '**sp.fts_cur.fts_dirp' leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
# 1299| /* Open the directory for reading. If this fails, we're done.
# 1300| If being called from fts_read, set the fts_info field. */
# 1301|-> if ((cur->fts_dirp = fts_opendir(cur->fts_accpath, &dir_fd)) == NULL)
# 1302| {
# 1303| if (type == BREAD)
Error: GCC_ANALYZER_WARNING (CWE-476):
coreutils-9.11/lib/fts.c:1598:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cp'
coreutils-9.11/lib/fts.c:1117:1: enter_function: entry to 'rpl_fts_children'
coreutils-9.11/lib/fts.c:1119:12: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1125:26: branch_false: ...to here
coreutils-9.11/lib/fts.c:1134:12: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1138:13: branch_false: ...to here
coreutils-9.11/lib/fts.c:1138:12: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1146:12: branch_false: ...to here
coreutils-9.11/lib/fts.c:1146:12: branch_false: following 'false' branch...
coreutils-9.11/lib/fts.c:1150:13: branch_false: ...to here
coreutils-9.11/lib/fts.c:1153:12: branch_false: following 'false' branch (when 'instr != 8192')...
coreutils-9.11/lib/fts.c:1166:13: branch_false: ...to here
coreutils-9.11/lib/fts.c:1168:41: call_function: calling 'fts_build' from 'rpl_fts_children'
# 1596| if (len == sp->fts_pathlen || nitems == 0)
# 1597| --cp;
# 1598|-> *cp = '\0';
# 1599| }
# 1600|
Error: CPPCHECK_WARNING (CWE-664):
coreutils-9.11/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):
coreutils-9.11/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):
coreutils-9.11/lib/posixtm.c:55:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*digit_pair'
coreutils-9.11/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse'
coreutils-9.11/lib/posixtm.c:110:6: branch_false: following 'false' branch...
coreutils-9.11/lib/posixtm.c:120:21: branch_false: following 'false' branch (when 'i >= len')...
coreutils-9.11/lib/posixtm.c:124:9: branch_false: ...to here
coreutils-9.11/lib/posixtm.c:124:6: branch_true: following 'true' branch...
coreutils-9.11/lib/posixtm.c:126:13: branch_true: ...to here
coreutils-9.11/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):
coreutils-9.11/lib/posixtm.c:70:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*digit_pair'
coreutils-9.11/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse'
coreutils-9.11/lib/posixtm.c:110:6: branch_false: following 'false' branch...
coreutils-9.11/lib/posixtm.c:120:21: branch_false: following 'false' branch (when 'i >= len')...
coreutils-9.11/lib/posixtm.c:124:9: branch_false: ...to here
coreutils-9.11/lib/posixtm.c:124:6: branch_true: following 'true' branch...
coreutils-9.11/lib/posixtm.c:126:13: branch_true: ...to here
coreutils-9.11/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):
coreutils-9.11/lib/posixtm.c:70:43: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'digit_pair[1]'
coreutils-9.11/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse'
coreutils-9.11/lib/posixtm.c:110:6: branch_false: following 'false' branch...
coreutils-9.11/lib/posixtm.c:120:21: branch_true: following 'true' branch (when 'i < len')...
coreutils-9.11/lib/posixtm.c:121:23: branch_true: ...to here
coreutils-9.11/lib/posixtm.c:120:21: branch_false: following 'false' branch (when 'i >= len')...
coreutils-9.11/lib/posixtm.c:124:9: branch_false: ...to here
coreutils-9.11/lib/posixtm.c:124:6: branch_true: following 'true' branch...
coreutils-9.11/lib/posixtm.c:126:13: branch_true: ...to here
coreutils-9.11/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):
coreutils-9.11/lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.11/lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.11/lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.11/lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.11/lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.11/lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.11/lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.11/lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.11/lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.11/lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.11/lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.11/lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.11/lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.11/lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.11/lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.11/lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.11/lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/lib/readutmp.c:252:3: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p'
coreutils-9.11/lib/readutmp.c:976:1: enter_function: entry to 'read_utmp'
coreutils-9.11/lib/readutmp.c:980:6: branch_true: following 'true' branch (when the strings are equal)...
coreutils-9.11/lib/readutmp.c:982:12: branch_true: ...to here
coreutils-9.11/lib/readutmp.c:982:12: call_function: calling 'read_utmp_from_systemd' from 'read_utmp'
# 250| char *stringlim = (char *) a.utmp + a.alloc_bytes;
# 251| char *p = stringlim - a.string_bytes;
# 252|-> *--p = '\0'; /* NUL-terminate ut->ut_user */
# 253| ut->ut_user = p = memcpy (p - user_len, user, user_len);
# 254| *--p = '\0'; /* NUL-terminate ut->ut_id */
Error: GCC_ANALYZER_WARNING (CWE-401):
coreutils-9.11/lib/time_rz.c:100:22: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))'
coreutils-9.11/separate/lib/time.h:1122:1: enter_function: entry to 'mktime_z'
coreutils-9.11/lib/time_rz.c:292:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.11/lib/time_rz.c:296:27: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/lib/time_rz.c:218:10: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)'
coreutils-9.11/separate/lib/time.h:1122:1: enter_function: entry to 'mktime_z'
coreutils-9.11/lib/time_rz.c:292:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.11/lib/time_rz.c:296:27: branch_false: ...to here
coreutils-9.11/lib/time_rz.c:296:27: call_function: calling 'set_tz' from 'mktime_z'
coreutils-9.11/lib/time_rz.c:296:27: return_function: returning to 'mktime_z' from 'set_tz'
coreutils-9.11/lib/time_rz.c:297:10: branch_true: following 'true' branch...
coreutils-9.11/lib/time_rz.c:300:25: branch_true: ...to here
coreutils-9.11/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):
coreutils-9.11/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):
coreutils-9.11/lib/xdectoint.c:83: warning[uninitvar]: Uninitialized variable: r
# 81|
# 82| errno = e;
# 83|-> return r;
# 84| }
# 85|
Error: GCC_ANALYZER_WARNING (CWE-476):
coreutils-9.11/src/chmod.c:560:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'mode'
coreutils-9.11/src/chmod.c:497:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.11/src/chmod.c:503:7: branch_true: ...to here
coreutils-9.11/src/chmod.c:557:16: branch_false: following 'false' branch...
coreutils-9.11/src/chmod.c:560:17: branch_false: ...to here
coreutils-9.11/src/chmod.c:560:13: danger: dereference of NULL 'mode + (sizetype)mode_len'
# 558| mode = xpalloc (mode, &mode_alloc,
# 559| new_mode_len + 1 - mode_alloc, -1, 1);
# 560|-> mode[mode_len] = ',';
# 561| memcpy (mode + mode_comma_len, arg, arg_len + 1);
# 562| mode_len = new_mode_len;
Error: GCC_ANALYZER_WARNING (CWE-476):
coreutils-9.11/src/chroot.c:146:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'gids'
coreutils-9.11/src/chroot.c:219:1: enter_function: entry to 'main'
coreutils-9.11/src/chroot.c:232:16: release_memory: 'out_gids' is NULL
coreutils-9.11/src/chroot.c:244:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.11/src/chroot.c:246:7: branch_true: ...to here
coreutils-9.11/src/chroot.c:277:6: branch_false: following 'false' branch...
coreutils-9.11/src/chroot.c:283:29: branch_false: ...to here
coreutils-9.11/src/chroot.c:286:6: branch_false: following 'false' branch...
coreutils-9.11/src/chroot.c:293:6: branch_false: ...to here
coreutils-9.11/src/chroot.c:293:6: branch_false: following 'false' branch...
coreutils-9.11/src/chroot.c:301:10: branch_false: ...to here
coreutils-9.11/src/chroot.c:301:10: branch_false: following 'false' branch (when 'userspec' is NULL)...
coreutils-9.11/src/chroot.c:306:11: branch_false: ...to here
coreutils-9.11/src/chroot.c:306:10: branch_false: following 'false' branch...
coreutils-9.11/src/chroot.c:317:10: branch_false: ...to here
coreutils-9.11/src/chroot.c:317:10: branch_true: following 'true' branch...
coreutils-9.11/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):
coreutils-9.11/src/cksum.c:1376: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned
# 1374| unsigned char bin_buffer_unaligned[DIGEST_BIN_BYTES + DIGEST_ALIGN];
# 1375| /* Make sure bin_buffer is properly aligned. */
# 1376|-> unsigned char *bin_buffer = ptr_align (bin_buffer_unaligned, DIGEST_ALIGN);
# 1377| intmax_t line_number;
# 1378| char *line;
Error: CPPCHECK_WARNING (CWE-457):
coreutils-9.11/src/cksum.c:1569: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned
# 1567| unsigned char bin_buffer_unaligned[DIGEST_BIN_BYTES + DIGEST_ALIGN];
# 1568| /* Make sure bin_buffer is properly aligned. */
# 1569|-> unsigned char *bin_buffer = ptr_align (bin_buffer_unaligned, DIGEST_ALIGN);
# 1570| bool do_check = false;
# 1571| int opt;
Error: COMPILER_WARNING:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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):
coreutils-9.11/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):
coreutils-9.11/src/dd.c:916:12: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd'
coreutils-9.11/src/dd.c:914:10: branch_false: following 'false' branch...
coreutils-9.11/src/dd.c:916:12: branch_false: ...to here
coreutils-9.11/src/dd.c:916:12: release_resource: first 'close' here
coreutils-9.11/src/dd.c:916:12: branch_true: following 'true' branch...
coreutils-9.11/src/dd.c:914:10: branch_false: following 'false' branch...
coreutils-9.11/src/dd.c:916:12: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/src/df.c:452:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.11/src/df.c:1613:1: enter_function: entry to 'main'
coreutils-9.11/src/df.c:1635:10: branch_false: following 'false' branch (when 'c != -1')...
coreutils-9.11/src/df.c:1638:7: branch_false: ...to here
coreutils-9.11/src/df.c:1718:14: branch_false: following 'false' branch...
coreutils-9.11/src/df.c:1723:14: branch_false: ...to here
coreutils-9.11/src/df.c:1723:14: branch_false: following 'false' branch (when 'posix_format == 0')...
coreutils-9.11/src/df.c:1728:15: branch_false: ...to here
coreutils-9.11/src/df.c:1728:14: branch_false: following 'false' branch...
coreutils-9.11/src/df.c:1733:11: branch_false: ...to here
coreutils-9.11/src/df.c:1734:14: branch_true: following 'true' branch...
coreutils-9.11/src/df.c:1735:13: branch_true: ...to here
coreutils-9.11/src/df.c:1735:13: call_function: calling 'decode_output_arg' from 'main'
# 450| for (idx_t i = 0; i < countof (field_data); i++)
# 451| {
# 452|-> if (streq (field_data[i].arg, s))
# 453| {
# 454| field = i;
Error: GCC_ANALYZER_WARNING (CWE-401):
coreutils-9.11/src/env.c:663:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.11/src/env.c:657:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.11/src/env.c:659:20: branch_true: ...to here
coreutils-9.11/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):
coreutils-9.11/src/env.c:668:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.11/src/env.c:657:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.11/src/env.c:659:20: branch_true: ...to here
coreutils-9.11/src/env.c:663:10: branch_false: following 'false' branch...
coreutils-9.11/src/env.c:666:11: branch_false: ...to here
coreutils-9.11/src/env.c:666:11: branch_true: following 'true' branch...
coreutils-9.11/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):
coreutils-9.11/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):
coreutils-9.11/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):
coreutils-9.11/src/hostname.c:108:7: warning[-Wanalyzer-malloc-leak]: leak of 'xgethostname()'
coreutils-9.11/src/hostname.c:89:6: branch_false: following 'false' branch...
coreutils-9.11/src/hostname.c:95:6: branch_false: ...to here
coreutils-9.11/src/hostname.c:95:6: branch_false: following 'false' branch...
coreutils-9.11/src/hostname.c:105:18: branch_false: ...to here
coreutils-9.11/src/hostname.c:105:18: acquire_memory: allocated here
coreutils-9.11/src/hostname.c:106:10: branch_false: following 'false' branch...
coreutils-9.11/src/hostname.c:108:7: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/src/libstdbuf.c:122:1: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
coreutils-9.11/src/libstdbuf.c:78:6: branch_false: following 'false' branch (when 'mode' is non-NULL)...
coreutils-9.11/src/libstdbuf.c:81:7: branch_false: ...to here
coreutils-9.11/src/libstdbuf.c:81:6: branch_false: following 'false' branch...
coreutils-9.11/src/libstdbuf.c:83:11: branch_false: ...to here
coreutils-9.11/src/libstdbuf.c:83:11: branch_false: following 'false' branch...
coreutils-9.11/src/libstdbuf.c:89:14: branch_false: ...to here
coreutils-9.11/src/libstdbuf.c:90:10: branch_false: following 'false' branch...
coreutils-9.11/src/libstdbuf.c:100:13: branch_true: following 'true' branch...
coreutils-9.11/src/libstdbuf.c:102:16: branch_true: ...to here
coreutils-9.11/src/libstdbuf.c:102:16: acquire_memory: allocated here
coreutils-9.11/src/libstdbuf.c:103:10: branch_false: following 'false' branch (when 'buf' is non-NULL)...
coreutils-9.11/src/libstdbuf.c:122:1: branch_false: ...to here
coreutils-9.11/src/libstdbuf.c:116:6: branch_false: following 'false' branch...
coreutils-9.11/src/libstdbuf.c:116:6: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/src/nohup.c:226:1: warning[-Wanalyzer-malloc-leak]: leak of 'in_home'
coreutils-9.11/src/nohup.c:103:6: branch_false: following 'false' branch...
coreutils-9.11/src/nohup.c:109:25: branch_false: ...to here
coreutils-9.11/src/nohup.c:111:27: branch_false: following 'false' branch...
coreutils-9.11/src/nohup.c:111:27: branch_false: ...to here
coreutils-9.11/src/nohup.c:117:6: branch_false: following 'false' branch...
coreutils-9.11/src/nohup.c:131:6: branch_false: ...to here
coreutils-9.11/src/nohup.c:131:6: branch_true: following 'true' branch...
coreutils-9.11/src/nohup.c:137:28: branch_true: ...to here
coreutils-9.11/src/nohup.c:138:16: branch_true: following 'true' branch...
coreutils-9.11/src/nohup.c:139:19: branch_true: ...to here
coreutils-9.11/src/nohup.c:142:10: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.11/src/nohup.c:144:29: branch_true: ...to here
coreutils-9.11/src/nohup.c:146:14: branch_true: following 'true' branch (when 'home' is non-NULL)...
coreutils-9.11/src/nohup.c:148:25: branch_true: ...to here
coreutils-9.11/src/nohup.c:149:24: branch_true: following 'true' branch...
coreutils-9.11/src/nohup.c:150:27: branch_true: ...to here
coreutils-9.11/src/nohup.c:153:14: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.11/src/nohup.c:155:19: branch_true: ...to here
coreutils-9.11/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):
coreutils-9.11/src/numfmt.c:905: error[doubleFree]: Memory pointed to by 't_string' is freed twice.
# 903| }
# 904|
# 905|-> free (t_string);
# 906|
# 907| return n;
Error: CPPCHECK_WARNING (CWE-823):
coreutils-9.11/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):
coreutils-9.11/src/printf.c:526:23: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(strlen(format) + 1)'
coreutils-9.11/src/printf.c:690:1: enter_function: entry to 'main'
coreutils-9.11/src/printf.c:722:6: branch_true: following 'true' branch (when 'argc > 1')...
coreutils-9.11/src/printf.c:722:19: branch_true: ...to here
coreutils-9.11/src/printf.c:728:6: branch_false: following 'false' branch (when 'argc != 1')...
coreutils-9.11/src/printf.c:734:3: branch_false: ...to here
coreutils-9.11/src/printf.c:740: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):
coreutils-9.11/src/seq.c:532:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
coreutils-9.11/src/seq.c:550:1: enter_function: entry to 'main'
coreutils-9.11/src/seq.c:604:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.11/src/seq.c:610:6: branch_false: ...to here
coreutils-9.11/src/seq.c:610:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.11/src/seq.c:616:17: branch_false: ...to here
coreutils-9.11/src/seq.c:617:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.11/src/seq.c:627:28: branch_false: ...to here
coreutils-9.11/src/seq.c:644:6: branch_true: following 'true' branch...
coreutils-9.11/src/seq.c:644:7: branch_true: ...to here
coreutils-9.11/src/seq.c:644:7: branch_false: following 'false' branch...
coreutils-9.11/src/seq.c:644:7: branch_false: ...to here
coreutils-9.11/src/seq.c:644:7: branch_true: following 'true' branch...
coreutils-9.11/src/seq.c:652:7: call_function: calling 'seq_fast' from 'main'
# 530| if (remaining)
# 531| {
# 532|-> bufp[-1] = *terminator;
# 533| if (full_write (STDOUT_FILENO, buf, remaining) != remaining)
# 534| write_error ();
Error: CPPCHECK_WARNING (CWE-457):
coreutils-9.11/src/sort.c:4903: warning[uninitvar]: Uninitialized variable: buf.buf
# 4901|
# 4902| finish:
# 4903|-> free (buf.buf);
# 4904|
# 4905| if (! output_file_created)
Error: GCC_ANALYZER_WARNING (CWE-787):
coreutils-9.11/src/stdbuf.c:176:3: warning[-Wanalyzer-out-of-bounds]: buffer over-read
coreutils-9.11/src/stdbuf.c:315:1: enter_function: entry to 'main'
coreutils-9.11/src/stdbuf.c:328:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.11/src/stdbuf.c:332:7: branch_true: ...to here
coreutils-9.11/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):
coreutils-9.11/src/system.h:732: error[va_list_usedBeforeStarted]: va_list 'args' used before va_start() was called.
# 730| if (buflen < 0)
# 731| {
# 732|-> vprintf (message, args);
# 733| return;
# 734| }
Error: CPPCHECK_WARNING (CWE-758):
coreutils-9.11/src/tail.c:2405: warning[objectIndex]: The address of variable 'dummy_stdin' might be accessed at non-zero index.
# 2403|
# 2404| for (int i = 0; i < n_files; i++)
# 2405|-> if (streq (file[i], "-"))
# 2406| found_hyphen = true;
# 2407|
Error: GCC_ANALYZER_WARNING (CWE-401):
coreutils-9.11/src/tsort.c:440:22: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.11/src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.11/src/tsort.c:568:6: branch_false: following 'false' branch...
coreutils-9.11/src/tsort.c:574:3: branch_false: ...to here
coreutils-9.11/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):
coreutils-9.11/src/tsort.c:443:3: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.11/src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.11/src/tsort.c:568:6: branch_false: following 'false' branch...
coreutils-9.11/src/tsort.c:574:3: branch_false: ...to here
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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:
coreutils-9.11/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;