coreutils-9.7-1.fc43

List of Findings

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.7/lib/canonicalize.c:454: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
#  452|     if (!result)
#  453|       xalloc_die ();
#  454|->   return memcpy (result, rname, dest - rname);
#  455|   }
#  456|   

Error: COMPILER_WARNING (CWE-562): [#def3]
coreutils-9.7/lib/careadlinkat.c: scope_hint: In function 'careadlinkat.constprop'
coreutils-9.7/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.7/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: CPPCHECK_WARNING (CWE-457): [#def4]
coreutils-9.7/lib/file-has-acl.c:436: error[uninitvar]: Uninitialized variable: buf
#  434|   
#  435|     int ret = ((flags & ACL_SYMLINK_FOLLOW ? getxattr : lgetxattr)
#  436|->              (name, XATTR_NAME_NFSV4_ACL, buf, sizeof buf));
#  437|     if (ret < 0)
#  438|       switch (errno)

Error: CPPCHECK_WARNING (CWE-664): [#def5]
coreutils-9.7/lib/long-options.c:76: error[va_end_missing]: va_list 'authors' was opened but not closed by va_end().
#   74|               version_etc_va (stdout, command_name, package, version, authors);
#   75|               exit (EXIT_SUCCESS);
#   76|->           }
#   77|   
#   78|           default:

Error: CPPCHECK_WARNING (CWE-664): [#def6]
coreutils-9.7/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: CPPCHECK_WARNING (CWE-457): [#def7]
coreutils-9.7/lib/xdectoint.c:83: warning[uninitvar]: Uninitialized variable: r
#   81|   
#   82|     errno = e;
#   83|->   return r;
#   84|   }
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
coreutils-9.7/separate/../lib/canon-host.c:75:27: warning[-Wanalyzer-malloc-leak]: leak of 'canon_host_r(host, & last_cherror)'
coreutils-9.7/separate/../lib/canon-host.c:33:1: enter_function: entry to 'canon_host'
coreutils-9.7/separate/../lib/canon-host.c:35:10: acquire_memory: allocated here
coreutils-9.7/separate/../lib/canon-host.c:35:10: call_function: calling 'canon_host_r' from 'canon_host'
#   73|            says Darwin 7.9.0 getaddrinfo returns 0 but sets
#   74|            res->ai_canonname to NULL.  */
#   75|->       retval = strdup (res->ai_canonname ? res->ai_canonname : host);
#   76|         if (!retval && cherror)
#   77|           *cherror = EAI_MEMORY;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
coreutils-9.7/separate/../lib/canon-host.c:83:10: warning[-Wanalyzer-malloc-leak]: leak of 'canon_host_r(host, & last_cherror)'
coreutils-9.7/separate/../lib/canon-host.c:33:1: enter_function: entry to 'canon_host'
coreutils-9.7/separate/../lib/canon-host.c:35:10: acquire_memory: allocated here
coreutils-9.7/separate/../lib/canon-host.c:35:10: call_function: calling 'canon_host_r' from 'canon_host'
#   81|       *cherror = status;
#   82|   
#   83|->   return retval;
#   84|   }
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
coreutils-9.7/separate/../lib/exclude.c:579:11: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(pattern)'
#  577|   
#  578|         char *str = xstrdup (pattern);
#  579|->       if ((options & (EXCLUDE_WILDCARDS | FNM_NOESCAPE)) == EXCLUDE_WILDCARDS)
#  580|           unescape_pattern (str);
#  581|         if (hash_insert (ex->head->v.table, str) != str)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
coreutils-9.7/separate/../lib/exclude.c:604:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
coreutils-9.7/separate/../lib/exclude.c:657:1: enter_function: entry to 'add_exclude_file'
coreutils-9.7/separate/../lib/exclude.c:661:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/separate/../lib/exclude.c:664:14: branch_false: ...to here
coreutils-9.7/separate/../lib/exclude.c:665:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/exclude.c:667:12: branch_false: ...to here
coreutils-9.7/separate/../lib/exclude.c:667:12: call_function: calling 'add_exclude_fp' from 'add_exclude_file'
#  602|         if (buf_count == buf_alloc)
#  603|           buf = xpalloc (buf, &buf_alloc, 1, -1, 1);
#  604|->       buf[buf_count++] = c;
#  605|       }
#  606|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
coreutils-9.7/separate/../lib/file-set.c:43:8: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/separate/../lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.7/separate/../lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.7/separate/../lib/file-set.c:43:8: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#   41|     {
#   42|       struct F_triple *ent_from_table = hash_insert (ht, ent);
#   43|->     if (ent_from_table == NULL)
#   44|         {
#   45|           /* Insertion failed due to lack of memory.  */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
coreutils-9.7/separate/../lib/file-set.c:49:8: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/separate/../lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.7/separate/../lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.7/separate/../lib/file-set.c:43:8: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/file-set.c:49:8: branch_false: ...to here
coreutils-9.7/separate/../lib/file-set.c:49:8: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#   47|         }
#   48|   
#   49|->     if (ent_from_table != ent)
#   50|         {
#   51|           /* There was already a matching entry in the table, so ENT was

Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
coreutils-9.7/separate/../lib/fts.c:714:12: warning[-Wanalyzer-malloc-leak]: leak of 't2'
coreutils-9.7/separate/../lib/fts.c:1267:1: enter_function: entry to 'fts_build'
coreutils-9.7/separate/../lib/fts.c:1307:16: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1319:38: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1379:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1389:23: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1389:23: branch_true: following 'true' branch (when 'type != 2')...
coreutils-9.7/separate/../lib/fts.c:1390:30: branch_true: ...to here
coreutils-9.7/separate/../lib/fts.c:1389:23: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1390:30: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1392:33: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1390:30: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1393:34: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1393:34: call_function: calling 'leaf_optimization' from 'fts_build'
#  712|        since the caller is not serious about performance.  */
#  713|     if (!ISSET (FTS_CWDFD))
#  714|->     return 0;
#  715|   
#  716|     if (! h)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
coreutils-9.7/separate/../lib/fts.c:1307:16: warning[-Wanalyzer-malloc-leak]: leak of '**sp.fts_cur.fts_dirp'
coreutils-9.7/separate/../lib/fts.c:1287:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1307:34: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1307:34: acquire_memory: allocated here
coreutils-9.7/separate/../lib/fts.c:1307:16: danger: '**sp.fts_cur.fts_dirp' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
# 1305|               /* Open the directory for reading.  If this fails, we're done.
# 1306|                  If being called from fts_read, set the fts_info field. */
# 1307|->             if ((cur->fts_dirp = fts_opendir(cur->fts_accpath, &dir_fd)) == NULL)
# 1308|                 {
# 1309|                   if (type == BREAD)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
coreutils-9.7/separate/../lib/fts.c:1599:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cp'
coreutils-9.7/separate/../lib/fts.c:1110:1: enter_function: entry to 'rpl_fts_children'
coreutils-9.7/separate/../lib/fts.c:1115:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1121:9: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1130:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1134:13: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1134:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1142:12: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1142:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1146:13: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1149:12: branch_false: following 'false' branch (when 'instr != 4096')...
coreutils-9.7/separate/../lib/fts.c:1162:13: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1164:41: call_function: calling 'fts_build' from 'rpl_fts_children'
# 1597|                   if (len == sp->fts_pathlen || nitems == 0)
# 1598|                           --cp;
# 1599|->                 *cp = '\0';
# 1600|           }
# 1601|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
coreutils-9.7/separate/../lib/ialloc.h:57:10: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(s + 1)'
coreutils-9.7/separate/../lib/xmalloc.c:327:1: enter_function: entry to 'ximemdup0'
coreutils-9.7/separate/../lib/xmalloc.c:329:18: call_function: calling 'ximalloc' from 'ximemdup0'
#   55|   imalloc (idx_t s)
#   56|   {
#   57|->   return s <= SIZE_MAX ? malloc (s) : _gl_alloc_nomem ();
#   58|   }
#   59|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
coreutils-9.7/separate/../lib/ialloc.h:57:10: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(s)'
coreutils-9.7/separate/../lib/xmalloc.c:318:1: enter_function: entry to 'ximemdup'
coreutils-9.7/separate/../lib/xmalloc.c:320:10: call_function: calling 'ximalloc' from 'ximemdup'
#   55|   imalloc (idx_t s)
#   56|   {
#   57|->   return s <= SIZE_MAX ? malloc (s) : _gl_alloc_nomem ();
#   58|   }
#   59|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
coreutils-9.7/separate/../lib/ialloc.h:91:10: warning[-Wanalyzer-malloc-leak]: leak of 'xicalloc(s, 1)'
coreutils-9.7/separate/../lib/xmalloc.c:287:1: enter_function: entry to 'xizalloc'
coreutils-9.7/separate/../lib/xmalloc.c:289:10: call_function: calling 'xicalloc' from 'xizalloc'
#   89|         s = 0;
#   90|       }
#   91|->   return calloc (n, s);
#   92|   }
#   93|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
coreutils-9.7/separate/../lib/mbfile.h:93:7: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc((long int)((long unsigned int)max_column_width * 32))'
coreutils-9.7/separate/../src/unexpand.c:315:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/unexpand.c:379:3: call_function: calling 'unexpand' from 'main'
#   91|   
#   92|     /* Return character pushed back, if there is one.  */
#   93|->   if (mbf->pushback_count > 0)
#   94|       {
#   95|         mb_copy (mbc, &mbf->pushback[mbf->pushback_count - 1]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
coreutils-9.7/separate/../lib/randint.c:76:10: warning[-Wanalyzer-malloc-leak]: leak of 'randint_new(randread_new(name,  bytes_bound))'
coreutils-9.7/separate/../lib/randint.c:84:1: enter_function: entry to 'randint_all_new'
coreutils-9.7/separate/../lib/randint.c:87:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../lib/randint.c:87:20: branch_true: ...to here
coreutils-9.7/separate/../lib/randint.c:87:20: call_function: calling 'randint_new' from 'randint_all_new'
#   74|     s->source = source;
#   75|     s->randnum = s->randmax = 0;
#   76|->   return s;
#   77|   }
#   78|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
coreutils-9.7/separate/../lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.7/separate/../lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.7/separate/../lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.7/separate/../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): [#def23]
coreutils-9.7/separate/../lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.7/separate/../lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.7/separate/../lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.7/separate/../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-401): [#def24]
coreutils-9.7/separate/../lib/read-file.c:62:46: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename,  mode), flags,  length)'
coreutils-9.7/separate/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/separate/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/separate/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/separate/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
#   60|       struct stat st;
#   61|   
#   62|->     if (fstat (fileno (stream), &st) >= 0 && S_ISREG (st.st_mode))
#   63|         {
#   64|           off_t pos = ftello (stream);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
coreutils-9.7/separate/../lib/read-file.c:82:6: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename,  mode), flags,  length)'
coreutils-9.7/separate/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/separate/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/separate/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/separate/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
#   80|     }
#   81|   
#   82|->   if (!(buf = malloc (alloc)))
#   83|       return NULL; /* errno is ENOMEM.  */
#   84|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
coreutils-9.7/separate/../lib/read-file.c:104:24: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename,  mode), flags,  length)'
coreutils-9.7/separate/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/separate/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/separate/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/separate/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
#  102|   
#  103|               /* Shrink the allocated memory if possible.  */
#  104|->             if (size < alloc - 1)
#  105|                 {
#  106|                   if (flags & RF_SENSITIVE)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
coreutils-9.7/separate/../lib/read-file.c:142:37: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename,  mode), flags,  length)'
coreutils-9.7/separate/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/separate/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/separate/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/separate/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
#  140|               }
#  141|   
#  142|->           if (alloc < PTRDIFF_MAX - alloc / 2)
#  143|               alloc = alloc + alloc / 2;
#  144|             else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
coreutils-9.7/separate/../lib/time_rz.c:88:22: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))'
coreutils-9.7/separate/./lib/time.h:1116:1: enter_function: entry to 'mktime_z'
coreutils-9.7/separate/../lib/time_rz.c:282:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.7/separate/../lib/time_rz.c:286:27: branch_false: ...to here
coreutils-9.7/separate/../lib/time_rz.c:286:27: call_function: calling 'set_tz' from 'mktime_z'
#   86|   {
#   87|     size_t name_size = name ? strlen (name) + 1 : 0;
#   88|->   size_t abbr_size = name_size < ABBR_SIZE_MIN ? ABBR_SIZE_MIN : name_size + 1;
#   89|     timezone_t tz = malloc (FLEXSIZEOF (struct tm_zone, abbrs, abbr_size));
#   90|     if (tz)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
coreutils-9.7/separate/../lib/time_rz.c:206:10: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)'
coreutils-9.7/separate/./lib/time.h:1116:1: enter_function: entry to 'mktime_z'
coreutils-9.7/separate/../lib/time_rz.c:282:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.7/separate/../lib/time_rz.c:286:27: branch_false: ...to here
coreutils-9.7/separate/../lib/time_rz.c:286:27: call_function: calling 'set_tz' from 'mktime_z'
coreutils-9.7/separate/../lib/time_rz.c:286:27: return_function: returning to 'mktime_z' from 'set_tz'
coreutils-9.7/separate/../lib/time_rz.c:287:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../lib/time_rz.c:290:25: branch_true: ...to here
coreutils-9.7/separate/../lib/time_rz.c:301:15: call_function: calling 'revert_tz' from 'mktime_z'
#  204|     if (env_tz
#  205|         ? tz->tz_is_set && strcmp (tz->abbrs, env_tz) == 0
#  206|->       : !tz->tz_is_set)
#  207|       return local_tz;
#  208|     else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
coreutils-9.7/separate/../lib/xmalloc.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(n)'
coreutils-9.7/separate/../lib/xmalloc.c:55:1: enter_function: entry to 'xcharalloc'
coreutils-9.7/separate/../lib/xmalloc.c:57:10: call_function: calling 'xmalloc' from 'xcharalloc'
#   43|   xmalloc (size_t s)
#   44|   {
#   45|->   return check_nonnull (malloc (s));
#   46|   }
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
coreutils-9.7/separate/../lib/xmalloc.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(s)'
coreutils-9.7/separate/../lib/xmalloc.c:312:1: enter_function: entry to 'xmemdup'
coreutils-9.7/separate/../lib/xmalloc.c:314:10: call_function: calling 'xmalloc' from 'xmemdup'
#   43|   xmalloc (size_t s)
#   44|   {
#   45|->   return check_nonnull (malloc (s));
#   46|   }
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
coreutils-9.7/separate/../lib/xmalloc.c:298:10: warning[-Wanalyzer-malloc-leak]: leak of 'xcalloc(s, 1)'
coreutils-9.7/separate/../lib/xmalloc.c:281:1: enter_function: entry to 'xzalloc'
coreutils-9.7/separate/../lib/xmalloc.c:283:10: call_function: calling 'xcalloc' from 'xzalloc'
#  296|   xcalloc (size_t n, size_t s)
#  297|   {
#  298|->   return check_nonnull (calloc (n, s));
#  299|   }
#  300|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
coreutils-9.7/separate/../lib/xmalloc.c:314:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmemdup(string,  strlen(string) + 1)'
coreutils-9.7/separate/../lib/xmalloc.c:337:1: enter_function: entry to 'xstrdup'
coreutils-9.7/separate/../lib/xmalloc.c:339:10: call_function: calling 'xmemdup' from 'xstrdup'
#  312|   xmemdup (void const *p, size_t s)
#  313|   {
#  314|->   return memcpy (xmalloc (s), p, s);
#  315|   }
#  316|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
coreutils-9.7/separate/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)base_length(30720))'
coreutils-9.7/separate/../src/basenc.c:1089:1: enter_function: entry to 'do_encode'
coreutils-9.7/separate/../src/basenc.c:1110:10: branch_false: following 'false' branch (when 'sum <= 0')...
coreutils-9.7/separate/../src/basenc.c:1120:11: call_function: inlined call to 'feof_unlocked' from 'do_encode'
coreutils-9.7/separate/../src/basenc.c:1105:15: danger: 'xmalloc((long unsigned int)base_length(30720))' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
# 1103|         do
# 1104|           {
# 1105|->           n = fread (inbuf + sum, 1, ENC_BLOCKSIZE - sum, in);
# 1106|             sum += n;
# 1107|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
coreutils-9.7/separate/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(40960)'
coreutils-9.7/separate/../src/basenc.c:1215:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/basenc.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/basenc.c:1371:6: branch_false: ...to here
coreutils-9.7/separate/../src/basenc.c:1390:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.7/separate/../src/basenc.c:1393:5: branch_false: ...to here
coreutils-9.7/separate/../src/basenc.c:1393:5: call_function: calling 'do_encode' from 'main'
# 1103|         do
# 1104|           {
# 1105|->           n = fread (inbuf + sum, 1, ENC_BLOCKSIZE - sum, in);
# 1106|             sum += n;
# 1107|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
coreutils-9.7/separate/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(49152)'
coreutils-9.7/separate/../src/basenc.c:1215:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/basenc.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/basenc.c:1371:6: branch_false: ...to here
coreutils-9.7/separate/../src/basenc.c:1390:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.7/separate/../src/basenc.c:1393:5: branch_false: ...to here
coreutils-9.7/separate/../src/basenc.c:1393:5: call_function: calling 'do_encode' from 'main'
# 1103|         do
# 1104|           {
# 1105|->           n = fread (inbuf + sum, 1, ENC_BLOCKSIZE - sum, in);
# 1106|             sum += n;
# 1107|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
coreutils-9.7/separate/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(3072)'
# 1153|         do
# 1154|           {
# 1155|->           idx_t n = fread (inbuf + sum,
# 1156|                              1, BASE_LENGTH (DEC_BLOCKSIZE) - sum, in);
# 1157|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
coreutils-9.7/separate/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(4200)'
# 1153|         do
# 1154|           {
# 1155|->           idx_t n = fread (inbuf + sum,
# 1156|                              1, BASE_LENGTH (DEC_BLOCKSIZE) - sum, in);
# 1157|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
coreutils-9.7/separate/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(5120)'
# 1153|         do
# 1154|           {
# 1155|->           idx_t n = fread (inbuf + sum,
# 1156|                              1, BASE_LENGTH (DEC_BLOCKSIZE) - sum, in);
# 1157|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
coreutils-9.7/separate/../src/chown-core.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.7/separate/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/separate/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
#   81|   {
#   82|     char buf[INT_BUFSIZE_BOUND (intmax_t)];
#   83|->   return xstrdup (TYPE_SIGNED (uid_t) ? imaxtostr (uid, buf)
#   84|                     : umaxtostr (uid, buf));
#   85|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
coreutils-9.7/separate/../src/chown-core.c:94:19: warning[-Wanalyzer-malloc-leak]: leak of 'gid_to_name(*file_stats.st_gid)'
coreutils-9.7/separate/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/separate/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.7/separate/../src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
#   92|   {
#   93|     char buf[INT_BUFSIZE_BOUND (intmax_t)];
#   94|->   return xstrdup (TYPE_SIGNED (gid_t) ? imaxtostr (gid, buf)
#   95|                     : umaxtostr (gid, buf));
#   96|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
coreutils-9.7/separate/../src/chown-core.c:106:25: warning[-Wanalyzer-malloc-leak]: leak of 'gid_to_name(*file_stats.st_gid)'
coreutils-9.7/separate/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/separate/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.7/separate/../src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
#  104|   {
#  105|     struct group *grp = getgrgid (gid);
#  106|->   return grp ? xstrdup (grp->gr_name) : gid_to_str (gid);
#  107|   }
#  108|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
coreutils-9.7/separate/../src/chown-core.c:117:25: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.7/separate/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/separate/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
#  115|   {
#  116|     struct passwd *pwd = getpwuid (uid);
#  117|->   return pwd ? xstrdup (pwd->pw_name) : uid_to_str (uid);
#  118|   }
#  119|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
coreutils-9.7/separate/../src/chown-core.c:171:3: warning[-Wanalyzer-malloc-leak]: leak of 'user_group_str(<unknown>,  <unknown>)'
coreutils-9.7/separate/../src/chown-core.c:536:1: enter_function: entry to 'chown_files'
coreutils-9.7/separate/../src/chown-core.c:557:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chown-core.c:569:13: branch_false: ...to here
coreutils-9.7/separate/../src/chown-core.c:569:13: call_function: calling 'change_file_owner' from 'chown_files'
#  169|                                group ? old_group : nullptr);
#  170|   
#  171|->   switch (changed)
#  172|       {
#  173|       case CH_SUCCEEDED:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
coreutils-9.7/separate/../src/chown-core.c:179:10: warning[-Wanalyzer-malloc-leak]: leak of 'user_group_str(<unknown>,  <unknown>)'
coreutils-9.7/separate/../src/chown-core.c:536:1: enter_function: entry to 'chown_files'
coreutils-9.7/separate/../src/chown-core.c:557:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chown-core.c:569:13: branch_false: ...to here
coreutils-9.7/separate/../src/chown-core.c:569:13: call_function: calling 'change_file_owner' from 'chown_files'
#  177|         break;
#  178|       case CH_FAILED:
#  179|->       if (old_spec)
#  180|           {
#  181|             fmt = (user ? _("failed to change ownership of %s from %s to %s\n")

Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
coreutils-9.7/separate/../src/chroot.c:147:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'gids'
coreutils-9.7/separate/../src/chroot.c:219:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/chroot.c:232:16: release_memory: 'out_gids' is NULL
coreutils-9.7/separate/../src/chroot.c:244:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.7/separate/../src/chroot.c:246:7: branch_true: ...to here
coreutils-9.7/separate/../src/chroot.c:244:10: branch_false: following 'false' branch (when 'c == -1')...
coreutils-9.7/separate/../src/chroot.c:277:7: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:277:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chroot.c:283:29: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:286:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chroot.c:293:6: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:293:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chroot.c:301:10: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:301:10: branch_false: following 'false' branch (when 'userspec' is NULL)...
coreutils-9.7/separate/../src/chroot.c:306:11: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:306:10: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:317:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chroot.c:318:9: call_function: calling 'parse_additional_groups' from 'main'
#  145|         if (n_gids == n_gids_allocated)
#  146|           gids = xpalloc (gids, &n_gids_allocated, 1, -1, sizeof *gids);
#  147|->       gids[n_gids++] = value;
#  148|       }
#  149|   

Error: COMPILER_WARNING: [#def47]
coreutils-9.7/separate/../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: [#def48]
coreutils-9.7/separate/../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: [#def49]
coreutils-9.7/separate/../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: [#def50]
coreutils-9.7/separate/../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: [#def51]
coreutils-9.7/separate/../src/cksum_avx2.c:83:18: note[note]: called from here
#   81|         if (bytes_read >= 16 * 8 * 2)
#   82|           {
#   83|->           data = _mm256_loadu_si256 (datap);
#   84|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#   85|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value

Error: COMPILER_WARNING: [#def52]
coreutils-9.7/separate/../src/cksum_avx2.c:84:18: note[note]: called from here
#   82|           {
#   83|             data = _mm256_loadu_si256 (datap);
#   84|->           data = _mm256_shuffle_epi8 (data, shuffle_constant);
#   85|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   86|                calculated for previous BUFLEN buffer from fread */

Error: COMPILER_WARNING: [#def53]
coreutils-9.7/separate/../src/cksum_avx2.c:87:21: note[note]: called from here
#   85|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   86|                calculated for previous BUFLEN buffer from fread */
#   87|->           xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#   88|             crc = 0;
#   89|             data = _mm256_xor_si256 (data, xor_crc);

Error: COMPILER_WARNING: [#def54]
coreutils-9.7/separate/../src/cksum_avx2.c:89:18: note[note]: called from here
#   87|             xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#   88|             crc = 0;
#   89|->           data = _mm256_xor_si256 (data, xor_crc);
#   90|             data3 = _mm256_loadu_si256 (datap + 1);
#   91|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def55]
coreutils-9.7/separate/../src/cksum_avx2.c:90:19: note[note]: called from here
#   88|             crc = 0;
#   89|             data = _mm256_xor_si256 (data, xor_crc);
#   90|->           data3 = _mm256_loadu_si256 (datap + 1);
#   91|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#   92|             data5 = _mm256_loadu_si256 (datap + 2);

Error: COMPILER_WARNING: [#def56]
coreutils-9.7/separate/../src/cksum_avx2.c:91:19: note[note]: called from here
#   89|             data = _mm256_xor_si256 (data, xor_crc);
#   90|             data3 = _mm256_loadu_si256 (datap + 1);
#   91|->           data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#   92|             data5 = _mm256_loadu_si256 (datap + 2);
#   93|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def57]
coreutils-9.7/separate/../src/cksum_avx2.c:92:19: note[note]: called from here
#   90|             data3 = _mm256_loadu_si256 (datap + 1);
#   91|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#   92|->           data5 = _mm256_loadu_si256 (datap + 2);
#   93|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#   94|             data7 = _mm256_loadu_si256 (datap + 3);

Error: COMPILER_WARNING: [#def58]
coreutils-9.7/separate/../src/cksum_avx2.c:93:19: note[note]: called from here
#   91|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#   92|             data5 = _mm256_loadu_si256 (datap + 2);
#   93|->           data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#   94|             data7 = _mm256_loadu_si256 (datap + 3);
#   95|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def59]
coreutils-9.7/separate/../src/cksum_avx2.c:94:19: note[note]: called from here
#   92|             data5 = _mm256_loadu_si256 (datap + 2);
#   93|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#   94|->           data7 = _mm256_loadu_si256 (datap + 3);
#   95|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#   96|   

Error: COMPILER_WARNING: [#def60]
coreutils-9.7/separate/../src/cksum_avx2.c:95:19: note[note]: called from here
#   93|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#   94|             data7 = _mm256_loadu_si256 (datap + 3);
#   95|->           data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#   96|   
#   97|             while (bytes_read >= 16 * 8 * 2)

Error: COMPILER_WARNING: [#def61]
coreutils-9.7/separate/../src/cksum_avx2.c:102:23: note[note]: called from here
#  100|   
#  101|                 /* Do multiplication here for 8x consecutive 16 byte blocks */
#  102|->               data2 = _mm256_clmulepi64_epi128 (data, four_mult_constant,
#  103|                                                   0x00);
#  104|                 data = _mm256_clmulepi64_epi128 (data, four_mult_constant,

Error: COMPILER_WARNING: [#def62]
coreutils-9.7/separate/../src/cksum_avx2.c:104:22: note[note]: called from here
#  102|                 data2 = _mm256_clmulepi64_epi128 (data, four_mult_constant,
#  103|                                                   0x00);
#  104|->               data = _mm256_clmulepi64_epi128 (data, four_mult_constant,
#  105|                                                  0x11);
#  106|                 data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,

Error: COMPILER_WARNING: [#def63]
coreutils-9.7/separate/../src/cksum_avx2.c:106:23: note[note]: called from here
#  104|                 data = _mm256_clmulepi64_epi128 (data, four_mult_constant,
#  105|                                                  0x11);
#  106|->               data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,
#  107|                                                   0x00);
#  108|                 data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,

Error: COMPILER_WARNING: [#def64]
coreutils-9.7/separate/../src/cksum_avx2.c:108:23: note[note]: called from here
#  106|                 data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,
#  107|                                                   0x00);
#  108|->               data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,
#  109|                                                   0x11);
#  110|                 data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,

Error: COMPILER_WARNING: [#def65]
coreutils-9.7/separate/../src/cksum_avx2.c:110:23: note[note]: called from here
#  108|                 data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,
#  109|                                                   0x11);
#  110|->               data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,
#  111|                                                   0x00);
#  112|                 data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,

Error: COMPILER_WARNING: [#def66]
coreutils-9.7/separate/../src/cksum_avx2.c:112:23: note[note]: called from here
#  110|                 data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,
#  111|                                                   0x00);
#  112|->               data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,
#  113|                                                   0x11);
#  114|                 data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,

Error: COMPILER_WARNING: [#def67]
coreutils-9.7/separate/../src/cksum_avx2.c:114:23: note[note]: called from here
#  112|                 data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,
#  113|                                                   0x11);
#  114|->               data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,
#  115|                                                   0x00);
#  116|                 data7 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,

Error: COMPILER_WARNING: [#def68]
coreutils-9.7/separate/../src/cksum_avx2.c:116:23: note[note]: called from here
#  114|                 data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,
#  115|                                                   0x00);
#  116|->               data7 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,
#  117|                                                   0x11);
#  118|   

Error: COMPILER_WARNING: [#def69]
coreutils-9.7/separate/../src/cksum_avx2.c:124:22: note[note]: called from here
#  122|                    Keep xor result in variables for multiplication in next
#  123|                    round of loop. */
#  124|->               data = _mm256_xor_si256 (data, data2);
#  125|                 data2 = _mm256_loadu_si256 (datap);
#  126|                 data2 = _mm256_shuffle_epi8 (data2, shuffle_constant);

Error: COMPILER_WARNING: [#def70]
coreutils-9.7/separate/../src/cksum_avx2.c:125:23: note[note]: called from here
#  123|                    round of loop. */
#  124|                 data = _mm256_xor_si256 (data, data2);
#  125|->               data2 = _mm256_loadu_si256 (datap);
#  126|                 data2 = _mm256_shuffle_epi8 (data2, shuffle_constant);
#  127|                 data = _mm256_xor_si256 (data, data2);

Error: COMPILER_WARNING: [#def71]
coreutils-9.7/separate/../src/cksum_avx2.c:126:23: note[note]: called from here
#  124|                 data = _mm256_xor_si256 (data, data2);
#  125|                 data2 = _mm256_loadu_si256 (datap);
#  126|->               data2 = _mm256_shuffle_epi8 (data2, shuffle_constant);
#  127|                 data = _mm256_xor_si256 (data, data2);
#  128|   

Error: COMPILER_WARNING: [#def72]
coreutils-9.7/separate/../src/cksum_avx2.c:127:22: note[note]: called from here
#  125|                 data2 = _mm256_loadu_si256 (datap);
#  126|                 data2 = _mm256_shuffle_epi8 (data2, shuffle_constant);
#  127|->               data = _mm256_xor_si256 (data, data2);
#  128|   
#  129|                 data3 = _mm256_xor_si256 (data3, data4);

Error: COMPILER_WARNING: [#def73]
coreutils-9.7/separate/../src/cksum_avx2.c:129:23: note[note]: called from here
#  127|                 data = _mm256_xor_si256 (data, data2);
#  128|   
#  129|->               data3 = _mm256_xor_si256 (data3, data4);
#  130|                 data4 = _mm256_loadu_si256 (datap + 1);
#  131|                 data4 = _mm256_shuffle_epi8 (data4, shuffle_constant);

Error: COMPILER_WARNING: [#def74]
coreutils-9.7/separate/../src/cksum_avx2.c:130:23: note[note]: called from here
#  128|   
#  129|                 data3 = _mm256_xor_si256 (data3, data4);
#  130|->               data4 = _mm256_loadu_si256 (datap + 1);
#  131|                 data4 = _mm256_shuffle_epi8 (data4, shuffle_constant);
#  132|                 data3 = _mm256_xor_si256 (data3, data4);

Error: COMPILER_WARNING: [#def75]
coreutils-9.7/separate/../src/cksum_avx2.c:131:23: note[note]: called from here
#  129|                 data3 = _mm256_xor_si256 (data3, data4);
#  130|                 data4 = _mm256_loadu_si256 (datap + 1);
#  131|->               data4 = _mm256_shuffle_epi8 (data4, shuffle_constant);
#  132|                 data3 = _mm256_xor_si256 (data3, data4);
#  133|   

Error: COMPILER_WARNING: [#def76]
coreutils-9.7/separate/../src/cksum_avx2.c:132:23: note[note]: called from here
#  130|                 data4 = _mm256_loadu_si256 (datap + 1);
#  131|                 data4 = _mm256_shuffle_epi8 (data4, shuffle_constant);
#  132|->               data3 = _mm256_xor_si256 (data3, data4);
#  133|   
#  134|                 data5 = _mm256_xor_si256 (data5, data6);

Error: COMPILER_WARNING: [#def77]
coreutils-9.7/separate/../src/cksum_avx2.c:134:23: note[note]: called from here
#  132|                 data3 = _mm256_xor_si256 (data3, data4);
#  133|   
#  134|->               data5 = _mm256_xor_si256 (data5, data6);
#  135|                 data6 = _mm256_loadu_si256 (datap + 2);
#  136|                 data6 = _mm256_shuffle_epi8 (data6, shuffle_constant);

Error: COMPILER_WARNING: [#def78]
coreutils-9.7/separate/../src/cksum_avx2.c:135:23: note[note]: called from here
#  133|   
#  134|                 data5 = _mm256_xor_si256 (data5, data6);
#  135|->               data6 = _mm256_loadu_si256 (datap + 2);
#  136|                 data6 = _mm256_shuffle_epi8 (data6, shuffle_constant);
#  137|                 data5 = _mm256_xor_si256 (data5, data6);

Error: COMPILER_WARNING: [#def79]
coreutils-9.7/separate/../src/cksum_avx2.c:136:23: note[note]: called from here
#  134|                 data5 = _mm256_xor_si256 (data5, data6);
#  135|                 data6 = _mm256_loadu_si256 (datap + 2);
#  136|->               data6 = _mm256_shuffle_epi8 (data6, shuffle_constant);
#  137|                 data5 = _mm256_xor_si256 (data5, data6);
#  138|   

Error: COMPILER_WARNING: [#def80]
coreutils-9.7/separate/../src/cksum_avx2.c:137:23: note[note]: called from here
#  135|                 data6 = _mm256_loadu_si256 (datap + 2);
#  136|                 data6 = _mm256_shuffle_epi8 (data6, shuffle_constant);
#  137|->               data5 = _mm256_xor_si256 (data5, data6);
#  138|   
#  139|                 data7 = _mm256_xor_si256 (data7, data8);

Error: COMPILER_WARNING: [#def81]
coreutils-9.7/separate/../src/cksum_avx2.c:139:23: note[note]: called from here
#  137|                 data5 = _mm256_xor_si256 (data5, data6);
#  138|   
#  139|->               data7 = _mm256_xor_si256 (data7, data8);
#  140|                 data8 = _mm256_loadu_si256 (datap + 3);
#  141|                 data8 = _mm256_shuffle_epi8 (data8, shuffle_constant);

Error: COMPILER_WARNING: [#def82]
coreutils-9.7/separate/../src/cksum_avx2.c:140:23: note[note]: called from here
#  138|   
#  139|                 data7 = _mm256_xor_si256 (data7, data8);
#  140|->               data8 = _mm256_loadu_si256 (datap + 3);
#  141|                 data8 = _mm256_shuffle_epi8 (data8, shuffle_constant);
#  142|                 data7 = _mm256_xor_si256 (data7, data8);

Error: COMPILER_WARNING: [#def83]
coreutils-9.7/separate/../src/cksum_avx2.c:141:23: note[note]: called from here
#  139|                 data7 = _mm256_xor_si256 (data7, data8);
#  140|                 data8 = _mm256_loadu_si256 (datap + 3);
#  141|->               data8 = _mm256_shuffle_epi8 (data8, shuffle_constant);
#  142|                 data7 = _mm256_xor_si256 (data7, data8);
#  143|   

Error: COMPILER_WARNING: [#def84]
coreutils-9.7/separate/../src/cksum_avx2.c:142:23: note[note]: called from here
#  140|                 data8 = _mm256_loadu_si256 (datap + 3);
#  141|                 data8 = _mm256_shuffle_epi8 (data8, shuffle_constant);
#  142|->               data7 = _mm256_xor_si256 (data7, data8);
#  143|   
#  144|                 bytes_read -= (16 * 4 * 2);

Error: COMPILER_WARNING: [#def85]
coreutils-9.7/separate/../src/cksum_avx2.c:148:18: note[note]: called from here
#  146|             /* At end of loop we write out results from variables back into
#  147|                the buffer, for use in single fold loop */
#  148|->           data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  149|             _mm256_storeu_si256 (datap, data);
#  150|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def86]
coreutils-9.7/separate/../src/cksum_avx2.c:149:11: note[note]: called from here
#  147|                the buffer, for use in single fold loop */
#  148|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  149|->           _mm256_storeu_si256 (datap, data);
#  150|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#  151|             _mm256_storeu_si256 (datap + 1, data3);

Error: COMPILER_WARNING: [#def87]
coreutils-9.7/separate/../src/cksum_avx2.c:150:19: note[note]: called from here
#  148|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  149|             _mm256_storeu_si256 (datap, data);
#  150|->           data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#  151|             _mm256_storeu_si256 (datap + 1, data3);
#  152|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def88]
coreutils-9.7/separate/../src/cksum_avx2.c:151:11: note[note]: called from here
#  149|             _mm256_storeu_si256 (datap, data);
#  150|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#  151|->           _mm256_storeu_si256 (datap + 1, data3);
#  152|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#  153|             _mm256_storeu_si256 (datap + 2, data5);

Error: COMPILER_WARNING: [#def89]
coreutils-9.7/separate/../src/cksum_avx2.c:152:19: note[note]: called from here
#  150|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#  151|             _mm256_storeu_si256 (datap + 1, data3);
#  152|->           data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#  153|             _mm256_storeu_si256 (datap + 2, data5);
#  154|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def90]
coreutils-9.7/separate/../src/cksum_avx2.c:153:11: note[note]: called from here
#  151|             _mm256_storeu_si256 (datap + 1, data3);
#  152|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#  153|->           _mm256_storeu_si256 (datap + 2, data5);
#  154|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#  155|             _mm256_storeu_si256 (datap + 3, data7);

Error: COMPILER_WARNING: [#def91]
coreutils-9.7/separate/../src/cksum_avx2.c:154:19: note[note]: called from here
#  152|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#  153|             _mm256_storeu_si256 (datap + 2, data5);
#  154|->           data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#  155|             _mm256_storeu_si256 (datap + 3, data7);
#  156|           }

Error: COMPILER_WARNING: [#def92]
coreutils-9.7/separate/../src/cksum_avx2.c:155:11: note[note]: called from here
#  153|             _mm256_storeu_si256 (datap + 2, data5);
#  154|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#  155|->           _mm256_storeu_si256 (datap + 3, data7);
#  156|           }
#  157|   

Error: COMPILER_WARNING: [#def93]
coreutils-9.7/separate/../src/cksum_avx2.c:161:18: note[note]: called from here
#  159|         if (bytes_read >= 64)
#  160|           {
#  161|->           data = _mm256_loadu_si256 (datap);
#  162|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  163|             xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);

Error: COMPILER_WARNING: [#def94]
coreutils-9.7/separate/../src/cksum_avx2.c:162:18: note[note]: called from here
#  160|           {
#  161|             data = _mm256_loadu_si256 (datap);
#  162|->           data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  163|             xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#  164|             crc = 0;

Error: COMPILER_WARNING: [#def95]
coreutils-9.7/separate/../src/cksum_avx2.c:163:21: note[note]: called from here
#  161|             data = _mm256_loadu_si256 (datap);
#  162|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  163|->           xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#  164|             crc = 0;
#  165|             data = _mm256_xor_si256 (data, xor_crc);

Error: COMPILER_WARNING: [#def96]
coreutils-9.7/separate/../src/cksum_avx2.c:165:18: note[note]: called from here
#  163|             xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#  164|             crc = 0;
#  165|->           data = _mm256_xor_si256 (data, xor_crc);
#  166|             while (bytes_read >= 64)
#  167|               {

Error: COMPILER_WARNING: [#def97]
coreutils-9.7/separate/../src/cksum_avx2.c:170:23: note[note]: called from here
#  168|                 datap++;
#  169|   
#  170|->               data2 = _mm256_clmulepi64_epi128 (data, single_mult_constant,
#  171|                                                   0x00);
#  172|                 data = _mm256_clmulepi64_epi128 (data, single_mult_constant,

Error: COMPILER_WARNING: [#def98]
coreutils-9.7/separate/../src/cksum_avx2.c:172:22: note[note]: called from here
#  170|                 data2 = _mm256_clmulepi64_epi128 (data, single_mult_constant,
#  171|                                                   0x00);
#  172|->               data = _mm256_clmulepi64_epi128 (data, single_mult_constant,
#  173|                                                  0x11);
#  174|                 fold_data = _mm256_loadu_si256 (datap);

Error: COMPILER_WARNING: [#def99]
coreutils-9.7/separate/../src/cksum_avx2.c:174:27: note[note]: called from here
#  172|                 data = _mm256_clmulepi64_epi128 (data, single_mult_constant,
#  173|                                                  0x11);
#  174|->               fold_data = _mm256_loadu_si256 (datap);
#  175|                 fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant);
#  176|                 data = _mm256_xor_si256 (data, data2);

Error: COMPILER_WARNING: [#def100]
coreutils-9.7/separate/../src/cksum_avx2.c:175:27: note[note]: called from here
#  173|                                                  0x11);
#  174|                 fold_data = _mm256_loadu_si256 (datap);
#  175|->               fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant);
#  176|                 data = _mm256_xor_si256 (data, data2);
#  177|                 data = _mm256_xor_si256 (data, fold_data);

Error: COMPILER_WARNING: [#def101]
coreutils-9.7/separate/../src/cksum_avx2.c:176:22: note[note]: called from here
#  174|                 fold_data = _mm256_loadu_si256 (datap);
#  175|                 fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant);
#  176|->               data = _mm256_xor_si256 (data, data2);
#  177|                 data = _mm256_xor_si256 (data, fold_data);
#  178|                 bytes_read -= 32;

Error: COMPILER_WARNING: [#def102]
coreutils-9.7/separate/../src/cksum_avx2.c:177:22: note[note]: called from here
#  175|                 fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant);
#  176|                 data = _mm256_xor_si256 (data, data2);
#  177|->               data = _mm256_xor_si256 (data, fold_data);
#  178|                 bytes_read -= 32;
#  179|               }

Error: COMPILER_WARNING: [#def103]
coreutils-9.7/separate/../src/cksum_avx2.c:180:18: note[note]: called from here
#  178|                 bytes_read -= 32;
#  179|               }
#  180|->           data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  181|             _mm256_storeu_si256 (datap, data);
#  182|           }

Error: COMPILER_WARNING: [#def104]
coreutils-9.7/separate/../src/cksum_avx2.c:181:11: note[note]: called from here
#  179|               }
#  180|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  181|->           _mm256_storeu_si256 (datap, data);
#  182|           }
#  183|   

Error: COMPILER_WARNING: [#def105]
coreutils-9.7/separate/../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: [#def106]
coreutils-9.7/separate/../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: [#def107]
coreutils-9.7/separate/../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: [#def108]
coreutils-9.7/separate/../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: [#def109]
coreutils-9.7/separate/../src/cksum_avx512.c:90:18: note[note]: called from here
#   88|         if (bytes_read >= 16 * 8 * 4)
#   89|           {
#   90|->           data = _mm512_loadu_si512 (datap);
#   91|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#   92|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value

Error: COMPILER_WARNING: [#def110]
coreutils-9.7/separate/../src/cksum_avx512.c:91:18: note[note]: called from here
#   89|           {
#   90|             data = _mm512_loadu_si512 (datap);
#   91|->           data = _mm512_shuffle_epi8 (data, shuffle_constant);
#   92|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   93|                calculated for previous BUFLEN buffer from fread */

Error: COMPILER_WARNING: [#def111]
coreutils-9.7/separate/../src/cksum_avx512.c:94:21: note[note]: called from here
#   92|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   93|                calculated for previous BUFLEN buffer from fread */
#   94|->           xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0,
#   95|                                         0, 0, 0, 0, crc, 0, 0, 0);
#   96|             crc = 0;

Error: COMPILER_WARNING: [#def112]
coreutils-9.7/separate/../src/cksum_avx512.c:97:18: note[note]: called from here
#   95|                                         0, 0, 0, 0, crc, 0, 0, 0);
#   96|             crc = 0;
#   97|->           data = _mm512_xor_si512 (data, xor_crc);
#   98|             data3 = _mm512_loadu_si512 (datap + 1);
#   99|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def113]
coreutils-9.7/separate/../src/cksum_avx512.c:98:19: note[note]: called from here
#   96|             crc = 0;
#   97|             data = _mm512_xor_si512 (data, xor_crc);
#   98|->           data3 = _mm512_loadu_si512 (datap + 1);
#   99|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  100|             data5 = _mm512_loadu_si512 (datap + 2);

Error: COMPILER_WARNING: [#def114]
coreutils-9.7/separate/../src/cksum_avx512.c:99:19: note[note]: called from here
#   97|             data = _mm512_xor_si512 (data, xor_crc);
#   98|             data3 = _mm512_loadu_si512 (datap + 1);
#   99|->           data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  100|             data5 = _mm512_loadu_si512 (datap + 2);
#  101|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def115]
coreutils-9.7/separate/../src/cksum_avx512.c:100:19: note[note]: called from here
#   98|             data3 = _mm512_loadu_si512 (datap + 1);
#   99|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  100|->           data5 = _mm512_loadu_si512 (datap + 2);
#  101|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  102|             data7 = _mm512_loadu_si512 (datap + 3);

Error: COMPILER_WARNING: [#def116]
coreutils-9.7/separate/../src/cksum_avx512.c:101:19: note[note]: called from here
#   99|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  100|             data5 = _mm512_loadu_si512 (datap + 2);
#  101|->           data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  102|             data7 = _mm512_loadu_si512 (datap + 3);
#  103|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def117]
coreutils-9.7/separate/../src/cksum_avx512.c:102:19: note[note]: called from here
#  100|             data5 = _mm512_loadu_si512 (datap + 2);
#  101|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  102|->           data7 = _mm512_loadu_si512 (datap + 3);
#  103|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  104|   

Error: COMPILER_WARNING: [#def118]
coreutils-9.7/separate/../src/cksum_avx512.c:103:19: note[note]: called from here
#  101|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  102|             data7 = _mm512_loadu_si512 (datap + 3);
#  103|->           data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  104|   
#  105|             while (bytes_read >= 16 * 8 * 4)

Error: COMPILER_WARNING: [#def119]
coreutils-9.7/separate/../src/cksum_avx512.c:110:23: note[note]: called from here
#  108|   
#  109|                 /* Do multiplication here for 16x consecutive 16 byte blocks */
#  110|->               data2 = _mm512_clmulepi64_epi128 (data, four_mult_constant,
#  111|                                                   0x00);
#  112|                 data = _mm512_clmulepi64_epi128 (data, four_mult_constant,

Error: COMPILER_WARNING: [#def120]
coreutils-9.7/separate/../src/cksum_avx512.c:112:22: note[note]: called from here
#  110|                 data2 = _mm512_clmulepi64_epi128 (data, four_mult_constant,
#  111|                                                   0x00);
#  112|->               data = _mm512_clmulepi64_epi128 (data, four_mult_constant,
#  113|                                                  0x11);
#  114|                 data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,

Error: COMPILER_WARNING: [#def121]
coreutils-9.7/separate/../src/cksum_avx512.c:114:23: note[note]: called from here
#  112|                 data = _mm512_clmulepi64_epi128 (data, four_mult_constant,
#  113|                                                  0x11);
#  114|->               data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,
#  115|                                                   0x00);
#  116|                 data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,

Error: COMPILER_WARNING: [#def122]
coreutils-9.7/separate/../src/cksum_avx512.c:116:23: note[note]: called from here
#  114|                 data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,
#  115|                                                   0x00);
#  116|->               data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,
#  117|                                                   0x11);
#  118|                 data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,

Error: COMPILER_WARNING: [#def123]
coreutils-9.7/separate/../src/cksum_avx512.c:118:23: note[note]: called from here
#  116|                 data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,
#  117|                                                   0x11);
#  118|->               data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,
#  119|                                                   0x00);
#  120|                 data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,

Error: COMPILER_WARNING: [#def124]
coreutils-9.7/separate/../src/cksum_avx512.c:120:23: note[note]: called from here
#  118|                 data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,
#  119|                                                   0x00);
#  120|->               data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,
#  121|                                                   0x11);
#  122|                 data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,

Error: COMPILER_WARNING: [#def125]
coreutils-9.7/separate/../src/cksum_avx512.c:122:23: note[note]: called from here
#  120|                 data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,
#  121|                                                   0x11);
#  122|->               data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,
#  123|                                                   0x00);
#  124|                 data7 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,

Error: COMPILER_WARNING: [#def126]
coreutils-9.7/separate/../src/cksum_avx512.c:124:23: note[note]: called from here
#  122|                 data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,
#  123|                                                   0x00);
#  124|->               data7 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,
#  125|                                                   0x11);
#  126|   

Error: COMPILER_WARNING: [#def127]
coreutils-9.7/separate/../src/cksum_avx512.c:132:22: note[note]: called from here
#  130|                    Keep xor result in variables for multiplication in next
#  131|                    round of loop. */
#  132|->               data = _mm512_xor_si512 (data, data2);
#  133|                 data2 = _mm512_loadu_si512 (datap);
#  134|                 data2 = _mm512_shuffle_epi8 (data2, shuffle_constant);

Error: COMPILER_WARNING: [#def128]
coreutils-9.7/separate/../src/cksum_avx512.c:133:23: note[note]: called from here
#  131|                    round of loop. */
#  132|                 data = _mm512_xor_si512 (data, data2);
#  133|->               data2 = _mm512_loadu_si512 (datap);
#  134|                 data2 = _mm512_shuffle_epi8 (data2, shuffle_constant);
#  135|                 data = _mm512_xor_si512 (data, data2);

Error: COMPILER_WARNING: [#def129]
coreutils-9.7/separate/../src/cksum_avx512.c:134:23: note[note]: called from here
#  132|                 data = _mm512_xor_si512 (data, data2);
#  133|                 data2 = _mm512_loadu_si512 (datap);
#  134|->               data2 = _mm512_shuffle_epi8 (data2, shuffle_constant);
#  135|                 data = _mm512_xor_si512 (data, data2);
#  136|   

Error: COMPILER_WARNING: [#def130]
coreutils-9.7/separate/../src/cksum_avx512.c:135:22: note[note]: called from here
#  133|                 data2 = _mm512_loadu_si512 (datap);
#  134|                 data2 = _mm512_shuffle_epi8 (data2, shuffle_constant);
#  135|->               data = _mm512_xor_si512 (data, data2);
#  136|   
#  137|                 data3 = _mm512_xor_si512 (data3, data4);

Error: COMPILER_WARNING: [#def131]
coreutils-9.7/separate/../src/cksum_avx512.c:137:23: note[note]: called from here
#  135|                 data = _mm512_xor_si512 (data, data2);
#  136|   
#  137|->               data3 = _mm512_xor_si512 (data3, data4);
#  138|                 data4 = _mm512_loadu_si512 (datap + 1);
#  139|                 data4 = _mm512_shuffle_epi8 (data4, shuffle_constant);

Error: COMPILER_WARNING: [#def132]
coreutils-9.7/separate/../src/cksum_avx512.c:138:23: note[note]: called from here
#  136|   
#  137|                 data3 = _mm512_xor_si512 (data3, data4);
#  138|->               data4 = _mm512_loadu_si512 (datap + 1);
#  139|                 data4 = _mm512_shuffle_epi8 (data4, shuffle_constant);
#  140|                 data3 = _mm512_xor_si512 (data3, data4);

Error: COMPILER_WARNING: [#def133]
coreutils-9.7/separate/../src/cksum_avx512.c:139:23: note[note]: called from here
#  137|                 data3 = _mm512_xor_si512 (data3, data4);
#  138|                 data4 = _mm512_loadu_si512 (datap + 1);
#  139|->               data4 = _mm512_shuffle_epi8 (data4, shuffle_constant);
#  140|                 data3 = _mm512_xor_si512 (data3, data4);
#  141|   

Error: COMPILER_WARNING: [#def134]
coreutils-9.7/separate/../src/cksum_avx512.c:140:23: note[note]: called from here
#  138|                 data4 = _mm512_loadu_si512 (datap + 1);
#  139|                 data4 = _mm512_shuffle_epi8 (data4, shuffle_constant);
#  140|->               data3 = _mm512_xor_si512 (data3, data4);
#  141|   
#  142|                 data5 = _mm512_xor_si512 (data5, data6);

Error: COMPILER_WARNING: [#def135]
coreutils-9.7/separate/../src/cksum_avx512.c:142:23: note[note]: called from here
#  140|                 data3 = _mm512_xor_si512 (data3, data4);
#  141|   
#  142|->               data5 = _mm512_xor_si512 (data5, data6);
#  143|                 data6 = _mm512_loadu_si512 (datap + 2);
#  144|                 data6 = _mm512_shuffle_epi8 (data6, shuffle_constant);

Error: COMPILER_WARNING: [#def136]
coreutils-9.7/separate/../src/cksum_avx512.c:143:23: note[note]: called from here
#  141|   
#  142|                 data5 = _mm512_xor_si512 (data5, data6);
#  143|->               data6 = _mm512_loadu_si512 (datap + 2);
#  144|                 data6 = _mm512_shuffle_epi8 (data6, shuffle_constant);
#  145|                 data5 = _mm512_xor_si512 (data5, data6);

Error: COMPILER_WARNING: [#def137]
coreutils-9.7/separate/../src/cksum_avx512.c:144:23: note[note]: called from here
#  142|                 data5 = _mm512_xor_si512 (data5, data6);
#  143|                 data6 = _mm512_loadu_si512 (datap + 2);
#  144|->               data6 = _mm512_shuffle_epi8 (data6, shuffle_constant);
#  145|                 data5 = _mm512_xor_si512 (data5, data6);
#  146|   

Error: COMPILER_WARNING: [#def138]
coreutils-9.7/separate/../src/cksum_avx512.c:145:23: note[note]: called from here
#  143|                 data6 = _mm512_loadu_si512 (datap + 2);
#  144|                 data6 = _mm512_shuffle_epi8 (data6, shuffle_constant);
#  145|->               data5 = _mm512_xor_si512 (data5, data6);
#  146|   
#  147|                 data7 = _mm512_xor_si512 (data7, data8);

Error: COMPILER_WARNING: [#def139]
coreutils-9.7/separate/../src/cksum_avx512.c:147:23: note[note]: called from here
#  145|                 data5 = _mm512_xor_si512 (data5, data6);
#  146|   
#  147|->               data7 = _mm512_xor_si512 (data7, data8);
#  148|                 data8 = _mm512_loadu_si512 (datap + 3);
#  149|                 data8 = _mm512_shuffle_epi8 (data8, shuffle_constant);

Error: COMPILER_WARNING: [#def140]
coreutils-9.7/separate/../src/cksum_avx512.c:148:23: note[note]: called from here
#  146|   
#  147|                 data7 = _mm512_xor_si512 (data7, data8);
#  148|->               data8 = _mm512_loadu_si512 (datap + 3);
#  149|                 data8 = _mm512_shuffle_epi8 (data8, shuffle_constant);
#  150|                 data7 = _mm512_xor_si512 (data7, data8);

Error: COMPILER_WARNING: [#def141]
coreutils-9.7/separate/../src/cksum_avx512.c:149:23: note[note]: called from here
#  147|                 data7 = _mm512_xor_si512 (data7, data8);
#  148|                 data8 = _mm512_loadu_si512 (datap + 3);
#  149|->               data8 = _mm512_shuffle_epi8 (data8, shuffle_constant);
#  150|                 data7 = _mm512_xor_si512 (data7, data8);
#  151|   

Error: COMPILER_WARNING: [#def142]
coreutils-9.7/separate/../src/cksum_avx512.c:150:23: note[note]: called from here
#  148|                 data8 = _mm512_loadu_si512 (datap + 3);
#  149|                 data8 = _mm512_shuffle_epi8 (data8, shuffle_constant);
#  150|->               data7 = _mm512_xor_si512 (data7, data8);
#  151|   
#  152|                 bytes_read -= (16 * 4 * 4);

Error: COMPILER_WARNING: [#def143]
coreutils-9.7/separate/../src/cksum_avx512.c:156:18: note[note]: called from here
#  154|             /* At end of loop we write out results from variables back into
#  155|                the buffer, for use in single fold loop */
#  156|->           data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  157|             _mm512_storeu_si512 (datap, data);
#  158|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def144]
coreutils-9.7/separate/../src/cksum_avx512.c:157:11: note[note]: called from here
#  155|                the buffer, for use in single fold loop */
#  156|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  157|->           _mm512_storeu_si512 (datap, data);
#  158|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  159|             _mm512_storeu_si512 (datap + 1, data3);

Error: COMPILER_WARNING: [#def145]
coreutils-9.7/separate/../src/cksum_avx512.c:158:19: note[note]: called from here
#  156|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  157|             _mm512_storeu_si512 (datap, data);
#  158|->           data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  159|             _mm512_storeu_si512 (datap + 1, data3);
#  160|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def146]
coreutils-9.7/separate/../src/cksum_avx512.c:159:11: note[note]: called from here
#  157|             _mm512_storeu_si512 (datap, data);
#  158|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  159|->           _mm512_storeu_si512 (datap + 1, data3);
#  160|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  161|             _mm512_storeu_si512 (datap + 2, data5);

Error: COMPILER_WARNING: [#def147]
coreutils-9.7/separate/../src/cksum_avx512.c:160:19: note[note]: called from here
#  158|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  159|             _mm512_storeu_si512 (datap + 1, data3);
#  160|->           data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  161|             _mm512_storeu_si512 (datap + 2, data5);
#  162|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def148]
coreutils-9.7/separate/../src/cksum_avx512.c:161:11: note[note]: called from here
#  159|             _mm512_storeu_si512 (datap + 1, data3);
#  160|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  161|->           _mm512_storeu_si512 (datap + 2, data5);
#  162|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  163|             _mm512_storeu_si512 (datap + 3, data7);

Error: COMPILER_WARNING: [#def149]
coreutils-9.7/separate/../src/cksum_avx512.c:162:19: note[note]: called from here
#  160|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  161|             _mm512_storeu_si512 (datap + 2, data5);
#  162|->           data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  163|             _mm512_storeu_si512 (datap + 3, data7);
#  164|           }

Error: COMPILER_WARNING: [#def150]
coreutils-9.7/separate/../src/cksum_avx512.c:163:11: note[note]: called from here
#  161|             _mm512_storeu_si512 (datap + 2, data5);
#  162|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  163|->           _mm512_storeu_si512 (datap + 3, data7);
#  164|           }
#  165|   

Error: COMPILER_WARNING: [#def151]
coreutils-9.7/separate/../src/cksum_avx512.c:169:18: note[note]: called from here
#  167|         if (bytes_read >= 128)
#  168|           {
#  169|->           data = _mm512_loadu_si512 (datap);
#  170|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  171|             xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0,

Error: COMPILER_WARNING: [#def152]
coreutils-9.7/separate/../src/cksum_avx512.c:170:18: note[note]: called from here
#  168|           {
#  169|             data = _mm512_loadu_si512 (datap);
#  170|->           data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  171|             xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0,
#  172|                                         0, 0, 0, 0, crc, 0, 0, 0);

Error: COMPILER_WARNING: [#def153]
coreutils-9.7/separate/../src/cksum_avx512.c:171:21: note[note]: called from here
#  169|             data = _mm512_loadu_si512 (datap);
#  170|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  171|->           xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0,
#  172|                                         0, 0, 0, 0, crc, 0, 0, 0);
#  173|             crc = 0;

Error: COMPILER_WARNING: [#def154]
coreutils-9.7/separate/../src/cksum_avx512.c:174:18: note[note]: called from here
#  172|                                         0, 0, 0, 0, crc, 0, 0, 0);
#  173|             crc = 0;
#  174|->           data = _mm512_xor_si512 (data, xor_crc);
#  175|             while (bytes_read >= 128)
#  176|               {

Error: COMPILER_WARNING: [#def155]
coreutils-9.7/separate/../src/cksum_avx512.c:179:23: note[note]: called from here
#  177|                 datap++;
#  178|   
#  179|->               data2 = _mm512_clmulepi64_epi128 (data, single_mult_constant,
#  180|                                                   0x00);
#  181|                 data = _mm512_clmulepi64_epi128 (data, single_mult_constant,

Error: COMPILER_WARNING: [#def156]
coreutils-9.7/separate/../src/cksum_avx512.c:181:22: note[note]: called from here
#  179|                 data2 = _mm512_clmulepi64_epi128 (data, single_mult_constant,
#  180|                                                   0x00);
#  181|->               data = _mm512_clmulepi64_epi128 (data, single_mult_constant,
#  182|                                                  0x11);
#  183|                 fold_data = _mm512_loadu_si512 (datap);

Error: COMPILER_WARNING: [#def157]
coreutils-9.7/separate/../src/cksum_avx512.c:183:27: note[note]: called from here
#  181|                 data = _mm512_clmulepi64_epi128 (data, single_mult_constant,
#  182|                                                  0x11);
#  183|->               fold_data = _mm512_loadu_si512 (datap);
#  184|                 fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant);
#  185|                 data = _mm512_xor_si512 (data, data2);

Error: COMPILER_WARNING: [#def158]
coreutils-9.7/separate/../src/cksum_avx512.c:184:27: note[note]: called from here
#  182|                                                  0x11);
#  183|                 fold_data = _mm512_loadu_si512 (datap);
#  184|->               fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant);
#  185|                 data = _mm512_xor_si512 (data, data2);
#  186|                 data = _mm512_xor_si512 (data, fold_data);

Error: COMPILER_WARNING: [#def159]
coreutils-9.7/separate/../src/cksum_avx512.c:185:22: note[note]: called from here
#  183|                 fold_data = _mm512_loadu_si512 (datap);
#  184|                 fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant);
#  185|->               data = _mm512_xor_si512 (data, data2);
#  186|                 data = _mm512_xor_si512 (data, fold_data);
#  187|                 bytes_read -= 64;

Error: COMPILER_WARNING: [#def160]
coreutils-9.7/separate/../src/cksum_avx512.c:186:22: note[note]: called from here
#  184|                 fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant);
#  185|                 data = _mm512_xor_si512 (data, data2);
#  186|->               data = _mm512_xor_si512 (data, fold_data);
#  187|                 bytes_read -= 64;
#  188|               }

Error: COMPILER_WARNING: [#def161]
coreutils-9.7/separate/../src/cksum_avx512.c:189:18: note[note]: called from here
#  187|                 bytes_read -= 64;
#  188|               }
#  189|->           data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  190|             _mm512_storeu_si512 (datap, data);
#  191|           }

Error: COMPILER_WARNING: [#def162]
coreutils-9.7/separate/../src/cksum_avx512.c:190:11: note[note]: called from here
#  188|               }
#  189|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  190|->           _mm512_storeu_si512 (datap, data);
#  191|           }
#  192|   

Error: COMPILER_WARNING: [#def163]
coreutils-9.7/separate/../src/cksum_pclmul.c:82:18: note[note]: called from here
#   80|           {
#   81|             data = _mm_loadu_si128 (datap);
#   82|->           data = _mm_shuffle_epi8 (data, shuffle_constant);
#   83|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   84|                calculated for previous BUFLEN buffer from fread */

Error: COMPILER_WARNING: [#def164]
coreutils-9.7/separate/../src/cksum_pclmul.c:89:19: note[note]: called from here
#   87|             data = _mm_xor_si128 (data, xor_crc);
#   88|             data3 = _mm_loadu_si128 (datap + 1);
#   89|->           data3 = _mm_shuffle_epi8 (data3, shuffle_constant);
#   90|             data5 = _mm_loadu_si128 (datap + 2);
#   91|             data5 = _mm_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def165]
coreutils-9.7/separate/../src/cksum_pclmul.c:91:19: note[note]: called from here
#   89|             data3 = _mm_shuffle_epi8 (data3, shuffle_constant);
#   90|             data5 = _mm_loadu_si128 (datap + 2);
#   91|->           data5 = _mm_shuffle_epi8 (data5, shuffle_constant);
#   92|             data7 = _mm_loadu_si128 (datap + 3);
#   93|             data7 = _mm_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def166]
coreutils-9.7/separate/../src/cksum_pclmul.c:93:19: note[note]: called from here
#   91|             data5 = _mm_shuffle_epi8 (data5, shuffle_constant);
#   92|             data7 = _mm_loadu_si128 (datap + 3);
#   93|->           data7 = _mm_shuffle_epi8 (data7, shuffle_constant);
#   94|   
#   95|   

Error: COMPILER_WARNING: [#def167]
coreutils-9.7/separate/../src/cksum_pclmul.c:101:23: note[note]: called from here
#   99|   
#  100|                 /* Do multiplication here for four consecutive 16 byte blocks */
#  101|->               data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00);
#  102|                 data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11);
#  103|                 data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);

Error: COMPILER_WARNING: [#def168]
coreutils-9.7/separate/../src/cksum_pclmul.c:102:22: note[note]: called from here
#  100|                 /* Do multiplication here for four consecutive 16 byte blocks */
#  101|                 data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00);
#  102|->               data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11);
#  103|                 data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);
#  104|                 data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);

Error: COMPILER_WARNING: [#def169]
coreutils-9.7/separate/../src/cksum_pclmul.c:103:23: note[note]: called from here
#  101|                 data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00);
#  102|                 data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11);
#  103|->               data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);
#  104|                 data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);
#  105|                 data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);

Error: COMPILER_WARNING: [#def170]
coreutils-9.7/separate/../src/cksum_pclmul.c:104:23: note[note]: called from here
#  102|                 data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11);
#  103|                 data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);
#  104|->               data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);
#  105|                 data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);
#  106|                 data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);

Error: COMPILER_WARNING: [#def171]
coreutils-9.7/separate/../src/cksum_pclmul.c:105:23: note[note]: called from here
#  103|                 data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);
#  104|                 data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);
#  105|->               data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);
#  106|                 data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);
#  107|                 data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00);

Error: COMPILER_WARNING: [#def172]
coreutils-9.7/separate/../src/cksum_pclmul.c:106:23: note[note]: called from here
#  104|                 data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);
#  105|                 data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);
#  106|->               data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);
#  107|                 data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00);
#  108|                 data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11);

Error: COMPILER_WARNING: [#def173]
coreutils-9.7/separate/../src/cksum_pclmul.c:107:23: note[note]: called from here
#  105|                 data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);
#  106|                 data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);
#  107|->               data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00);
#  108|                 data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11);
#  109|   

Error: COMPILER_WARNING: [#def174]
coreutils-9.7/separate/../src/cksum_pclmul.c:108:23: note[note]: called from here
#  106|                 data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);
#  107|                 data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00);
#  108|->               data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11);
#  109|   
#  110|                 /* Now multiplication results for the four blocks is xor:ed with

Error: COMPILER_WARNING: [#def175]
coreutils-9.7/separate/../src/cksum_pclmul.c:117:23: note[note]: called from here
#  115|                 data = _mm_xor_si128 (data, data2);
#  116|                 data2 = _mm_loadu_si128 (datap);
#  117|->               data2 = _mm_shuffle_epi8 (data2, shuffle_constant);
#  118|                 data = _mm_xor_si128 (data, data2);
#  119|   

Error: COMPILER_WARNING: [#def176]
coreutils-9.7/separate/../src/cksum_pclmul.c:122:23: note[note]: called from here
#  120|                 data3 = _mm_xor_si128 (data3, data4);
#  121|                 data4 = _mm_loadu_si128 (datap + 1);
#  122|->               data4 = _mm_shuffle_epi8 (data4, shuffle_constant);
#  123|                 data3 = _mm_xor_si128 (data3, data4);
#  124|   

Error: COMPILER_WARNING: [#def177]
coreutils-9.7/separate/../src/cksum_pclmul.c:127:23: note[note]: called from here
#  125|                 data5 = _mm_xor_si128 (data5, data6);
#  126|                 data6 = _mm_loadu_si128 (datap + 2);
#  127|->               data6 = _mm_shuffle_epi8 (data6, shuffle_constant);
#  128|                 data5 = _mm_xor_si128 (data5, data6);
#  129|   

Error: COMPILER_WARNING: [#def178]
coreutils-9.7/separate/../src/cksum_pclmul.c:132:23: note[note]: called from here
#  130|                 data7 = _mm_xor_si128 (data7, data8);
#  131|                 data8 = _mm_loadu_si128 (datap + 3);
#  132|->               data8 = _mm_shuffle_epi8 (data8, shuffle_constant);
#  133|                 data7 = _mm_xor_si128 (data7, data8);
#  134|   

Error: COMPILER_WARNING: [#def179]
coreutils-9.7/separate/../src/cksum_pclmul.c:139:18: note[note]: called from here
#  137|             /* At end of loop we write out results from variables back into
#  138|                the buffer, for use in single fold loop */
#  139|->           data = _mm_shuffle_epi8 (data, shuffle_constant);
#  140|             _mm_storeu_si128 (datap, data);
#  141|             data3 = _mm_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def180]
coreutils-9.7/separate/../src/cksum_pclmul.c:141:19: note[note]: called from here
#  139|             data = _mm_shuffle_epi8 (data, shuffle_constant);
#  140|             _mm_storeu_si128 (datap, data);
#  141|->           data3 = _mm_shuffle_epi8 (data3, shuffle_constant);
#  142|             _mm_storeu_si128 (datap + 1, data3);
#  143|             data5 = _mm_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def181]
coreutils-9.7/separate/../src/cksum_pclmul.c:143:19: note[note]: called from here
#  141|             data3 = _mm_shuffle_epi8 (data3, shuffle_constant);
#  142|             _mm_storeu_si128 (datap + 1, data3);
#  143|->           data5 = _mm_shuffle_epi8 (data5, shuffle_constant);
#  144|             _mm_storeu_si128 (datap + 2, data5);
#  145|             data7 = _mm_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def182]
coreutils-9.7/separate/../src/cksum_pclmul.c:145:19: note[note]: called from here
#  143|             data5 = _mm_shuffle_epi8 (data5, shuffle_constant);
#  144|             _mm_storeu_si128 (datap + 2, data5);
#  145|->           data7 = _mm_shuffle_epi8 (data7, shuffle_constant);
#  146|             _mm_storeu_si128 (datap + 3, data7);
#  147|           }

Error: COMPILER_WARNING: [#def183]
coreutils-9.7/separate/../src/cksum_pclmul.c:153:18: note[note]: called from here
#  151|           {
#  152|             data = _mm_loadu_si128 (datap);
#  153|->           data = _mm_shuffle_epi8 (data, shuffle_constant);
#  154|             xor_crc = _mm_set_epi32 (crc, 0, 0, 0);
#  155|             crc = 0;

Error: COMPILER_WARNING: [#def184]
coreutils-9.7/separate/../src/cksum_pclmul.c:161:23: note[note]: called from here
#  159|                 datap++;
#  160|   
#  161|->               data2 = _mm_clmulepi64_si128 (data, single_mult_constant, 0x00);
#  162|                 data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11);
#  163|                 fold_data = _mm_loadu_si128 (datap);

Error: COMPILER_WARNING: [#def185]
coreutils-9.7/separate/../src/cksum_pclmul.c:162:22: note[note]: called from here
#  160|   
#  161|                 data2 = _mm_clmulepi64_si128 (data, single_mult_constant, 0x00);
#  162|->               data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11);
#  163|                 fold_data = _mm_loadu_si128 (datap);
#  164|                 fold_data = _mm_shuffle_epi8 (fold_data, shuffle_constant);

Error: COMPILER_WARNING: [#def186]
coreutils-9.7/separate/../src/cksum_pclmul.c:164:27: note[note]: called from here
#  162|                 data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11);
#  163|                 fold_data = _mm_loadu_si128 (datap);
#  164|->               fold_data = _mm_shuffle_epi8 (fold_data, shuffle_constant);
#  165|                 data = _mm_xor_si128 (data, data2);
#  166|                 data = _mm_xor_si128 (data, fold_data);

Error: COMPILER_WARNING: [#def187]
coreutils-9.7/separate/../src/cksum_pclmul.c:169:18: note[note]: called from here
#  167|                 bytes_read -= 16;
#  168|               }
#  169|->           data = _mm_shuffle_epi8 (data, shuffle_constant);
#  170|             _mm_storeu_si128 (datap, data);
#  171|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
coreutils-9.7/separate/../src/cp-hash.c:126:6: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
#  124|   
#  125|     ent_from_table = hash_insert (src_to_dest, ent);
#  126|->   if (ent_from_table == nullptr)
#  127|       {
#  128|         /* Insertion failed due to lack of memory.  */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
coreutils-9.7/separate/../src/cp-hash.c:135:6: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/separate/../src/cp-hash.c:126:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/cp-hash.c:135:6: branch_false: ...to here
coreutils-9.7/separate/../src/cp-hash.c:135:6: danger: 'xmalloc(24)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  133|        with a matching key.  If so, free ENT (it wasn't inserted) and
#  134|        return the 'name' from the table entry.  */
#  135|->   if (ent_from_table != ent)
#  136|       {
#  137|         src_to_dest_free (ent);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
coreutils-9.7/separate/../src/cp.c:825:10: warning[-Wanalyzer-malloc-leak]: leak of 'dest'
coreutils-9.7/separate/../src/cp.c:621:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/cp.c:631:3: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:635:10: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.7/separate/../src/cp.c:639:10: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:639:10: branch_false: following 'false' branch (when 'n_files <= 2')...
coreutils-9.7/separate/../src/cp.c:685:6: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:685:6: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.7/separate/../src/cp.c:786:19: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:790:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/cp.c:803:11: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:803:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/cp.c:804:14: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:803:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/cp.c:805:14: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:803:11: branch_true: following 'true' branch (when the strings are equal)...
coreutils-9.7/separate/../src/cp.c:806:14: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:803:11: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/cp.c:807:15: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:807:14: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/cp.c:825:10: danger: 'dest' leaks here; was allocated at [(21)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/20)
#  823|       }
#  824|   
#  825|->   return ok;
#  826|   }
#  827|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
coreutils-9.7/separate/../src/cp.c:922:13: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/cp.c:918:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
coreutils-9.7/separate/../src/cp.c:919:10: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:969:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
 branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:918:10: branch_false: following 'false' branch (when 'comma' is NULL)...
coreutils-9.7/separate/../src/cp.c:922:13: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:922:13: branch_true: following 'true' branch (when 'on_off != 0')...
coreutils-9.7/separate/../src/cp.c:922:13: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:922:13: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  920|   
#  921|         /* process S.  */
#  922|->       val = XARGMATCH (on_off ? "--preserve" : "--no-preserve",
#  923|                          s, preserve_args, preserve_vals);
#  924|         switch (val)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
coreutils-9.7/separate/../src/csplit.c:417:10: warning[-Wanalyzer-malloc-leak]: leak of 'get_new_buffer(bytes_wanted)'
coreutils-9.7/separate/../src/csplit.c:1288:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/csplit.c:1350:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/csplit.c:1359:22: branch_false: ...to here
coreutils-9.7/separate/../src/csplit.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/csplit.c:1367:20: branch_false: ...to here
coreutils-9.7/separate/../src/csplit.c:1400:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/separate/../src/csplit.c:1402:20: branch_true: ...to here
coreutils-9.7/separate/../src/csplit.c:1411:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/separate/../src/csplit.c:1412:41: branch_true: ...to here
coreutils-9.7/separate/../src/csplit.c:1411:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/separate/../src/csplit.c:1412:41: branch_true: ...to here
coreutils-9.7/separate/../src/csplit.c:1416:3: call_function: calling 'split_file' from 'main'
#  415|     new_buffer->next = nullptr;
#  416|   
#  417|->   return new_buffer;
#  418|   }
#  419|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
coreutils-9.7/separate/../src/csplit.c:1369:24: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(__real__ <unknown>)'
coreutils-9.7/separate/../src/csplit.c:1350:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/csplit.c:1359:22: branch_false: ...to here
coreutils-9.7/separate/../src/csplit.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/csplit.c:1367:20: branch_false: ...to here
coreutils-9.7/separate/../src/csplit.c:1369:24: danger: 'ximalloc(__real__ <unknown>)' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
# 1367|     filename_space = ximalloc (filename_size);
# 1368|   
# 1369|->   set_input_file (argv[optind++]);
# 1370|   
# 1371|     parse_patterns (argc, optind, argv);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
coreutils-9.7/separate/../src/date.c:316:32: warning[-Wanalyzer-malloc-leak]: leak of 'adjust_resolution(format)'
coreutils-9.7/separate/../src/date.c:397:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/date.c:510:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.7/separate/../src/date.c:517:16: branch_false: ...to here
coreutils-9.7/separate/../src/date.c:517:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/date.c:524:6: branch_false: ...to here
coreutils-9.7/separate/../src/date.c:524:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.7/separate/../src/date.c:527:6: branch_false: ...to here
coreutils-9.7/separate/../src/date.c:527:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.7/separate/../src/date.c:530:7: branch_false: ...to here
coreutils-9.7/separate/../src/date.c:555:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.7/separate/../src/date.c:557:10: branch_true: ...to here
coreutils-9.7/separate/../src/date.c:575:23: call_function: calling 'adjust_resolution' from 'main'
coreutils-9.7/separate/../src/date.c:575:23: return_function: returning to 'main' from 'adjust_resolution'
coreutils-9.7/separate/../src/date.c:316:32: danger: 'adjust_resolution(format)' leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
#  314|     char *copy = nullptr;
#  315|   
#  316|->   for (char const *f = format; *f; f++)
#  317|       if (f[0] == '%')
#  318|         {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
coreutils-9.7/separate/../src/df.c:452:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/df.c:1592:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/df.c:1625:10: branch_false: following 'false' branch (when 'c != -1')...
coreutils-9.7/separate/../src/df.c:1628:7: branch_false: ...to here
coreutils-9.7/separate/../src/df.c:1708:14: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/df.c:1713:14: branch_false: ...to here
coreutils-9.7/separate/../src/df.c:1713:14: branch_false: following 'false' branch (when 'posix_format == 0')...
coreutils-9.7/separate/../src/df.c:1718:15: branch_false: ...to here
coreutils-9.7/separate/../src/df.c:1718:14: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/df.c:1723:11: branch_false: ...to here
coreutils-9.7/separate/../src/df.c:1725:13: call_function: calling 'decode_output_arg' from 'main'
#  450|         for (idx_t i = 0; i < ARRAY_CARDINALITY (field_data); i++)
#  451|           {
#  452|->           if (STREQ (field_data[i].arg, s))
#  453|               {
#  454|                 field = i;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
coreutils-9.7/separate/../src/env.c:567:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:567:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  565|         if (signum == 0)
#  566|           error (0, 0, _("%s: invalid signal"), quote (opt_sig));
#  567|->       if (signum <= 0)
#  568|           usage (exit_failure);
#  569|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
coreutils-9.7/separate/../src/env.c:570:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:567:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/env.c:570:25: branch_false: ...to here
coreutils-9.7/separate/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:570:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  568|           usage (exit_failure);
#  569|   
#  570|->       signals[signum] = set_default ? DEFAULT : IGNORE;
#  571|   
#  572|         opt_sig = strtok (nullptr, ",");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
coreutils-9.7/separate/../src/env.c:656:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/env.c:650:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:652:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:656:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#  654|         if (signum == 0)
#  655|           error (0, 0, _("%s: invalid signal"), quote (opt_sig));
#  656|->       if (signum <= 0)
#  657|           usage (exit_failure);
#  658|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
coreutils-9.7/separate/../src/env.c:661:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/env.c:650:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:652:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:656:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/env.c:659:11: branch_false: ...to here
coreutils-9.7/separate/../src/env.c:661:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  659|         if (sigaddset (block ? &block_signals : &unblock_signals, signum) == -1)
#  660|           {
#  661|->           if (block)
#  662|               error (EXIT_CANCELED, errno,
#  663|                      _("failed to block signal %d"), signum);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
coreutils-9.7/separate/../src/libstdbuf.c:128:6: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
coreutils-9.7/separate/../src/libstdbuf.c:98:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/libstdbuf.c:100:11: branch_false: ...to here
coreutils-9.7/separate/../src/libstdbuf.c:100:11: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/libstdbuf.c:106:14: branch_false: ...to here
coreutils-9.7/separate/../src/libstdbuf.c:107:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/libstdbuf.c:114:13: acquire_memory: allocated here
coreutils-9.7/separate/../src/libstdbuf.c:115:10: branch_false: following 'false' branch (when 'buf' is non-NULL)...
 branch_false: ...to here
coreutils-9.7/separate/../src/libstdbuf.c:128:6: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/separate/../src/libstdbuf.c:128:6: danger: 'buf' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
#  126|       }
#  127|   
#  128|->   if (setvbuf (stream, buf, setvbuf_mode, size) != 0)
#  129|       {
#  130|         fprintf (stderr, _("could not set buffering of %s to mode %s\n"),

Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
coreutils-9.7/separate/../src/ls.c:5334:45: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.7/separate/../src/ls.c:5316:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/ls.c:5319:21: branch_true: ...to here
coreutils-9.7/separate/../src/ls.c:5328:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/ls.c:5329:14: branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5328:11: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/ls.c:5331:19: branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5334:45: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/ls.c:5336:22: branch_true: ...to here
coreutils-9.7/separate/../src/ls.c:5334:45: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5334:45: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
# 5332|   
# 5333|         /* Grow the triangle by parceling out the cells just allocated.  */
# 5334|->       for (idx_t i = old_column_info_alloc; i < column_info_alloc; i++)
# 5335|           {
# 5336|             column_info[i].col_arr = p;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
coreutils-9.7/separate/../src/ls.c:5348:1: warning[-Wanalyzer-malloc-leak]: leak of 'p'
coreutils-9.7/separate/../src/ls.c:5316:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/ls.c:5319:21: branch_true: ...to here
coreutils-9.7/separate/../src/ls.c:5328:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/ls.c:5329:14: branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5328:11: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/ls.c:5331:19: branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5334:45: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5348:1: danger: 'p' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
# 5346|           column_info[i].col_arr[j] = MIN_COLUMN_WIDTH;
# 5347|       }
# 5348|-> }
# 5349|   
# 5350|   /* Calculate the number of columns needed to represent the current set

Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
coreutils-9.7/separate/../src/paste.c:180:20: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(nfiles + 2)'
coreutils-9.7/separate/../src/paste.c:192:24: branch_true: following 'true' branch (when 'files_open < nfiles')...
coreutils-9.7/separate/../src/paste.c:194:11: branch_true: ...to here
coreutils-9.7/separate/../src/paste.c:194:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/separate/../src/paste.c:201:18: branch_false: ...to here
coreutils-9.7/separate/../src/paste.c:180:20: danger: 'xmalloc(nfiles + 2)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  178|     /* Streams open to the files to process; null if the corresponding
#  179|        stream is closed.  */
#  180|->   FILE **fileptr = xnmalloc (nfiles + 1, sizeof *fileptr);
#  181|   
#  182|     /* Number of files still open to process.  */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
coreutils-9.7/separate/../src/paste.c:194:11: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc(nfiles + 1, 8)'
coreutils-9.7/separate/../src/paste.c:192:24: branch_true: following 'true' branch (when 'files_open < nfiles')...
coreutils-9.7/separate/../src/paste.c:194:11: branch_true: ...to here
coreutils-9.7/separate/../src/paste.c:194:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/separate/../src/paste.c:201:18: branch_false: ...to here
coreutils-9.7/separate/../src/paste.c:194:11: danger: 'xnmalloc(nfiles + 1, 8)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  192|     for (files_open = 0; files_open < nfiles; ++files_open)
#  193|       {
#  194|->       if (STREQ (fnamptr[files_open], "-"))
#  195|           {
#  196|             have_read_stdin = true;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
coreutils-9.7/separate/../src/printf.c:526:23: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(strlen(format) + 1)'
coreutils-9.7/separate/../src/printf.c:690:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/printf.c:724:6: branch_true: following 'true' branch (when 'argc > 1')...
coreutils-9.7/separate/../src/printf.c:724:19: branch_true: ...to here
coreutils-9.7/separate/../src/printf.c:730:6: branch_false: following 'false' branch (when 'argc != 1')...
coreutils-9.7/separate/../src/printf.c:736:3: branch_false: ...to here
coreutils-9.7/separate/../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): [#def206]
coreutils-9.7/separate/../src/seq.c:529:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
coreutils-9.7/separate/../src/seq.c:547:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.7/separate/../src/seq.c:615:6: branch_false: ...to here
coreutils-9.7/separate/../src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.7/separate/../src/seq.c:621:6: branch_false: ...to here
coreutils-9.7/separate/../src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.7/separate/../src/seq.c:639:6: branch_false: ...to here
coreutils-9.7/separate/../src/seq.c:645:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/seq.c:645:7: branch_true: ...to here
coreutils-9.7/separate/../src/seq.c:645:7: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/seq.c:645:7: branch_false: ...to here
coreutils-9.7/separate/../src/seq.c:645:7: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/seq.c:653:7: call_function: calling 'seq_fast' from 'main'
#  527|     if (remaining)
#  528|       {
#  529|->       bufp[-1] = *terminator;
#  530|         if (full_write (STDOUT_FILENO, buf, remaining) != remaining)
#  531|           write_error ();

Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
coreutils-9.7/separate/../src/tee.c:256:3: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.7/separate/../src/tee.c:226:1: enter_function: entry to 'tee_files'
coreutils-9.7/separate/../src/tee.c:249:6: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/separate/../src/tee.c:251:3: branch_false: ...to here
coreutils-9.7/separate/../src/tee.c:253:6: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/separate/../src/tee.c:255:24: branch_false: ...to here
coreutils-9.7/separate/../src/tee.c:259:15: branch_true: following 'true' branch (when 'i <= nfiles')...
coreutils-9.7/separate/../src/tee.c:262:37: branch_true: ...to here
coreutils-9.7/separate/../src/tee.c:263:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/tee.c:265:14: branch_true: ...to here
coreutils-9.7/separate/../src/tee.c:265:14: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/separate/../src/tee.c:267:11: branch_false: ...to here
coreutils-9.7/separate/../src/tee.c:267:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/tee.c:267:11: branch_true: ...to here
coreutils-9.7/separate/../src/tee.c:267:11: call_function: inlined call to 'error' from 'tee_files'
coreutils-9.7/separate/../src/tee.c:256:3: danger: 'xnmalloc((long unsigned int)(nfiles + 1), 8)' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
#  254|       out_pollable[0] = iopoll_output_ok (fileno (descriptors[0]));
#  255|     files[0] = bad_cast (_("standard output"));
#  256|->   setvbuf (stdout, nullptr, _IONBF, 0);
#  257|     n_outputs++;
#  258|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
coreutils-9.7/separate/../src/tee.c:262:37: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.7/separate/../src/tee.c:119:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/tee.c:177:13: call_function: calling 'tee_files' from 'main'
#  260|       {
#  261|         /* Do not treat "-" specially - as mandated by POSIX.  */
#  262|->        descriptors[i] = fopen (files[i], mode_string);
#  263|         if (descriptors[i] == nullptr)
#  264|           {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
coreutils-9.7/separate/../src/tsort.c:422:6: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/separate/../src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/separate/../src/tsort.c:551:3: call_function: calling 'tsort' from 'main'
#  420|   walk_tree (struct item *root, bool (*action) (struct item *))
#  421|   {
#  422|->   if (root->right)
#  423|       recurse_tree (root->right, action);
#  424|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
coreutils-9.7/separate/../src/tsort.c:440:22: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/separate/../src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/separate/../src/tsort.c:551:3: call_function: calling 'tsort' from 'main'
#  438|     struct item *root = new_item (nullptr);
#  439|   
#  440|->   if (!is_stdin && ! freopen (file, "r", stdin))
#  441|       error (EXIT_FAILURE, errno, "%s", quotef (file));
#  442|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
coreutils-9.7/separate/../src/tsort.c:443:3: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/separate/../src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/separate/../src/tsort.c:551: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: [#def212]
coreutils-9.7/separate/../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: [#def213]
coreutils-9.7/separate/../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: [#def214]
coreutils-9.7/separate/../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: [#def215]
coreutils-9.7/separate/../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: [#def216]
coreutils-9.7/separate/../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: GCC_ANALYZER_WARNING (CWE-457): [#def217]
coreutils-9.7/separate/parse-datetime.c:1831:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
coreutils-9.7/separate/parse-datetime.y:2404:1: enter_function: entry to 'parse_datetime'
coreutils-9.7/separate/parse-datetime.y:2409:6: branch_false: following 'false' branch...
coreutils-9.7/separate/parse-datetime.y:2411:13: branch_false: ...to here
coreutils-9.7/separate/parse-datetime.y:2411:13: call_function: calling 'parse_datetime_body' from 'parse_datetime'
# 1829|        unconditionally makes the parser a bit smaller, and it avoids a
# 1830|        GCC warning that YYVAL may be used uninitialized.  */
# 1831|->   yyval = yyvsp[1-yylen];
# 1832|   
# 1833|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
coreutils-9.7/single/../lib/canon-host.c:75:27: warning[-Wanalyzer-malloc-leak]: leak of 'canon_host_r(host, & last_cherror)'
coreutils-9.7/single/../lib/canon-host.c:33:1: enter_function: entry to 'canon_host'
coreutils-9.7/single/../lib/canon-host.c:35:10: acquire_memory: allocated here
coreutils-9.7/single/../lib/canon-host.c:35:10: call_function: calling 'canon_host_r' from 'canon_host'
#   73|            says Darwin 7.9.0 getaddrinfo returns 0 but sets
#   74|            res->ai_canonname to NULL.  */
#   75|->       retval = strdup (res->ai_canonname ? res->ai_canonname : host);
#   76|         if (!retval && cherror)
#   77|           *cherror = EAI_MEMORY;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
coreutils-9.7/single/../lib/canon-host.c:83:10: warning[-Wanalyzer-malloc-leak]: leak of 'canon_host_r(host, & last_cherror)'
coreutils-9.7/single/../lib/canon-host.c:33:1: enter_function: entry to 'canon_host'
coreutils-9.7/single/../lib/canon-host.c:35:10: acquire_memory: allocated here
coreutils-9.7/single/../lib/canon-host.c:35:10: call_function: calling 'canon_host_r' from 'canon_host'
#   81|       *cherror = status;
#   82|   
#   83|->   return retval;
#   84|   }
#   85|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
coreutils-9.7/single/../lib/exclude.c:579:11: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(pattern)'
#  577|   
#  578|         char *str = xstrdup (pattern);
#  579|->       if ((options & (EXCLUDE_WILDCARDS | FNM_NOESCAPE)) == EXCLUDE_WILDCARDS)
#  580|           unescape_pattern (str);
#  581|         if (hash_insert (ex->head->v.table, str) != str)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
coreutils-9.7/single/../lib/exclude.c:604:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
coreutils-9.7/single/../lib/exclude.c:657:1: enter_function: entry to 'add_exclude_file'
coreutils-9.7/single/../lib/exclude.c:661:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/single/../lib/exclude.c:664:14: branch_false: ...to here
coreutils-9.7/single/../lib/exclude.c:665:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/exclude.c:667:12: branch_false: ...to here
coreutils-9.7/single/../lib/exclude.c:667:12: call_function: calling 'add_exclude_fp' from 'add_exclude_file'
#  602|         if (buf_count == buf_alloc)
#  603|           buf = xpalloc (buf, &buf_alloc, 1, -1, 1);
#  604|->       buf[buf_count++] = c;
#  605|       }
#  606|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
coreutils-9.7/single/../lib/file-set.c:43:8: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/single/../lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.7/single/../lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.7/single/../lib/file-set.c:43:8: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#   41|     {
#   42|       struct F_triple *ent_from_table = hash_insert (ht, ent);
#   43|->     if (ent_from_table == NULL)
#   44|         {
#   45|           /* Insertion failed due to lack of memory.  */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
coreutils-9.7/single/../lib/file-set.c:49:8: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/single/../lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.7/single/../lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.7/single/../lib/file-set.c:43:8: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/file-set.c:49:8: branch_false: ...to here
coreutils-9.7/single/../lib/file-set.c:49:8: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#   47|         }
#   48|   
#   49|->     if (ent_from_table != ent)
#   50|         {
#   51|           /* There was already a matching entry in the table, so ENT was

Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
coreutils-9.7/single/../lib/fts.c:714:12: warning[-Wanalyzer-malloc-leak]: leak of 't2'
coreutils-9.7/single/../lib/fts.c:1267:1: enter_function: entry to 'fts_build'
coreutils-9.7/single/../lib/fts.c:1307:16: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1319:38: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1379:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1389:23: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1389:23: branch_true: following 'true' branch (when 'type != 2')...
coreutils-9.7/single/../lib/fts.c:1390:30: branch_true: ...to here
coreutils-9.7/single/../lib/fts.c:1389:23: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1390:30: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1392:33: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1390:30: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1393:34: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1393:34: call_function: calling 'leaf_optimization' from 'fts_build'
#  712|        since the caller is not serious about performance.  */
#  713|     if (!ISSET (FTS_CWDFD))
#  714|->     return 0;
#  715|   
#  716|     if (! h)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
coreutils-9.7/single/../lib/fts.c:1307:16: warning[-Wanalyzer-malloc-leak]: leak of '**sp.fts_cur.fts_dirp'
coreutils-9.7/single/../lib/fts.c:1287:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1307:34: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1307:34: acquire_memory: allocated here
coreutils-9.7/single/../lib/fts.c:1307:16: danger: '**sp.fts_cur.fts_dirp' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
# 1305|               /* Open the directory for reading.  If this fails, we're done.
# 1306|                  If being called from fts_read, set the fts_info field. */
# 1307|->             if ((cur->fts_dirp = fts_opendir(cur->fts_accpath, &dir_fd)) == NULL)
# 1308|                 {
# 1309|                   if (type == BREAD)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
coreutils-9.7/single/../lib/fts.c:1599:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cp'
coreutils-9.7/single/../lib/fts.c:1110:1: enter_function: entry to 'rpl_fts_children'
coreutils-9.7/single/../lib/fts.c:1115:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1121:9: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1130:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1134:13: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1134:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1142:12: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1142:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1146:13: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1149:12: branch_false: following 'false' branch (when 'instr != 4096')...
coreutils-9.7/single/../lib/fts.c:1162:13: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1164:41: call_function: calling 'fts_build' from 'rpl_fts_children'
# 1597|                   if (len == sp->fts_pathlen || nitems == 0)
# 1598|                           --cp;
# 1599|->                 *cp = '\0';
# 1600|           }
# 1601|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
coreutils-9.7/single/../lib/ialloc.h:57:10: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(s + 1)'
coreutils-9.7/single/../lib/xmalloc.c:327:1: enter_function: entry to 'ximemdup0'
coreutils-9.7/single/../lib/xmalloc.c:329:18: call_function: calling 'ximalloc' from 'ximemdup0'
#   55|   imalloc (idx_t s)
#   56|   {
#   57|->   return s <= SIZE_MAX ? malloc (s) : _gl_alloc_nomem ();
#   58|   }
#   59|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
coreutils-9.7/single/../lib/ialloc.h:57:10: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(s)'
coreutils-9.7/single/../lib/xmalloc.c:318:1: enter_function: entry to 'ximemdup'
coreutils-9.7/single/../lib/xmalloc.c:320:10: call_function: calling 'ximalloc' from 'ximemdup'
#   55|   imalloc (idx_t s)
#   56|   {
#   57|->   return s <= SIZE_MAX ? malloc (s) : _gl_alloc_nomem ();
#   58|   }
#   59|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
coreutils-9.7/single/../lib/ialloc.h:91:10: warning[-Wanalyzer-malloc-leak]: leak of 'xicalloc(s, 1)'
coreutils-9.7/single/../lib/xmalloc.c:287:1: enter_function: entry to 'xizalloc'
coreutils-9.7/single/../lib/xmalloc.c:289:10: call_function: calling 'xicalloc' from 'xizalloc'
#   89|         s = 0;
#   90|       }
#   91|->   return calloc (n, s);
#   92|   }
#   93|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
coreutils-9.7/single/../lib/mbfile.h:93:7: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc((long int)((long unsigned int)max_column_width * 32))'
coreutils-9.7/single/../src/unexpand.c:315:1: enter_function: entry to 'single_binary_main_unexpand'
coreutils-9.7/single/../src/unexpand.c:379:3: call_function: calling 'unexpand' from 'single_binary_main_unexpand'
#   91|   
#   92|     /* Return character pushed back, if there is one.  */
#   93|->   if (mbf->pushback_count > 0)
#   94|       {
#   95|         mb_copy (mbc, &mbf->pushback[mbf->pushback_count - 1]);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
coreutils-9.7/single/../lib/randint.c:76:10: warning[-Wanalyzer-malloc-leak]: leak of 'randint_new(randread_new(name,  bytes_bound))'
coreutils-9.7/single/../lib/randint.c:84:1: enter_function: entry to 'randint_all_new'
coreutils-9.7/single/../lib/randint.c:87:10: branch_true: following 'true' branch...
coreutils-9.7/single/../lib/randint.c:87:20: branch_true: ...to here
coreutils-9.7/single/../lib/randint.c:87:20: call_function: calling 'randint_new' from 'randint_all_new'
#   74|     s->source = source;
#   75|     s->randnum = s->randmax = 0;
#   76|->   return s;
#   77|   }
#   78|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
coreutils-9.7/single/../lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.7/single/../lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.7/single/../lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.7/single/../lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.7/single/../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): [#def233]
coreutils-9.7/single/../lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.7/single/../lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.7/single/../lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.7/single/../lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.7/single/../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-401): [#def234]
coreutils-9.7/single/../lib/read-file.c:62:46: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename,  mode), flags,  length)'
coreutils-9.7/single/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/single/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/single/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/single/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
#   60|       struct stat st;
#   61|   
#   62|->     if (fstat (fileno (stream), &st) >= 0 && S_ISREG (st.st_mode))
#   63|         {
#   64|           off_t pos = ftello (stream);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
coreutils-9.7/single/../lib/read-file.c:82:6: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename,  mode), flags,  length)'
coreutils-9.7/single/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/single/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/single/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/single/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
#   80|     }
#   81|   
#   82|->   if (!(buf = malloc (alloc)))
#   83|       return NULL; /* errno is ENOMEM.  */
#   84|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
coreutils-9.7/single/../lib/read-file.c:104:24: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename,  mode), flags,  length)'
coreutils-9.7/single/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/single/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/single/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/single/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
#  102|   
#  103|               /* Shrink the allocated memory if possible.  */
#  104|->             if (size < alloc - 1)
#  105|                 {
#  106|                   if (flags & RF_SENSITIVE)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
coreutils-9.7/single/../lib/read-file.c:142:37: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename,  mode), flags,  length)'
coreutils-9.7/single/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/single/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/single/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/single/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
#  140|               }
#  141|   
#  142|->           if (alloc < PTRDIFF_MAX - alloc / 2)
#  143|               alloc = alloc + alloc / 2;
#  144|             else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
coreutils-9.7/single/../lib/time_rz.c:88:22: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))'
coreutils-9.7/single/./lib/time.h:1116:1: enter_function: entry to 'mktime_z'
coreutils-9.7/single/../lib/time_rz.c:282:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.7/single/../lib/time_rz.c:286:27: branch_false: ...to here
coreutils-9.7/single/../lib/time_rz.c:286:27: call_function: calling 'set_tz' from 'mktime_z'
#   86|   {
#   87|     size_t name_size = name ? strlen (name) + 1 : 0;
#   88|->   size_t abbr_size = name_size < ABBR_SIZE_MIN ? ABBR_SIZE_MIN : name_size + 1;
#   89|     timezone_t tz = malloc (FLEXSIZEOF (struct tm_zone, abbrs, abbr_size));
#   90|     if (tz)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
coreutils-9.7/single/../lib/time_rz.c:206:10: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)'
coreutils-9.7/single/./lib/time.h:1116:1: enter_function: entry to 'mktime_z'
coreutils-9.7/single/../lib/time_rz.c:282:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.7/single/../lib/time_rz.c:286:27: branch_false: ...to here
coreutils-9.7/single/../lib/time_rz.c:286:27: call_function: calling 'set_tz' from 'mktime_z'
coreutils-9.7/single/../lib/time_rz.c:286:27: return_function: returning to 'mktime_z' from 'set_tz'
coreutils-9.7/single/../lib/time_rz.c:287:10: branch_true: following 'true' branch...
coreutils-9.7/single/../lib/time_rz.c:290:25: branch_true: ...to here
coreutils-9.7/single/../lib/time_rz.c:301:15: call_function: calling 'revert_tz' from 'mktime_z'
#  204|     if (env_tz
#  205|         ? tz->tz_is_set && strcmp (tz->abbrs, env_tz) == 0
#  206|->       : !tz->tz_is_set)
#  207|       return local_tz;
#  208|     else

Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
coreutils-9.7/single/../lib/xmalloc.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(n)'
coreutils-9.7/single/../lib/xmalloc.c:55:1: enter_function: entry to 'xcharalloc'
coreutils-9.7/single/../lib/xmalloc.c:57:10: call_function: calling 'xmalloc' from 'xcharalloc'
#   43|   xmalloc (size_t s)
#   44|   {
#   45|->   return check_nonnull (malloc (s));
#   46|   }
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
coreutils-9.7/single/../lib/xmalloc.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(s)'
coreutils-9.7/single/../lib/xmalloc.c:312:1: enter_function: entry to 'xmemdup'
coreutils-9.7/single/../lib/xmalloc.c:314:10: call_function: calling 'xmalloc' from 'xmemdup'
#   43|   xmalloc (size_t s)
#   44|   {
#   45|->   return check_nonnull (malloc (s));
#   46|   }
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
coreutils-9.7/single/../lib/xmalloc.c:298:10: warning[-Wanalyzer-malloc-leak]: leak of 'xcalloc(s, 1)'
coreutils-9.7/single/../lib/xmalloc.c:281:1: enter_function: entry to 'xzalloc'
coreutils-9.7/single/../lib/xmalloc.c:283:10: call_function: calling 'xcalloc' from 'xzalloc'
#  296|   xcalloc (size_t n, size_t s)
#  297|   {
#  298|->   return check_nonnull (calloc (n, s));
#  299|   }
#  300|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
coreutils-9.7/single/../lib/xmalloc.c:314:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmemdup(string,  strlen(string) + 1)'
coreutils-9.7/single/../lib/xmalloc.c:337:1: enter_function: entry to 'xstrdup'
coreutils-9.7/single/../lib/xmalloc.c:339:10: call_function: calling 'xmemdup' from 'xstrdup'
#  312|   xmemdup (void const *p, size_t s)
#  313|   {
#  314|->   return memcpy (xmalloc (s), p, s);
#  315|   }
#  316|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
coreutils-9.7/single/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)base_length(30720))'
coreutils-9.7/single/../src/basenc.c:1089:1: enter_function: entry to 'do_encode'
coreutils-9.7/single/../src/basenc.c:1110:10: branch_false: following 'false' branch (when 'sum <= 0')...
coreutils-9.7/single/../src/basenc.c:1120:11: call_function: inlined call to 'feof_unlocked' from 'do_encode'
coreutils-9.7/single/../src/basenc.c:1105:15: danger: 'xmalloc((long unsigned int)base_length(30720))' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
# 1103|         do
# 1104|           {
# 1105|->           n = fread (inbuf + sum, 1, ENC_BLOCKSIZE - sum, in);
# 1106|             sum += n;
# 1107|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
coreutils-9.7/single/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(40960)'
coreutils-9.7/single/../src/basenc.c:1215:1: enter_function: entry to 'single_binary_main_base64'
coreutils-9.7/single/../src/basenc.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/basenc.c:1371:6: branch_false: ...to here
coreutils-9.7/single/../src/basenc.c:1390:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.7/single/../src/basenc.c:1393:5: branch_false: ...to here
coreutils-9.7/single/../src/basenc.c:1393:5: call_function: calling 'do_encode' from 'single_binary_main_base64'
# 1103|         do
# 1104|           {
# 1105|->           n = fread (inbuf + sum, 1, ENC_BLOCKSIZE - sum, in);
# 1106|             sum += n;
# 1107|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
coreutils-9.7/single/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(49152)'
coreutils-9.7/single/../src/basenc.c:1215:1: enter_function: entry to 'single_binary_main_base32'
coreutils-9.7/single/../src/basenc.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/basenc.c:1371:6: branch_false: ...to here
coreutils-9.7/single/../src/basenc.c:1390:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.7/single/../src/basenc.c:1393:5: branch_false: ...to here
coreutils-9.7/single/../src/basenc.c:1393:5: call_function: calling 'do_encode' from 'single_binary_main_base32'
# 1103|         do
# 1104|           {
# 1105|->           n = fread (inbuf + sum, 1, ENC_BLOCKSIZE - sum, in);
# 1106|             sum += n;
# 1107|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
coreutils-9.7/single/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(3072)'
# 1153|         do
# 1154|           {
# 1155|->           idx_t n = fread (inbuf + sum,
# 1156|                              1, BASE_LENGTH (DEC_BLOCKSIZE) - sum, in);
# 1157|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
coreutils-9.7/single/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(4200)'
# 1153|         do
# 1154|           {
# 1155|->           idx_t n = fread (inbuf + sum,
# 1156|                              1, BASE_LENGTH (DEC_BLOCKSIZE) - sum, in);
# 1157|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
coreutils-9.7/single/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(5120)'
# 1153|         do
# 1154|           {
# 1155|->           idx_t n = fread (inbuf + sum,
# 1156|                              1, BASE_LENGTH (DEC_BLOCKSIZE) - sum, in);
# 1157|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
coreutils-9.7/single/../src/chown-core.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.7/single/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/single/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
#   81|   {
#   82|     char buf[INT_BUFSIZE_BOUND (intmax_t)];
#   83|->   return xstrdup (TYPE_SIGNED (uid_t) ? imaxtostr (uid, buf)
#   84|                     : umaxtostr (uid, buf));
#   85|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
coreutils-9.7/single/../src/chown-core.c:94:19: warning[-Wanalyzer-malloc-leak]: leak of 'gid_to_name(*file_stats.st_gid)'
coreutils-9.7/single/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/single/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.7/single/../src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
#   92|   {
#   93|     char buf[INT_BUFSIZE_BOUND (intmax_t)];
#   94|->   return xstrdup (TYPE_SIGNED (gid_t) ? imaxtostr (gid, buf)
#   95|                     : umaxtostr (gid, buf));
#   96|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
coreutils-9.7/single/../src/chown-core.c:106:25: warning[-Wanalyzer-malloc-leak]: leak of 'gid_to_name(*file_stats.st_gid)'
coreutils-9.7/single/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/single/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.7/single/../src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
#  104|   {
#  105|     struct group *grp = getgrgid (gid);
#  106|->   return grp ? xstrdup (grp->gr_name) : gid_to_str (gid);
#  107|   }
#  108|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
coreutils-9.7/single/../src/chown-core.c:117:25: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.7/single/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/single/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
#  115|   {
#  116|     struct passwd *pwd = getpwuid (uid);
#  117|->   return pwd ? xstrdup (pwd->pw_name) : uid_to_str (uid);
#  118|   }
#  119|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
coreutils-9.7/single/../src/chown-core.c:171:3: warning[-Wanalyzer-malloc-leak]: leak of 'user_group_str(<unknown>,  <unknown>)'
coreutils-9.7/single/../src/chown-core.c:536:1: enter_function: entry to 'chown_files'
coreutils-9.7/single/../src/chown-core.c:557:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chown-core.c:569:13: branch_false: ...to here
coreutils-9.7/single/../src/chown-core.c:569:13: call_function: calling 'change_file_owner' from 'chown_files'
#  169|                                group ? old_group : nullptr);
#  170|   
#  171|->   switch (changed)
#  172|       {
#  173|       case CH_SUCCEEDED:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
coreutils-9.7/single/../src/chown-core.c:179:10: warning[-Wanalyzer-malloc-leak]: leak of 'user_group_str(<unknown>,  <unknown>)'
coreutils-9.7/single/../src/chown-core.c:536:1: enter_function: entry to 'chown_files'
coreutils-9.7/single/../src/chown-core.c:557:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chown-core.c:569:13: branch_false: ...to here
coreutils-9.7/single/../src/chown-core.c:569:13: call_function: calling 'change_file_owner' from 'chown_files'
#  177|         break;
#  178|       case CH_FAILED:
#  179|->       if (old_spec)
#  180|           {
#  181|             fmt = (user ? _("failed to change ownership of %s from %s to %s\n")

Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
coreutils-9.7/single/../src/chroot.c:147:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'gids'
coreutils-9.7/single/../src/chroot.c:219:1: enter_function: entry to 'single_binary_main_chroot'
coreutils-9.7/single/../src/chroot.c:232:16: release_memory: 'out_gids' is NULL
coreutils-9.7/single/../src/chroot.c:244:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.7/single/../src/chroot.c:246:7: branch_true: ...to here
coreutils-9.7/single/../src/chroot.c:244:10: branch_false: following 'false' branch (when 'c == -1')...
coreutils-9.7/single/../src/chroot.c:277:7: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:277:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chroot.c:283:29: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:286:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chroot.c:293:6: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:293:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chroot.c:301:10: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:301:10: branch_false: following 'false' branch (when 'userspec' is NULL)...
coreutils-9.7/single/../src/chroot.c:306:11: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:306:10: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:317:10: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chroot.c:318:9: call_function: calling 'parse_additional_groups' from 'single_binary_main_chroot'
#  145|         if (n_gids == n_gids_allocated)
#  146|           gids = xpalloc (gids, &n_gids_allocated, 1, -1, sizeof *gids);
#  147|->       gids[n_gids++] = value;
#  148|       }
#  149|   

Error: COMPILER_WARNING: [#def257]
coreutils-9.7/single/../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: [#def258]
coreutils-9.7/single/../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: [#def259]
coreutils-9.7/single/../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: [#def260]
coreutils-9.7/single/../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: [#def261]
coreutils-9.7/single/../src/cksum_avx2.c:83:18: note[note]: called from here
#   81|         if (bytes_read >= 16 * 8 * 2)
#   82|           {
#   83|->           data = _mm256_loadu_si256 (datap);
#   84|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#   85|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value

Error: COMPILER_WARNING: [#def262]
coreutils-9.7/single/../src/cksum_avx2.c:84:18: note[note]: called from here
#   82|           {
#   83|             data = _mm256_loadu_si256 (datap);
#   84|->           data = _mm256_shuffle_epi8 (data, shuffle_constant);
#   85|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   86|                calculated for previous BUFLEN buffer from fread */

Error: COMPILER_WARNING: [#def263]
coreutils-9.7/single/../src/cksum_avx2.c:87:21: note[note]: called from here
#   85|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   86|                calculated for previous BUFLEN buffer from fread */
#   87|->           xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#   88|             crc = 0;
#   89|             data = _mm256_xor_si256 (data, xor_crc);

Error: COMPILER_WARNING: [#def264]
coreutils-9.7/single/../src/cksum_avx2.c:89:18: note[note]: called from here
#   87|             xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#   88|             crc = 0;
#   89|->           data = _mm256_xor_si256 (data, xor_crc);
#   90|             data3 = _mm256_loadu_si256 (datap + 1);
#   91|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def265]
coreutils-9.7/single/../src/cksum_avx2.c:90:19: note[note]: called from here
#   88|             crc = 0;
#   89|             data = _mm256_xor_si256 (data, xor_crc);
#   90|->           data3 = _mm256_loadu_si256 (datap + 1);
#   91|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#   92|             data5 = _mm256_loadu_si256 (datap + 2);

Error: COMPILER_WARNING: [#def266]
coreutils-9.7/single/../src/cksum_avx2.c:91:19: note[note]: called from here
#   89|             data = _mm256_xor_si256 (data, xor_crc);
#   90|             data3 = _mm256_loadu_si256 (datap + 1);
#   91|->           data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#   92|             data5 = _mm256_loadu_si256 (datap + 2);
#   93|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def267]
coreutils-9.7/single/../src/cksum_avx2.c:92:19: note[note]: called from here
#   90|             data3 = _mm256_loadu_si256 (datap + 1);
#   91|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#   92|->           data5 = _mm256_loadu_si256 (datap + 2);
#   93|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#   94|             data7 = _mm256_loadu_si256 (datap + 3);

Error: COMPILER_WARNING: [#def268]
coreutils-9.7/single/../src/cksum_avx2.c:93:19: note[note]: called from here
#   91|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#   92|             data5 = _mm256_loadu_si256 (datap + 2);
#   93|->           data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#   94|             data7 = _mm256_loadu_si256 (datap + 3);
#   95|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def269]
coreutils-9.7/single/../src/cksum_avx2.c:94:19: note[note]: called from here
#   92|             data5 = _mm256_loadu_si256 (datap + 2);
#   93|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#   94|->           data7 = _mm256_loadu_si256 (datap + 3);
#   95|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#   96|   

Error: COMPILER_WARNING: [#def270]
coreutils-9.7/single/../src/cksum_avx2.c:95:19: note[note]: called from here
#   93|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#   94|             data7 = _mm256_loadu_si256 (datap + 3);
#   95|->           data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#   96|   
#   97|             while (bytes_read >= 16 * 8 * 2)

Error: COMPILER_WARNING: [#def271]
coreutils-9.7/single/../src/cksum_avx2.c:102:23: note[note]: called from here
#  100|   
#  101|                 /* Do multiplication here for 8x consecutive 16 byte blocks */
#  102|->               data2 = _mm256_clmulepi64_epi128 (data, four_mult_constant,
#  103|                                                   0x00);
#  104|                 data = _mm256_clmulepi64_epi128 (data, four_mult_constant,

Error: COMPILER_WARNING: [#def272]
coreutils-9.7/single/../src/cksum_avx2.c:104:22: note[note]: called from here
#  102|                 data2 = _mm256_clmulepi64_epi128 (data, four_mult_constant,
#  103|                                                   0x00);
#  104|->               data = _mm256_clmulepi64_epi128 (data, four_mult_constant,
#  105|                                                  0x11);
#  106|                 data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,

Error: COMPILER_WARNING: [#def273]
coreutils-9.7/single/../src/cksum_avx2.c:106:23: note[note]: called from here
#  104|                 data = _mm256_clmulepi64_epi128 (data, four_mult_constant,
#  105|                                                  0x11);
#  106|->               data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,
#  107|                                                   0x00);
#  108|                 data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,

Error: COMPILER_WARNING: [#def274]
coreutils-9.7/single/../src/cksum_avx2.c:108:23: note[note]: called from here
#  106|                 data4 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,
#  107|                                                   0x00);
#  108|->               data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,
#  109|                                                   0x11);
#  110|                 data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,

Error: COMPILER_WARNING: [#def275]
coreutils-9.7/single/../src/cksum_avx2.c:110:23: note[note]: called from here
#  108|                 data3 = _mm256_clmulepi64_epi128 (data3, four_mult_constant,
#  109|                                                   0x11);
#  110|->               data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,
#  111|                                                   0x00);
#  112|                 data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,

Error: COMPILER_WARNING: [#def276]
coreutils-9.7/single/../src/cksum_avx2.c:112:23: note[note]: called from here
#  110|                 data6 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,
#  111|                                                   0x00);
#  112|->               data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,
#  113|                                                   0x11);
#  114|                 data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,

Error: COMPILER_WARNING: [#def277]
coreutils-9.7/single/../src/cksum_avx2.c:114:23: note[note]: called from here
#  112|                 data5 = _mm256_clmulepi64_epi128 (data5, four_mult_constant,
#  113|                                                   0x11);
#  114|->               data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,
#  115|                                                   0x00);
#  116|                 data7 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,

Error: COMPILER_WARNING: [#def278]
coreutils-9.7/single/../src/cksum_avx2.c:116:23: note[note]: called from here
#  114|                 data8 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,
#  115|                                                   0x00);
#  116|->               data7 = _mm256_clmulepi64_epi128 (data7, four_mult_constant,
#  117|                                                   0x11);
#  118|   

Error: COMPILER_WARNING: [#def279]
coreutils-9.7/single/../src/cksum_avx2.c:124:22: note[note]: called from here
#  122|                    Keep xor result in variables for multiplication in next
#  123|                    round of loop. */
#  124|->               data = _mm256_xor_si256 (data, data2);
#  125|                 data2 = _mm256_loadu_si256 (datap);
#  126|                 data2 = _mm256_shuffle_epi8 (data2, shuffle_constant);

Error: COMPILER_WARNING: [#def280]
coreutils-9.7/single/../src/cksum_avx2.c:125:23: note[note]: called from here
#  123|                    round of loop. */
#  124|                 data = _mm256_xor_si256 (data, data2);
#  125|->               data2 = _mm256_loadu_si256 (datap);
#  126|                 data2 = _mm256_shuffle_epi8 (data2, shuffle_constant);
#  127|                 data = _mm256_xor_si256 (data, data2);

Error: COMPILER_WARNING: [#def281]
coreutils-9.7/single/../src/cksum_avx2.c:126:23: note[note]: called from here
#  124|                 data = _mm256_xor_si256 (data, data2);
#  125|                 data2 = _mm256_loadu_si256 (datap);
#  126|->               data2 = _mm256_shuffle_epi8 (data2, shuffle_constant);
#  127|                 data = _mm256_xor_si256 (data, data2);
#  128|   

Error: COMPILER_WARNING: [#def282]
coreutils-9.7/single/../src/cksum_avx2.c:127:22: note[note]: called from here
#  125|                 data2 = _mm256_loadu_si256 (datap);
#  126|                 data2 = _mm256_shuffle_epi8 (data2, shuffle_constant);
#  127|->               data = _mm256_xor_si256 (data, data2);
#  128|   
#  129|                 data3 = _mm256_xor_si256 (data3, data4);

Error: COMPILER_WARNING: [#def283]
coreutils-9.7/single/../src/cksum_avx2.c:129:23: note[note]: called from here
#  127|                 data = _mm256_xor_si256 (data, data2);
#  128|   
#  129|->               data3 = _mm256_xor_si256 (data3, data4);
#  130|                 data4 = _mm256_loadu_si256 (datap + 1);
#  131|                 data4 = _mm256_shuffle_epi8 (data4, shuffle_constant);

Error: COMPILER_WARNING: [#def284]
coreutils-9.7/single/../src/cksum_avx2.c:130:23: note[note]: called from here
#  128|   
#  129|                 data3 = _mm256_xor_si256 (data3, data4);
#  130|->               data4 = _mm256_loadu_si256 (datap + 1);
#  131|                 data4 = _mm256_shuffle_epi8 (data4, shuffle_constant);
#  132|                 data3 = _mm256_xor_si256 (data3, data4);

Error: COMPILER_WARNING: [#def285]
coreutils-9.7/single/../src/cksum_avx2.c:131:23: note[note]: called from here
#  129|                 data3 = _mm256_xor_si256 (data3, data4);
#  130|                 data4 = _mm256_loadu_si256 (datap + 1);
#  131|->               data4 = _mm256_shuffle_epi8 (data4, shuffle_constant);
#  132|                 data3 = _mm256_xor_si256 (data3, data4);
#  133|   

Error: COMPILER_WARNING: [#def286]
coreutils-9.7/single/../src/cksum_avx2.c:132:23: note[note]: called from here
#  130|                 data4 = _mm256_loadu_si256 (datap + 1);
#  131|                 data4 = _mm256_shuffle_epi8 (data4, shuffle_constant);
#  132|->               data3 = _mm256_xor_si256 (data3, data4);
#  133|   
#  134|                 data5 = _mm256_xor_si256 (data5, data6);

Error: COMPILER_WARNING: [#def287]
coreutils-9.7/single/../src/cksum_avx2.c:134:23: note[note]: called from here
#  132|                 data3 = _mm256_xor_si256 (data3, data4);
#  133|   
#  134|->               data5 = _mm256_xor_si256 (data5, data6);
#  135|                 data6 = _mm256_loadu_si256 (datap + 2);
#  136|                 data6 = _mm256_shuffle_epi8 (data6, shuffle_constant);

Error: COMPILER_WARNING: [#def288]
coreutils-9.7/single/../src/cksum_avx2.c:135:23: note[note]: called from here
#  133|   
#  134|                 data5 = _mm256_xor_si256 (data5, data6);
#  135|->               data6 = _mm256_loadu_si256 (datap + 2);
#  136|                 data6 = _mm256_shuffle_epi8 (data6, shuffle_constant);
#  137|                 data5 = _mm256_xor_si256 (data5, data6);

Error: COMPILER_WARNING: [#def289]
coreutils-9.7/single/../src/cksum_avx2.c:136:23: note[note]: called from here
#  134|                 data5 = _mm256_xor_si256 (data5, data6);
#  135|                 data6 = _mm256_loadu_si256 (datap + 2);
#  136|->               data6 = _mm256_shuffle_epi8 (data6, shuffle_constant);
#  137|                 data5 = _mm256_xor_si256 (data5, data6);
#  138|   

Error: COMPILER_WARNING: [#def290]
coreutils-9.7/single/../src/cksum_avx2.c:137:23: note[note]: called from here
#  135|                 data6 = _mm256_loadu_si256 (datap + 2);
#  136|                 data6 = _mm256_shuffle_epi8 (data6, shuffle_constant);
#  137|->               data5 = _mm256_xor_si256 (data5, data6);
#  138|   
#  139|                 data7 = _mm256_xor_si256 (data7, data8);

Error: COMPILER_WARNING: [#def291]
coreutils-9.7/single/../src/cksum_avx2.c:139:23: note[note]: called from here
#  137|                 data5 = _mm256_xor_si256 (data5, data6);
#  138|   
#  139|->               data7 = _mm256_xor_si256 (data7, data8);
#  140|                 data8 = _mm256_loadu_si256 (datap + 3);
#  141|                 data8 = _mm256_shuffle_epi8 (data8, shuffle_constant);

Error: COMPILER_WARNING: [#def292]
coreutils-9.7/single/../src/cksum_avx2.c:140:23: note[note]: called from here
#  138|   
#  139|                 data7 = _mm256_xor_si256 (data7, data8);
#  140|->               data8 = _mm256_loadu_si256 (datap + 3);
#  141|                 data8 = _mm256_shuffle_epi8 (data8, shuffle_constant);
#  142|                 data7 = _mm256_xor_si256 (data7, data8);

Error: COMPILER_WARNING: [#def293]
coreutils-9.7/single/../src/cksum_avx2.c:141:23: note[note]: called from here
#  139|                 data7 = _mm256_xor_si256 (data7, data8);
#  140|                 data8 = _mm256_loadu_si256 (datap + 3);
#  141|->               data8 = _mm256_shuffle_epi8 (data8, shuffle_constant);
#  142|                 data7 = _mm256_xor_si256 (data7, data8);
#  143|   

Error: COMPILER_WARNING: [#def294]
coreutils-9.7/single/../src/cksum_avx2.c:142:23: note[note]: called from here
#  140|                 data8 = _mm256_loadu_si256 (datap + 3);
#  141|                 data8 = _mm256_shuffle_epi8 (data8, shuffle_constant);
#  142|->               data7 = _mm256_xor_si256 (data7, data8);
#  143|   
#  144|                 bytes_read -= (16 * 4 * 2);

Error: COMPILER_WARNING: [#def295]
coreutils-9.7/single/../src/cksum_avx2.c:148:18: note[note]: called from here
#  146|             /* At end of loop we write out results from variables back into
#  147|                the buffer, for use in single fold loop */
#  148|->           data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  149|             _mm256_storeu_si256 (datap, data);
#  150|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def296]
coreutils-9.7/single/../src/cksum_avx2.c:149:11: note[note]: called from here
#  147|                the buffer, for use in single fold loop */
#  148|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  149|->           _mm256_storeu_si256 (datap, data);
#  150|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#  151|             _mm256_storeu_si256 (datap + 1, data3);

Error: COMPILER_WARNING: [#def297]
coreutils-9.7/single/../src/cksum_avx2.c:150:19: note[note]: called from here
#  148|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  149|             _mm256_storeu_si256 (datap, data);
#  150|->           data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#  151|             _mm256_storeu_si256 (datap + 1, data3);
#  152|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def298]
coreutils-9.7/single/../src/cksum_avx2.c:151:11: note[note]: called from here
#  149|             _mm256_storeu_si256 (datap, data);
#  150|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#  151|->           _mm256_storeu_si256 (datap + 1, data3);
#  152|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#  153|             _mm256_storeu_si256 (datap + 2, data5);

Error: COMPILER_WARNING: [#def299]
coreutils-9.7/single/../src/cksum_avx2.c:152:19: note[note]: called from here
#  150|             data3 = _mm256_shuffle_epi8 (data3, shuffle_constant);
#  151|             _mm256_storeu_si256 (datap + 1, data3);
#  152|->           data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#  153|             _mm256_storeu_si256 (datap + 2, data5);
#  154|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def300]
coreutils-9.7/single/../src/cksum_avx2.c:153:11: note[note]: called from here
#  151|             _mm256_storeu_si256 (datap + 1, data3);
#  152|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#  153|->           _mm256_storeu_si256 (datap + 2, data5);
#  154|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#  155|             _mm256_storeu_si256 (datap + 3, data7);

Error: COMPILER_WARNING: [#def301]
coreutils-9.7/single/../src/cksum_avx2.c:154:19: note[note]: called from here
#  152|             data5 = _mm256_shuffle_epi8 (data5, shuffle_constant);
#  153|             _mm256_storeu_si256 (datap + 2, data5);
#  154|->           data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#  155|             _mm256_storeu_si256 (datap + 3, data7);
#  156|           }

Error: COMPILER_WARNING: [#def302]
coreutils-9.7/single/../src/cksum_avx2.c:155:11: note[note]: called from here
#  153|             _mm256_storeu_si256 (datap + 2, data5);
#  154|             data7 = _mm256_shuffle_epi8 (data7, shuffle_constant);
#  155|->           _mm256_storeu_si256 (datap + 3, data7);
#  156|           }
#  157|   

Error: COMPILER_WARNING: [#def303]
coreutils-9.7/single/../src/cksum_avx2.c:161:18: note[note]: called from here
#  159|         if (bytes_read >= 64)
#  160|           {
#  161|->           data = _mm256_loadu_si256 (datap);
#  162|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  163|             xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);

Error: COMPILER_WARNING: [#def304]
coreutils-9.7/single/../src/cksum_avx2.c:162:18: note[note]: called from here
#  160|           {
#  161|             data = _mm256_loadu_si256 (datap);
#  162|->           data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  163|             xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#  164|             crc = 0;

Error: COMPILER_WARNING: [#def305]
coreutils-9.7/single/../src/cksum_avx2.c:163:21: note[note]: called from here
#  161|             data = _mm256_loadu_si256 (datap);
#  162|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  163|->           xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#  164|             crc = 0;
#  165|             data = _mm256_xor_si256 (data, xor_crc);

Error: COMPILER_WARNING: [#def306]
coreutils-9.7/single/../src/cksum_avx2.c:165:18: note[note]: called from here
#  163|             xor_crc = _mm256_set_epi32 (0, 0, 0, 0, crc, 0, 0, 0);
#  164|             crc = 0;
#  165|->           data = _mm256_xor_si256 (data, xor_crc);
#  166|             while (bytes_read >= 64)
#  167|               {

Error: COMPILER_WARNING: [#def307]
coreutils-9.7/single/../src/cksum_avx2.c:170:23: note[note]: called from here
#  168|                 datap++;
#  169|   
#  170|->               data2 = _mm256_clmulepi64_epi128 (data, single_mult_constant,
#  171|                                                   0x00);
#  172|                 data = _mm256_clmulepi64_epi128 (data, single_mult_constant,

Error: COMPILER_WARNING: [#def308]
coreutils-9.7/single/../src/cksum_avx2.c:172:22: note[note]: called from here
#  170|                 data2 = _mm256_clmulepi64_epi128 (data, single_mult_constant,
#  171|                                                   0x00);
#  172|->               data = _mm256_clmulepi64_epi128 (data, single_mult_constant,
#  173|                                                  0x11);
#  174|                 fold_data = _mm256_loadu_si256 (datap);

Error: COMPILER_WARNING: [#def309]
coreutils-9.7/single/../src/cksum_avx2.c:174:27: note[note]: called from here
#  172|                 data = _mm256_clmulepi64_epi128 (data, single_mult_constant,
#  173|                                                  0x11);
#  174|->               fold_data = _mm256_loadu_si256 (datap);
#  175|                 fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant);
#  176|                 data = _mm256_xor_si256 (data, data2);

Error: COMPILER_WARNING: [#def310]
coreutils-9.7/single/../src/cksum_avx2.c:175:27: note[note]: called from here
#  173|                                                  0x11);
#  174|                 fold_data = _mm256_loadu_si256 (datap);
#  175|->               fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant);
#  176|                 data = _mm256_xor_si256 (data, data2);
#  177|                 data = _mm256_xor_si256 (data, fold_data);

Error: COMPILER_WARNING: [#def311]
coreutils-9.7/single/../src/cksum_avx2.c:176:22: note[note]: called from here
#  174|                 fold_data = _mm256_loadu_si256 (datap);
#  175|                 fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant);
#  176|->               data = _mm256_xor_si256 (data, data2);
#  177|                 data = _mm256_xor_si256 (data, fold_data);
#  178|                 bytes_read -= 32;

Error: COMPILER_WARNING: [#def312]
coreutils-9.7/single/../src/cksum_avx2.c:177:22: note[note]: called from here
#  175|                 fold_data = _mm256_shuffle_epi8 (fold_data, shuffle_constant);
#  176|                 data = _mm256_xor_si256 (data, data2);
#  177|->               data = _mm256_xor_si256 (data, fold_data);
#  178|                 bytes_read -= 32;
#  179|               }

Error: COMPILER_WARNING: [#def313]
coreutils-9.7/single/../src/cksum_avx2.c:180:18: note[note]: called from here
#  178|                 bytes_read -= 32;
#  179|               }
#  180|->           data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  181|             _mm256_storeu_si256 (datap, data);
#  182|           }

Error: COMPILER_WARNING: [#def314]
coreutils-9.7/single/../src/cksum_avx2.c:181:11: note[note]: called from here
#  179|               }
#  180|             data = _mm256_shuffle_epi8 (data, shuffle_constant);
#  181|->           _mm256_storeu_si256 (datap, data);
#  182|           }
#  183|   

Error: COMPILER_WARNING: [#def315]
coreutils-9.7/single/../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: [#def316]
coreutils-9.7/single/../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: [#def317]
coreutils-9.7/single/../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: [#def318]
coreutils-9.7/single/../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: [#def319]
coreutils-9.7/single/../src/cksum_avx512.c:90:18: note[note]: called from here
#   88|         if (bytes_read >= 16 * 8 * 4)
#   89|           {
#   90|->           data = _mm512_loadu_si512 (datap);
#   91|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#   92|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value

Error: COMPILER_WARNING: [#def320]
coreutils-9.7/single/../src/cksum_avx512.c:91:18: note[note]: called from here
#   89|           {
#   90|             data = _mm512_loadu_si512 (datap);
#   91|->           data = _mm512_shuffle_epi8 (data, shuffle_constant);
#   92|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   93|                calculated for previous BUFLEN buffer from fread */

Error: COMPILER_WARNING: [#def321]
coreutils-9.7/single/../src/cksum_avx512.c:94:21: note[note]: called from here
#   92|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   93|                calculated for previous BUFLEN buffer from fread */
#   94|->           xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0,
#   95|                                         0, 0, 0, 0, crc, 0, 0, 0);
#   96|             crc = 0;

Error: COMPILER_WARNING: [#def322]
coreutils-9.7/single/../src/cksum_avx512.c:97:18: note[note]: called from here
#   95|                                         0, 0, 0, 0, crc, 0, 0, 0);
#   96|             crc = 0;
#   97|->           data = _mm512_xor_si512 (data, xor_crc);
#   98|             data3 = _mm512_loadu_si512 (datap + 1);
#   99|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def323]
coreutils-9.7/single/../src/cksum_avx512.c:98:19: note[note]: called from here
#   96|             crc = 0;
#   97|             data = _mm512_xor_si512 (data, xor_crc);
#   98|->           data3 = _mm512_loadu_si512 (datap + 1);
#   99|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  100|             data5 = _mm512_loadu_si512 (datap + 2);

Error: COMPILER_WARNING: [#def324]
coreutils-9.7/single/../src/cksum_avx512.c:99:19: note[note]: called from here
#   97|             data = _mm512_xor_si512 (data, xor_crc);
#   98|             data3 = _mm512_loadu_si512 (datap + 1);
#   99|->           data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  100|             data5 = _mm512_loadu_si512 (datap + 2);
#  101|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def325]
coreutils-9.7/single/../src/cksum_avx512.c:100:19: note[note]: called from here
#   98|             data3 = _mm512_loadu_si512 (datap + 1);
#   99|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  100|->           data5 = _mm512_loadu_si512 (datap + 2);
#  101|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  102|             data7 = _mm512_loadu_si512 (datap + 3);

Error: COMPILER_WARNING: [#def326]
coreutils-9.7/single/../src/cksum_avx512.c:101:19: note[note]: called from here
#   99|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  100|             data5 = _mm512_loadu_si512 (datap + 2);
#  101|->           data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  102|             data7 = _mm512_loadu_si512 (datap + 3);
#  103|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def327]
coreutils-9.7/single/../src/cksum_avx512.c:102:19: note[note]: called from here
#  100|             data5 = _mm512_loadu_si512 (datap + 2);
#  101|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  102|->           data7 = _mm512_loadu_si512 (datap + 3);
#  103|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  104|   

Error: COMPILER_WARNING: [#def328]
coreutils-9.7/single/../src/cksum_avx512.c:103:19: note[note]: called from here
#  101|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  102|             data7 = _mm512_loadu_si512 (datap + 3);
#  103|->           data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  104|   
#  105|             while (bytes_read >= 16 * 8 * 4)

Error: COMPILER_WARNING: [#def329]
coreutils-9.7/single/../src/cksum_avx512.c:110:23: note[note]: called from here
#  108|   
#  109|                 /* Do multiplication here for 16x consecutive 16 byte blocks */
#  110|->               data2 = _mm512_clmulepi64_epi128 (data, four_mult_constant,
#  111|                                                   0x00);
#  112|                 data = _mm512_clmulepi64_epi128 (data, four_mult_constant,

Error: COMPILER_WARNING: [#def330]
coreutils-9.7/single/../src/cksum_avx512.c:112:22: note[note]: called from here
#  110|                 data2 = _mm512_clmulepi64_epi128 (data, four_mult_constant,
#  111|                                                   0x00);
#  112|->               data = _mm512_clmulepi64_epi128 (data, four_mult_constant,
#  113|                                                  0x11);
#  114|                 data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,

Error: COMPILER_WARNING: [#def331]
coreutils-9.7/single/../src/cksum_avx512.c:114:23: note[note]: called from here
#  112|                 data = _mm512_clmulepi64_epi128 (data, four_mult_constant,
#  113|                                                  0x11);
#  114|->               data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,
#  115|                                                   0x00);
#  116|                 data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,

Error: COMPILER_WARNING: [#def332]
coreutils-9.7/single/../src/cksum_avx512.c:116:23: note[note]: called from here
#  114|                 data4 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,
#  115|                                                   0x00);
#  116|->               data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,
#  117|                                                   0x11);
#  118|                 data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,

Error: COMPILER_WARNING: [#def333]
coreutils-9.7/single/../src/cksum_avx512.c:118:23: note[note]: called from here
#  116|                 data3 = _mm512_clmulepi64_epi128 (data3, four_mult_constant,
#  117|                                                   0x11);
#  118|->               data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,
#  119|                                                   0x00);
#  120|                 data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,

Error: COMPILER_WARNING: [#def334]
coreutils-9.7/single/../src/cksum_avx512.c:120:23: note[note]: called from here
#  118|                 data6 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,
#  119|                                                   0x00);
#  120|->               data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,
#  121|                                                   0x11);
#  122|                 data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,

Error: COMPILER_WARNING: [#def335]
coreutils-9.7/single/../src/cksum_avx512.c:122:23: note[note]: called from here
#  120|                 data5 = _mm512_clmulepi64_epi128 (data5, four_mult_constant,
#  121|                                                   0x11);
#  122|->               data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,
#  123|                                                   0x00);
#  124|                 data7 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,

Error: COMPILER_WARNING: [#def336]
coreutils-9.7/single/../src/cksum_avx512.c:124:23: note[note]: called from here
#  122|                 data8 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,
#  123|                                                   0x00);
#  124|->               data7 = _mm512_clmulepi64_epi128 (data7, four_mult_constant,
#  125|                                                   0x11);
#  126|   

Error: COMPILER_WARNING: [#def337]
coreutils-9.7/single/../src/cksum_avx512.c:132:22: note[note]: called from here
#  130|                    Keep xor result in variables for multiplication in next
#  131|                    round of loop. */
#  132|->               data = _mm512_xor_si512 (data, data2);
#  133|                 data2 = _mm512_loadu_si512 (datap);
#  134|                 data2 = _mm512_shuffle_epi8 (data2, shuffle_constant);

Error: COMPILER_WARNING: [#def338]
coreutils-9.7/single/../src/cksum_avx512.c:133:23: note[note]: called from here
#  131|                    round of loop. */
#  132|                 data = _mm512_xor_si512 (data, data2);
#  133|->               data2 = _mm512_loadu_si512 (datap);
#  134|                 data2 = _mm512_shuffle_epi8 (data2, shuffle_constant);
#  135|                 data = _mm512_xor_si512 (data, data2);

Error: COMPILER_WARNING: [#def339]
coreutils-9.7/single/../src/cksum_avx512.c:134:23: note[note]: called from here
#  132|                 data = _mm512_xor_si512 (data, data2);
#  133|                 data2 = _mm512_loadu_si512 (datap);
#  134|->               data2 = _mm512_shuffle_epi8 (data2, shuffle_constant);
#  135|                 data = _mm512_xor_si512 (data, data2);
#  136|   

Error: COMPILER_WARNING: [#def340]
coreutils-9.7/single/../src/cksum_avx512.c:135:22: note[note]: called from here
#  133|                 data2 = _mm512_loadu_si512 (datap);
#  134|                 data2 = _mm512_shuffle_epi8 (data2, shuffle_constant);
#  135|->               data = _mm512_xor_si512 (data, data2);
#  136|   
#  137|                 data3 = _mm512_xor_si512 (data3, data4);

Error: COMPILER_WARNING: [#def341]
coreutils-9.7/single/../src/cksum_avx512.c:137:23: note[note]: called from here
#  135|                 data = _mm512_xor_si512 (data, data2);
#  136|   
#  137|->               data3 = _mm512_xor_si512 (data3, data4);
#  138|                 data4 = _mm512_loadu_si512 (datap + 1);
#  139|                 data4 = _mm512_shuffle_epi8 (data4, shuffle_constant);

Error: COMPILER_WARNING: [#def342]
coreutils-9.7/single/../src/cksum_avx512.c:138:23: note[note]: called from here
#  136|   
#  137|                 data3 = _mm512_xor_si512 (data3, data4);
#  138|->               data4 = _mm512_loadu_si512 (datap + 1);
#  139|                 data4 = _mm512_shuffle_epi8 (data4, shuffle_constant);
#  140|                 data3 = _mm512_xor_si512 (data3, data4);

Error: COMPILER_WARNING: [#def343]
coreutils-9.7/single/../src/cksum_avx512.c:139:23: note[note]: called from here
#  137|                 data3 = _mm512_xor_si512 (data3, data4);
#  138|                 data4 = _mm512_loadu_si512 (datap + 1);
#  139|->               data4 = _mm512_shuffle_epi8 (data4, shuffle_constant);
#  140|                 data3 = _mm512_xor_si512 (data3, data4);
#  141|   

Error: COMPILER_WARNING: [#def344]
coreutils-9.7/single/../src/cksum_avx512.c:140:23: note[note]: called from here
#  138|                 data4 = _mm512_loadu_si512 (datap + 1);
#  139|                 data4 = _mm512_shuffle_epi8 (data4, shuffle_constant);
#  140|->               data3 = _mm512_xor_si512 (data3, data4);
#  141|   
#  142|                 data5 = _mm512_xor_si512 (data5, data6);

Error: COMPILER_WARNING: [#def345]
coreutils-9.7/single/../src/cksum_avx512.c:142:23: note[note]: called from here
#  140|                 data3 = _mm512_xor_si512 (data3, data4);
#  141|   
#  142|->               data5 = _mm512_xor_si512 (data5, data6);
#  143|                 data6 = _mm512_loadu_si512 (datap + 2);
#  144|                 data6 = _mm512_shuffle_epi8 (data6, shuffle_constant);

Error: COMPILER_WARNING: [#def346]
coreutils-9.7/single/../src/cksum_avx512.c:143:23: note[note]: called from here
#  141|   
#  142|                 data5 = _mm512_xor_si512 (data5, data6);
#  143|->               data6 = _mm512_loadu_si512 (datap + 2);
#  144|                 data6 = _mm512_shuffle_epi8 (data6, shuffle_constant);
#  145|                 data5 = _mm512_xor_si512 (data5, data6);

Error: COMPILER_WARNING: [#def347]
coreutils-9.7/single/../src/cksum_avx512.c:144:23: note[note]: called from here
#  142|                 data5 = _mm512_xor_si512 (data5, data6);
#  143|                 data6 = _mm512_loadu_si512 (datap + 2);
#  144|->               data6 = _mm512_shuffle_epi8 (data6, shuffle_constant);
#  145|                 data5 = _mm512_xor_si512 (data5, data6);
#  146|   

Error: COMPILER_WARNING: [#def348]
coreutils-9.7/single/../src/cksum_avx512.c:145:23: note[note]: called from here
#  143|                 data6 = _mm512_loadu_si512 (datap + 2);
#  144|                 data6 = _mm512_shuffle_epi8 (data6, shuffle_constant);
#  145|->               data5 = _mm512_xor_si512 (data5, data6);
#  146|   
#  147|                 data7 = _mm512_xor_si512 (data7, data8);

Error: COMPILER_WARNING: [#def349]
coreutils-9.7/single/../src/cksum_avx512.c:147:23: note[note]: called from here
#  145|                 data5 = _mm512_xor_si512 (data5, data6);
#  146|   
#  147|->               data7 = _mm512_xor_si512 (data7, data8);
#  148|                 data8 = _mm512_loadu_si512 (datap + 3);
#  149|                 data8 = _mm512_shuffle_epi8 (data8, shuffle_constant);

Error: COMPILER_WARNING: [#def350]
coreutils-9.7/single/../src/cksum_avx512.c:148:23: note[note]: called from here
#  146|   
#  147|                 data7 = _mm512_xor_si512 (data7, data8);
#  148|->               data8 = _mm512_loadu_si512 (datap + 3);
#  149|                 data8 = _mm512_shuffle_epi8 (data8, shuffle_constant);
#  150|                 data7 = _mm512_xor_si512 (data7, data8);

Error: COMPILER_WARNING: [#def351]
coreutils-9.7/single/../src/cksum_avx512.c:149:23: note[note]: called from here
#  147|                 data7 = _mm512_xor_si512 (data7, data8);
#  148|                 data8 = _mm512_loadu_si512 (datap + 3);
#  149|->               data8 = _mm512_shuffle_epi8 (data8, shuffle_constant);
#  150|                 data7 = _mm512_xor_si512 (data7, data8);
#  151|   

Error: COMPILER_WARNING: [#def352]
coreutils-9.7/single/../src/cksum_avx512.c:150:23: note[note]: called from here
#  148|                 data8 = _mm512_loadu_si512 (datap + 3);
#  149|                 data8 = _mm512_shuffle_epi8 (data8, shuffle_constant);
#  150|->               data7 = _mm512_xor_si512 (data7, data8);
#  151|   
#  152|                 bytes_read -= (16 * 4 * 4);

Error: COMPILER_WARNING: [#def353]
coreutils-9.7/single/../src/cksum_avx512.c:156:18: note[note]: called from here
#  154|             /* At end of loop we write out results from variables back into
#  155|                the buffer, for use in single fold loop */
#  156|->           data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  157|             _mm512_storeu_si512 (datap, data);
#  158|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def354]
coreutils-9.7/single/../src/cksum_avx512.c:157:11: note[note]: called from here
#  155|                the buffer, for use in single fold loop */
#  156|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  157|->           _mm512_storeu_si512 (datap, data);
#  158|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  159|             _mm512_storeu_si512 (datap + 1, data3);

Error: COMPILER_WARNING: [#def355]
coreutils-9.7/single/../src/cksum_avx512.c:158:19: note[note]: called from here
#  156|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  157|             _mm512_storeu_si512 (datap, data);
#  158|->           data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  159|             _mm512_storeu_si512 (datap + 1, data3);
#  160|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def356]
coreutils-9.7/single/../src/cksum_avx512.c:159:11: note[note]: called from here
#  157|             _mm512_storeu_si512 (datap, data);
#  158|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  159|->           _mm512_storeu_si512 (datap + 1, data3);
#  160|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  161|             _mm512_storeu_si512 (datap + 2, data5);

Error: COMPILER_WARNING: [#def357]
coreutils-9.7/single/../src/cksum_avx512.c:160:19: note[note]: called from here
#  158|             data3 = _mm512_shuffle_epi8 (data3, shuffle_constant);
#  159|             _mm512_storeu_si512 (datap + 1, data3);
#  160|->           data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  161|             _mm512_storeu_si512 (datap + 2, data5);
#  162|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def358]
coreutils-9.7/single/../src/cksum_avx512.c:161:11: note[note]: called from here
#  159|             _mm512_storeu_si512 (datap + 1, data3);
#  160|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  161|->           _mm512_storeu_si512 (datap + 2, data5);
#  162|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  163|             _mm512_storeu_si512 (datap + 3, data7);

Error: COMPILER_WARNING: [#def359]
coreutils-9.7/single/../src/cksum_avx512.c:162:19: note[note]: called from here
#  160|             data5 = _mm512_shuffle_epi8 (data5, shuffle_constant);
#  161|             _mm512_storeu_si512 (datap + 2, data5);
#  162|->           data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  163|             _mm512_storeu_si512 (datap + 3, data7);
#  164|           }

Error: COMPILER_WARNING: [#def360]
coreutils-9.7/single/../src/cksum_avx512.c:163:11: note[note]: called from here
#  161|             _mm512_storeu_si512 (datap + 2, data5);
#  162|             data7 = _mm512_shuffle_epi8 (data7, shuffle_constant);
#  163|->           _mm512_storeu_si512 (datap + 3, data7);
#  164|           }
#  165|   

Error: COMPILER_WARNING: [#def361]
coreutils-9.7/single/../src/cksum_avx512.c:169:18: note[note]: called from here
#  167|         if (bytes_read >= 128)
#  168|           {
#  169|->           data = _mm512_loadu_si512 (datap);
#  170|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  171|             xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0,

Error: COMPILER_WARNING: [#def362]
coreutils-9.7/single/../src/cksum_avx512.c:170:18: note[note]: called from here
#  168|           {
#  169|             data = _mm512_loadu_si512 (datap);
#  170|->           data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  171|             xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0,
#  172|                                         0, 0, 0, 0, crc, 0, 0, 0);

Error: COMPILER_WARNING: [#def363]
coreutils-9.7/single/../src/cksum_avx512.c:171:21: note[note]: called from here
#  169|             data = _mm512_loadu_si512 (datap);
#  170|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  171|->           xor_crc = _mm512_set_epi32 (0, 0, 0, 0, 0, 0, 0, 0,
#  172|                                         0, 0, 0, 0, crc, 0, 0, 0);
#  173|             crc = 0;

Error: COMPILER_WARNING: [#def364]
coreutils-9.7/single/../src/cksum_avx512.c:174:18: note[note]: called from here
#  172|                                         0, 0, 0, 0, crc, 0, 0, 0);
#  173|             crc = 0;
#  174|->           data = _mm512_xor_si512 (data, xor_crc);
#  175|             while (bytes_read >= 128)
#  176|               {

Error: COMPILER_WARNING: [#def365]
coreutils-9.7/single/../src/cksum_avx512.c:179:23: note[note]: called from here
#  177|                 datap++;
#  178|   
#  179|->               data2 = _mm512_clmulepi64_epi128 (data, single_mult_constant,
#  180|                                                   0x00);
#  181|                 data = _mm512_clmulepi64_epi128 (data, single_mult_constant,

Error: COMPILER_WARNING: [#def366]
coreutils-9.7/single/../src/cksum_avx512.c:181:22: note[note]: called from here
#  179|                 data2 = _mm512_clmulepi64_epi128 (data, single_mult_constant,
#  180|                                                   0x00);
#  181|->               data = _mm512_clmulepi64_epi128 (data, single_mult_constant,
#  182|                                                  0x11);
#  183|                 fold_data = _mm512_loadu_si512 (datap);

Error: COMPILER_WARNING: [#def367]
coreutils-9.7/single/../src/cksum_avx512.c:183:27: note[note]: called from here
#  181|                 data = _mm512_clmulepi64_epi128 (data, single_mult_constant,
#  182|                                                  0x11);
#  183|->               fold_data = _mm512_loadu_si512 (datap);
#  184|                 fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant);
#  185|                 data = _mm512_xor_si512 (data, data2);

Error: COMPILER_WARNING: [#def368]
coreutils-9.7/single/../src/cksum_avx512.c:184:27: note[note]: called from here
#  182|                                                  0x11);
#  183|                 fold_data = _mm512_loadu_si512 (datap);
#  184|->               fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant);
#  185|                 data = _mm512_xor_si512 (data, data2);
#  186|                 data = _mm512_xor_si512 (data, fold_data);

Error: COMPILER_WARNING: [#def369]
coreutils-9.7/single/../src/cksum_avx512.c:185:22: note[note]: called from here
#  183|                 fold_data = _mm512_loadu_si512 (datap);
#  184|                 fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant);
#  185|->               data = _mm512_xor_si512 (data, data2);
#  186|                 data = _mm512_xor_si512 (data, fold_data);
#  187|                 bytes_read -= 64;

Error: COMPILER_WARNING: [#def370]
coreutils-9.7/single/../src/cksum_avx512.c:186:22: note[note]: called from here
#  184|                 fold_data = _mm512_shuffle_epi8 (fold_data, shuffle_constant);
#  185|                 data = _mm512_xor_si512 (data, data2);
#  186|->               data = _mm512_xor_si512 (data, fold_data);
#  187|                 bytes_read -= 64;
#  188|               }

Error: COMPILER_WARNING: [#def371]
coreutils-9.7/single/../src/cksum_avx512.c:189:18: note[note]: called from here
#  187|                 bytes_read -= 64;
#  188|               }
#  189|->           data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  190|             _mm512_storeu_si512 (datap, data);
#  191|           }

Error: COMPILER_WARNING: [#def372]
coreutils-9.7/single/../src/cksum_avx512.c:190:11: note[note]: called from here
#  188|               }
#  189|             data = _mm512_shuffle_epi8 (data, shuffle_constant);
#  190|->           _mm512_storeu_si512 (datap, data);
#  191|           }
#  192|   

Error: COMPILER_WARNING: [#def373]
coreutils-9.7/single/../src/cksum_pclmul.c:82:18: note[note]: called from here
#   80|           {
#   81|             data = _mm_loadu_si128 (datap);
#   82|->           data = _mm_shuffle_epi8 (data, shuffle_constant);
#   83|             /* XOR in initial CRC value (for us 0 so no effect), or CRC value
#   84|                calculated for previous BUFLEN buffer from fread */

Error: COMPILER_WARNING: [#def374]
coreutils-9.7/single/../src/cksum_pclmul.c:89:19: note[note]: called from here
#   87|             data = _mm_xor_si128 (data, xor_crc);
#   88|             data3 = _mm_loadu_si128 (datap + 1);
#   89|->           data3 = _mm_shuffle_epi8 (data3, shuffle_constant);
#   90|             data5 = _mm_loadu_si128 (datap + 2);
#   91|             data5 = _mm_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def375]
coreutils-9.7/single/../src/cksum_pclmul.c:91:19: note[note]: called from here
#   89|             data3 = _mm_shuffle_epi8 (data3, shuffle_constant);
#   90|             data5 = _mm_loadu_si128 (datap + 2);
#   91|->           data5 = _mm_shuffle_epi8 (data5, shuffle_constant);
#   92|             data7 = _mm_loadu_si128 (datap + 3);
#   93|             data7 = _mm_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def376]
coreutils-9.7/single/../src/cksum_pclmul.c:93:19: note[note]: called from here
#   91|             data5 = _mm_shuffle_epi8 (data5, shuffle_constant);
#   92|             data7 = _mm_loadu_si128 (datap + 3);
#   93|->           data7 = _mm_shuffle_epi8 (data7, shuffle_constant);
#   94|   
#   95|   

Error: COMPILER_WARNING: [#def377]
coreutils-9.7/single/../src/cksum_pclmul.c:101:23: note[note]: called from here
#   99|   
#  100|                 /* Do multiplication here for four consecutive 16 byte blocks */
#  101|->               data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00);
#  102|                 data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11);
#  103|                 data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);

Error: COMPILER_WARNING: [#def378]
coreutils-9.7/single/../src/cksum_pclmul.c:102:22: note[note]: called from here
#  100|                 /* Do multiplication here for four consecutive 16 byte blocks */
#  101|                 data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00);
#  102|->               data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11);
#  103|                 data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);
#  104|                 data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);

Error: COMPILER_WARNING: [#def379]
coreutils-9.7/single/../src/cksum_pclmul.c:103:23: note[note]: called from here
#  101|                 data2 = _mm_clmulepi64_si128 (data, four_mult_constant, 0x00);
#  102|                 data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11);
#  103|->               data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);
#  104|                 data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);
#  105|                 data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);

Error: COMPILER_WARNING: [#def380]
coreutils-9.7/single/../src/cksum_pclmul.c:104:23: note[note]: called from here
#  102|                 data = _mm_clmulepi64_si128 (data, four_mult_constant, 0x11);
#  103|                 data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);
#  104|->               data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);
#  105|                 data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);
#  106|                 data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);

Error: COMPILER_WARNING: [#def381]
coreutils-9.7/single/../src/cksum_pclmul.c:105:23: note[note]: called from here
#  103|                 data4 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x00);
#  104|                 data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);
#  105|->               data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);
#  106|                 data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);
#  107|                 data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00);

Error: COMPILER_WARNING: [#def382]
coreutils-9.7/single/../src/cksum_pclmul.c:106:23: note[note]: called from here
#  104|                 data3 = _mm_clmulepi64_si128 (data3, four_mult_constant, 0x11);
#  105|                 data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);
#  106|->               data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);
#  107|                 data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00);
#  108|                 data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11);

Error: COMPILER_WARNING: [#def383]
coreutils-9.7/single/../src/cksum_pclmul.c:107:23: note[note]: called from here
#  105|                 data6 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x00);
#  106|                 data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);
#  107|->               data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00);
#  108|                 data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11);
#  109|   

Error: COMPILER_WARNING: [#def384]
coreutils-9.7/single/../src/cksum_pclmul.c:108:23: note[note]: called from here
#  106|                 data5 = _mm_clmulepi64_si128 (data5, four_mult_constant, 0x11);
#  107|                 data8 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x00);
#  108|->               data7 = _mm_clmulepi64_si128 (data7, four_mult_constant, 0x11);
#  109|   
#  110|                 /* Now multiplication results for the four blocks is xor:ed with

Error: COMPILER_WARNING: [#def385]
coreutils-9.7/single/../src/cksum_pclmul.c:117:23: note[note]: called from here
#  115|                 data = _mm_xor_si128 (data, data2);
#  116|                 data2 = _mm_loadu_si128 (datap);
#  117|->               data2 = _mm_shuffle_epi8 (data2, shuffle_constant);
#  118|                 data = _mm_xor_si128 (data, data2);
#  119|   

Error: COMPILER_WARNING: [#def386]
coreutils-9.7/single/../src/cksum_pclmul.c:122:23: note[note]: called from here
#  120|                 data3 = _mm_xor_si128 (data3, data4);
#  121|                 data4 = _mm_loadu_si128 (datap + 1);
#  122|->               data4 = _mm_shuffle_epi8 (data4, shuffle_constant);
#  123|                 data3 = _mm_xor_si128 (data3, data4);
#  124|   

Error: COMPILER_WARNING: [#def387]
coreutils-9.7/single/../src/cksum_pclmul.c:127:23: note[note]: called from here
#  125|                 data5 = _mm_xor_si128 (data5, data6);
#  126|                 data6 = _mm_loadu_si128 (datap + 2);
#  127|->               data6 = _mm_shuffle_epi8 (data6, shuffle_constant);
#  128|                 data5 = _mm_xor_si128 (data5, data6);
#  129|   

Error: COMPILER_WARNING: [#def388]
coreutils-9.7/single/../src/cksum_pclmul.c:132:23: note[note]: called from here
#  130|                 data7 = _mm_xor_si128 (data7, data8);
#  131|                 data8 = _mm_loadu_si128 (datap + 3);
#  132|->               data8 = _mm_shuffle_epi8 (data8, shuffle_constant);
#  133|                 data7 = _mm_xor_si128 (data7, data8);
#  134|   

Error: COMPILER_WARNING: [#def389]
coreutils-9.7/single/../src/cksum_pclmul.c:139:18: note[note]: called from here
#  137|             /* At end of loop we write out results from variables back into
#  138|                the buffer, for use in single fold loop */
#  139|->           data = _mm_shuffle_epi8 (data, shuffle_constant);
#  140|             _mm_storeu_si128 (datap, data);
#  141|             data3 = _mm_shuffle_epi8 (data3, shuffle_constant);

Error: COMPILER_WARNING: [#def390]
coreutils-9.7/single/../src/cksum_pclmul.c:141:19: note[note]: called from here
#  139|             data = _mm_shuffle_epi8 (data, shuffle_constant);
#  140|             _mm_storeu_si128 (datap, data);
#  141|->           data3 = _mm_shuffle_epi8 (data3, shuffle_constant);
#  142|             _mm_storeu_si128 (datap + 1, data3);
#  143|             data5 = _mm_shuffle_epi8 (data5, shuffle_constant);

Error: COMPILER_WARNING: [#def391]
coreutils-9.7/single/../src/cksum_pclmul.c:143:19: note[note]: called from here
#  141|             data3 = _mm_shuffle_epi8 (data3, shuffle_constant);
#  142|             _mm_storeu_si128 (datap + 1, data3);
#  143|->           data5 = _mm_shuffle_epi8 (data5, shuffle_constant);
#  144|             _mm_storeu_si128 (datap + 2, data5);
#  145|             data7 = _mm_shuffle_epi8 (data7, shuffle_constant);

Error: COMPILER_WARNING: [#def392]
coreutils-9.7/single/../src/cksum_pclmul.c:145:19: note[note]: called from here
#  143|             data5 = _mm_shuffle_epi8 (data5, shuffle_constant);
#  144|             _mm_storeu_si128 (datap + 2, data5);
#  145|->           data7 = _mm_shuffle_epi8 (data7, shuffle_constant);
#  146|             _mm_storeu_si128 (datap + 3, data7);
#  147|           }

Error: COMPILER_WARNING: [#def393]
coreutils-9.7/single/../src/cksum_pclmul.c:153:18: note[note]: called from here
#  151|           {
#  152|             data = _mm_loadu_si128 (datap);
#  153|->           data = _mm_shuffle_epi8 (data, shuffle_constant);
#  154|             xor_crc = _mm_set_epi32 (crc, 0, 0, 0);
#  155|             crc = 0;

Error: COMPILER_WARNING: [#def394]
coreutils-9.7/single/../src/cksum_pclmul.c:161:23: note[note]: called from here
#  159|                 datap++;
#  160|   
#  161|->               data2 = _mm_clmulepi64_si128 (data, single_mult_constant, 0x00);
#  162|                 data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11);
#  163|                 fold_data = _mm_loadu_si128 (datap);

Error: COMPILER_WARNING: [#def395]
coreutils-9.7/single/../src/cksum_pclmul.c:162:22: note[note]: called from here
#  160|   
#  161|                 data2 = _mm_clmulepi64_si128 (data, single_mult_constant, 0x00);
#  162|->               data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11);
#  163|                 fold_data = _mm_loadu_si128 (datap);
#  164|                 fold_data = _mm_shuffle_epi8 (fold_data, shuffle_constant);

Error: COMPILER_WARNING: [#def396]
coreutils-9.7/single/../src/cksum_pclmul.c:164:27: note[note]: called from here
#  162|                 data = _mm_clmulepi64_si128 (data, single_mult_constant, 0x11);
#  163|                 fold_data = _mm_loadu_si128 (datap);
#  164|->               fold_data = _mm_shuffle_epi8 (fold_data, shuffle_constant);
#  165|                 data = _mm_xor_si128 (data, data2);
#  166|                 data = _mm_xor_si128 (data, fold_data);

Error: COMPILER_WARNING: [#def397]
coreutils-9.7/single/../src/cksum_pclmul.c:169:18: note[note]: called from here
#  167|                 bytes_read -= 16;
#  168|               }
#  169|->           data = _mm_shuffle_epi8 (data, shuffle_constant);
#  170|             _mm_storeu_si128 (datap, data);
#  171|           }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
coreutils-9.7/single/../src/cp-hash.c:126:6: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
#  124|   
#  125|     ent_from_table = hash_insert (src_to_dest, ent);
#  126|->   if (ent_from_table == nullptr)
#  127|       {
#  128|         /* Insertion failed due to lack of memory.  */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
coreutils-9.7/single/../src/cp-hash.c:135:6: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/single/../src/cp-hash.c:126:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/cp-hash.c:135:6: branch_false: ...to here
coreutils-9.7/single/../src/cp-hash.c:135:6: danger: 'xmalloc(24)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  133|        with a matching key.  If so, free ENT (it wasn't inserted) and
#  134|        return the 'name' from the table entry.  */
#  135|->   if (ent_from_table != ent)
#  136|       {
#  137|         src_to_dest_free (ent);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
coreutils-9.7/single/../src/cp.c:922:13: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/cp.c:918:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
coreutils-9.7/single/../src/cp.c:919:10: branch_true: ...to here
coreutils-9.7/single/../src/cp.c:969:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
 branch_true: ...to here
coreutils-9.7/single/../src/cp.c:918:10: branch_false: following 'false' branch (when 'comma' is NULL)...
coreutils-9.7/single/../src/cp.c:922:13: branch_false: ...to here
coreutils-9.7/single/../src/cp.c:922:13: branch_true: following 'true' branch (when 'on_off != 0')...
coreutils-9.7/single/../src/cp.c:922:13: branch_true: ...to here
coreutils-9.7/single/../src/cp.c:922:13: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  920|   
#  921|         /* process S.  */
#  922|->       val = XARGMATCH (on_off ? "--preserve" : "--no-preserve",
#  923|                          s, preserve_args, preserve_vals);
#  924|         switch (val)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
coreutils-9.7/single/../src/csplit.c:417:10: warning[-Wanalyzer-malloc-leak]: leak of 'get_new_buffer(bytes_wanted)'
coreutils-9.7/single/../src/csplit.c:1288:1: enter_function: entry to 'single_binary_main_csplit'
coreutils-9.7/single/../src/csplit.c:1350:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/csplit.c:1359:22: branch_false: ...to here
coreutils-9.7/single/../src/csplit.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/csplit.c:1367:20: branch_false: ...to here
coreutils-9.7/single/../src/csplit.c:1400:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/single/../src/csplit.c:1402:20: branch_true: ...to here
coreutils-9.7/single/../src/csplit.c:1411:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/single/../src/csplit.c:1412:41: branch_true: ...to here
coreutils-9.7/single/../src/csplit.c:1411:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/single/../src/csplit.c:1412:41: branch_true: ...to here
coreutils-9.7/single/../src/csplit.c:1416:3: call_function: calling 'split_file' from 'single_binary_main_csplit'
#  415|     new_buffer->next = nullptr;
#  416|   
#  417|->   return new_buffer;
#  418|   }
#  419|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
coreutils-9.7/single/../src/csplit.c:1369:24: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(__real__ <unknown>)'
coreutils-9.7/single/../src/csplit.c:1350:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/csplit.c:1359:22: branch_false: ...to here
coreutils-9.7/single/../src/csplit.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/csplit.c:1367:20: branch_false: ...to here
coreutils-9.7/single/../src/csplit.c:1369:24: danger: 'ximalloc(__real__ <unknown>)' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
# 1367|     filename_space = ximalloc (filename_size);
# 1368|   
# 1369|->   set_input_file (argv[optind++]);
# 1370|   
# 1371|     parse_patterns (argc, optind, argv);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
coreutils-9.7/single/../src/date.c:316:32: warning[-Wanalyzer-malloc-leak]: leak of 'adjust_resolution(format)'
coreutils-9.7/single/../src/date.c:397:1: enter_function: entry to 'single_binary_main_date'
coreutils-9.7/single/../src/date.c:510:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.7/single/../src/date.c:517:16: branch_false: ...to here
coreutils-9.7/single/../src/date.c:517:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/date.c:524:6: branch_false: ...to here
coreutils-9.7/single/../src/date.c:524:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.7/single/../src/date.c:527:6: branch_false: ...to here
coreutils-9.7/single/../src/date.c:527:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.7/single/../src/date.c:530:7: branch_false: ...to here
coreutils-9.7/single/../src/date.c:555:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.7/single/../src/date.c:557:10: branch_true: ...to here
coreutils-9.7/single/../src/date.c:575:23: call_function: calling 'adjust_resolution' from 'single_binary_main_date'
coreutils-9.7/single/../src/date.c:575:23: return_function: returning to 'single_binary_main_date' from 'adjust_resolution'
coreutils-9.7/single/../src/date.c:316:32: danger: 'adjust_resolution(format)' leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
#  314|     char *copy = nullptr;
#  315|   
#  316|->   for (char const *f = format; *f; f++)
#  317|       if (f[0] == '%')
#  318|         {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
coreutils-9.7/single/../src/df.c:452:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/df.c:1592:1: enter_function: entry to 'single_binary_main_df'
coreutils-9.7/single/../src/df.c:1625:10: branch_false: following 'false' branch (when 'c != -1')...
coreutils-9.7/single/../src/df.c:1628:7: branch_false: ...to here
coreutils-9.7/single/../src/df.c:1708:14: branch_false: following 'false' branch...
coreutils-9.7/single/../src/df.c:1713:14: branch_false: ...to here
coreutils-9.7/single/../src/df.c:1713:14: branch_false: following 'false' branch (when 'posix_format == 0')...
coreutils-9.7/single/../src/df.c:1718:15: branch_false: ...to here
coreutils-9.7/single/../src/df.c:1718:14: branch_false: following 'false' branch...
coreutils-9.7/single/../src/df.c:1723:11: branch_false: ...to here
coreutils-9.7/single/../src/df.c:1725:13: call_function: calling 'decode_output_arg' from 'single_binary_main_df'
#  450|         for (idx_t i = 0; i < ARRAY_CARDINALITY (field_data); i++)
#  451|           {
#  452|->           if (STREQ (field_data[i].arg, s))
#  453|               {
#  454|                 field = i;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
coreutils-9.7/single/../src/env.c:567:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:567:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  565|         if (signum == 0)
#  566|           error (0, 0, _("%s: invalid signal"), quote (opt_sig));
#  567|->       if (signum <= 0)
#  568|           usage (exit_failure);
#  569|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
coreutils-9.7/single/../src/env.c:570:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:567:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/env.c:570:25: branch_false: ...to here
coreutils-9.7/single/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:570:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  568|           usage (exit_failure);
#  569|   
#  570|->       signals[signum] = set_default ? DEFAULT : IGNORE;
#  571|   
#  572|         opt_sig = strtok (nullptr, ",");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
coreutils-9.7/single/../src/env.c:656:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/env.c:650:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:652:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:656:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
#  654|         if (signum == 0)
#  655|           error (0, 0, _("%s: invalid signal"), quote (opt_sig));
#  656|->       if (signum <= 0)
#  657|           usage (exit_failure);
#  658|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
coreutils-9.7/single/../src/env.c:661:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/env.c:650:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:652:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:656:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/env.c:659:11: branch_false: ...to here
coreutils-9.7/single/../src/env.c:661:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  659|         if (sigaddset (block ? &block_signals : &unblock_signals, signum) == -1)
#  660|           {
#  661|->           if (block)
#  662|               error (EXIT_CANCELED, errno,
#  663|                      _("failed to block signal %d"), signum);

Error: GCC_ANALYZER_WARNING (CWE-686): [#def409]
coreutils-9.7/single/../src/factor.c:571:10: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected '__mpz_struct (*)[1]' but received 'typeof (nullptr)' for variadic argument 3 of 'ap'
coreutils-9.7/single/../src/factor.c:1359:1: enter_function: entry to 'mp_prime_p'
coreutils-9.7/single/../src/factor.c:1372:3: call_function: calling 'mpz_va_init' from 'mp_prime_p'
coreutils-9.7/single/../src/factor.c:1372:3: return_function: returning to 'mp_prime_p' from 'mpz_va_init'
coreutils-9.7/single/../src/factor.c:1384:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/factor.c:1390:7: branch_true: ...to here
coreutils-9.7/single/../src/factor.c:1390:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/factor.c:1393:7: branch_true: ...to here
coreutils-9.7/single/../src/factor.c:1394:7: call_function: calling 'mp_factor' from 'mp_prime_p'
#  569|   
#  570|     mpz_t *mpz;
#  571|->   while ((mpz = va_arg (ap, mpz_t *)))
#  572|       mpz_single_init (*mpz);
#  573|   

Error: GCC_ANALYZER_WARNING (CWE-686): [#def410]
coreutils-9.7/single/../src/factor.c:571:10: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected '__mpz_struct (*)[1]' but received 'typeof (nullptr)' for variadic argument 5 of 'ap'
coreutils-9.7/single/../src/factor.c:1359:1: enter_function: entry to 'mp_prime_p'
coreutils-9.7/single/../src/factor.c:1372:3: call_function: calling 'mpz_va_init' from 'mp_prime_p' with 5 variadic arguments
#  569|   
#  570|     mpz_t *mpz;
#  571|->   while ((mpz = va_arg (ap, mpz_t *)))
#  572|       mpz_single_init (*mpz);
#  573|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
coreutils-9.7/single/../src/hostname.c:108:7: warning[-Wanalyzer-malloc-leak]: leak of 'xgethostname()'
coreutils-9.7/single/../src/hostname.c:89:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/hostname.c:95:6: branch_false: ...to here
coreutils-9.7/single/../src/hostname.c:95:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/hostname.c:105:18: branch_false: ...to here
coreutils-9.7/single/../src/hostname.c:105:18: acquire_memory: allocated here
coreutils-9.7/single/../src/hostname.c:106:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/hostname.c:108:7: branch_false: ...to here
coreutils-9.7/single/../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 == nullptr)
#  107|           error (EXIT_FAILURE, errno, _("cannot determine hostname"));
#  108|->       puts (hostname);
#  109|       }
#  110|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
coreutils-9.7/single/../src/libstdbuf.c:128:6: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
coreutils-9.7/single/../src/libstdbuf.c:98:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/libstdbuf.c:100:11: branch_false: ...to here
coreutils-9.7/single/../src/libstdbuf.c:100:11: branch_false: following 'false' branch...
coreutils-9.7/single/../src/libstdbuf.c:106:14: branch_false: ...to here
coreutils-9.7/single/../src/libstdbuf.c:107:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/libstdbuf.c:114:13: acquire_memory: allocated here
coreutils-9.7/single/../src/libstdbuf.c:115:10: branch_false: following 'false' branch (when 'buf' is non-NULL)...
 branch_false: ...to here
coreutils-9.7/single/../src/libstdbuf.c:128:6: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/single/../src/libstdbuf.c:128:6: danger: 'buf' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
#  126|       }
#  127|   
#  128|->   if (setvbuf (stream, buf, setvbuf_mode, size) != 0)
#  129|       {
#  130|         fprintf (stderr, _("could not set buffering of %s to mode %s\n"),

Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
coreutils-9.7/single/../src/ls.c:5334:45: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.7/single/../src/ls.c:5316:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/ls.c:5319:21: branch_true: ...to here
coreutils-9.7/single/../src/ls.c:5328:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ls.c:5329:14: branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5328:11: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ls.c:5331:19: branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5334:45: branch_true: following 'true' branch...
coreutils-9.7/single/../src/ls.c:5336:22: branch_true: ...to here
coreutils-9.7/single/../src/ls.c:5334:45: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5334:45: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
# 5332|   
# 5333|         /* Grow the triangle by parceling out the cells just allocated.  */
# 5334|->       for (idx_t i = old_column_info_alloc; i < column_info_alloc; i++)
# 5335|           {
# 5336|             column_info[i].col_arr = p;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
coreutils-9.7/single/../src/ls.c:5348:1: warning[-Wanalyzer-malloc-leak]: leak of 'p'
coreutils-9.7/single/../src/ls.c:5316:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/ls.c:5319:21: branch_true: ...to here
coreutils-9.7/single/../src/ls.c:5328:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ls.c:5329:14: branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5328:11: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ls.c:5331:19: branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5334:45: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5348:1: danger: 'p' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
# 5346|           column_info[i].col_arr[j] = MIN_COLUMN_WIDTH;
# 5347|       }
# 5348|-> }
# 5349|   
# 5350|   /* Calculate the number of columns needed to represent the current set

Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
coreutils-9.7/single/../src/nohup.c:164:18: warning[-Wanalyzer-malloc-leak]: leak of 'in_home'
coreutils-9.7/single/../src/nohup.c:111:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/nohup.c:117:20: branch_false: ...to here
coreutils-9.7/single/../src/nohup.c:119:22: branch_false: following 'false' branch...
 branch_false: ...to here
coreutils-9.7/single/../src/nohup.c:125:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/nohup.c:138:6: branch_false: ...to here
coreutils-9.7/single/../src/nohup.c:138:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/nohup.c:144:28: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:145:16: branch_true: following 'true' branch...
coreutils-9.7/single/../src/nohup.c:146:19: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:149:10: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.7/single/../src/nohup.c:151:29: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:153:14: branch_true: following 'true' branch (when 'home' is non-NULL)...
coreutils-9.7/single/../src/nohup.c:155:25: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:156:24: branch_true: following 'true' branch...
coreutils-9.7/single/../src/nohup.c:157:27: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:160:14: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.7/single/../src/nohup.c:162:19: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:164:18: danger: 'in_home' leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
#  162|                 int saved_errno2 = errno;
#  163|                 error (0, saved_errno, _("failed to open %s"), quoteaf (file));
#  164|->               if (in_home)
#  165|                   error (0, saved_errno2, _("failed to open %s"),
#  166|                          quoteaf (in_home));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
coreutils-9.7/single/../src/paste.c:180:20: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(nfiles + 2)'
coreutils-9.7/single/../src/paste.c:192:24: branch_true: following 'true' branch (when 'files_open < nfiles')...
coreutils-9.7/single/../src/paste.c:194:11: branch_true: ...to here
coreutils-9.7/single/../src/paste.c:194:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/single/../src/paste.c:201:18: branch_false: ...to here
coreutils-9.7/single/../src/paste.c:180:20: danger: 'xmalloc(nfiles + 2)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  178|     /* Streams open to the files to process; null if the corresponding
#  179|        stream is closed.  */
#  180|->   FILE **fileptr = xnmalloc (nfiles + 1, sizeof *fileptr);
#  181|   
#  182|     /* Number of files still open to process.  */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
coreutils-9.7/single/../src/paste.c:194:11: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc(nfiles + 1, 8)'
coreutils-9.7/single/../src/paste.c:192:24: branch_true: following 'true' branch (when 'files_open < nfiles')...
coreutils-9.7/single/../src/paste.c:194:11: branch_true: ...to here
coreutils-9.7/single/../src/paste.c:194:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/single/../src/paste.c:201:18: branch_false: ...to here
coreutils-9.7/single/../src/paste.c:194:11: danger: 'xnmalloc(nfiles + 1, 8)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
#  192|     for (files_open = 0; files_open < nfiles; ++files_open)
#  193|       {
#  194|->       if (STREQ (fnamptr[files_open], "-"))
#  195|           {
#  196|             have_read_stdin = true;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
coreutils-9.7/single/../src/pinky.c:312:1: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.7/single/../src/pinky.c:529:1: enter_function: entry to 'single_binary_main_pinky'
coreutils-9.7/single/../src/pinky.c:612:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/pinky.c:613:43: branch_true: ...to here
coreutils-9.7/single/../src/pinky.c:613:5: call_function: calling 'short_pinky' from 'single_binary_main_pinky'
#  310|   
#  311|     putchar ('\n');
#  312|-> }
#  313|   
#  314|   /* Display a verbose line of information about UTMP_ENT. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
coreutils-9.7/single/../src/printf.c:526:23: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(strlen(format) + 1)'
coreutils-9.7/single/../src/printf.c:690:1: enter_function: entry to 'single_binary_main_printf'
coreutils-9.7/single/../src/printf.c:724:6: branch_true: following 'true' branch (when 'argc > 1')...
coreutils-9.7/single/../src/printf.c:724:19: branch_true: ...to here
coreutils-9.7/single/../src/printf.c:730:6: branch_false: following 'false' branch (when 'argc != 1')...
coreutils-9.7/single/../src/printf.c:736:3: branch_false: ...to here
coreutils-9.7/single/../src/printf.c:742:19: call_function: calling 'print_formatted' from 'single_binary_main_printf'
#  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-688): [#def420]
coreutils-9.7/single/../src/ptx.c:716:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
coreutils-9.7/single/../src/ptx.c:1769:1: enter_function: entry to 'single_binary_main_ptx'
coreutils-9.7/single/../src/ptx.c:1967:3: call_function: calling 'initialize_regex' from 'single_binary_main_ptx'
coreutils-9.7/single/../src/ptx.c:1967:3: return_function: returning to 'single_binary_main_ptx' from 'initialize_regex'
coreutils-9.7/single/../src/ptx.c:1971:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ptx.c:1978:7: branch_false: ...to here
coreutils-9.7/single/../src/ptx.c:1978:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/ptx.c:1980:7: branch_true: ...to here
coreutils-9.7/single/../src/ptx.c:1980:7: call_function: calling 'digest_word_file' from 'single_binary_main_ptx'
#  714|     /* Finally, sort all the words read.  */
#  715|   
#  716|->   qsort (table->start, table->length, sizeof table->start[0], compare_words);
#  717|   }
#  718|   

Error: GCC_ANALYZER_WARNING (CWE-124): [#def421]
coreutils-9.7/single/../src/seq.c:529:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
coreutils-9.7/single/../src/seq.c:547:1: enter_function: entry to 'single_binary_main_seq'
coreutils-9.7/single/../src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.7/single/../src/seq.c:615:6: branch_false: ...to here
coreutils-9.7/single/../src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.7/single/../src/seq.c:621:6: branch_false: ...to here
coreutils-9.7/single/../src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.7/single/../src/seq.c:639:6: branch_false: ...to here
coreutils-9.7/single/../src/seq.c:645:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/seq.c:645:7: branch_true: ...to here
coreutils-9.7/single/../src/seq.c:645:7: branch_false: following 'false' branch...
coreutils-9.7/single/../src/seq.c:645:7: branch_false: ...to here
coreutils-9.7/single/../src/seq.c:645:7: branch_true: following 'true' branch...
coreutils-9.7/single/../src/seq.c:653:7: call_function: calling 'seq_fast' from 'single_binary_main_seq'
#  527|     if (remaining)
#  528|       {
#  529|->       bufp[-1] = *terminator;
#  530|         if (full_write (STDOUT_FILENO, buf, remaining) != remaining)
#  531|           write_error ();

Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
coreutils-9.7/single/../src/tee.c:256:3: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.7/single/../src/tee.c:226:1: enter_function: entry to 'tee_files'
coreutils-9.7/single/../src/tee.c:249:6: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/single/../src/tee.c:251:3: branch_false: ...to here
coreutils-9.7/single/../src/tee.c:253:6: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/single/../src/tee.c:255:24: branch_false: ...to here
coreutils-9.7/single/../src/tee.c:259:15: branch_true: following 'true' branch (when 'i <= nfiles')...
coreutils-9.7/single/../src/tee.c:262:37: branch_true: ...to here
coreutils-9.7/single/../src/tee.c:263:10: branch_true: following 'true' branch...
coreutils-9.7/single/../src/tee.c:265:14: branch_true: ...to here
coreutils-9.7/single/../src/tee.c:265:14: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/single/../src/tee.c:267:11: branch_false: ...to here
coreutils-9.7/single/../src/tee.c:267:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/tee.c:267:11: branch_true: ...to here
coreutils-9.7/single/../src/tee.c:267:11: call_function: inlined call to 'error' from 'tee_files'
coreutils-9.7/single/../src/tee.c:256:3: danger: 'xnmalloc((long unsigned int)(nfiles + 1), 8)' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
#  254|       out_pollable[0] = iopoll_output_ok (fileno (descriptors[0]));
#  255|     files[0] = bad_cast (_("standard output"));
#  256|->   setvbuf (stdout, nullptr, _IONBF, 0);
#  257|     n_outputs++;
#  258|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
coreutils-9.7/single/../src/tee.c:262:37: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.7/single/../src/tee.c:119:1: enter_function: entry to 'single_binary_main_tee'
coreutils-9.7/single/../src/tee.c:177:13: call_function: calling 'tee_files' from 'single_binary_main_tee'
#  260|       {
#  261|         /* Do not treat "-" specially - as mandated by POSIX.  */
#  262|->        descriptors[i] = fopen (files[i], mode_string);
#  263|         if (descriptors[i] == nullptr)
#  264|           {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
coreutils-9.7/single/../src/tsort.c:422:6: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/single/../src/tsort.c:531:1: enter_function: entry to 'single_binary_main_tsort'
coreutils-9.7/single/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/single/../src/tsort.c:551:3: call_function: calling 'tsort' from 'single_binary_main_tsort'
#  420|   walk_tree (struct item *root, bool (*action) (struct item *))
#  421|   {
#  422|->   if (root->right)
#  423|       recurse_tree (root->right, action);
#  424|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
coreutils-9.7/single/../src/tsort.c:440:22: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/single/../src/tsort.c:531:1: enter_function: entry to 'single_binary_main_tsort'
coreutils-9.7/single/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/single/../src/tsort.c:551:3: call_function: calling 'tsort' from 'single_binary_main_tsort'
#  438|     struct item *root = new_item (nullptr);
#  439|   
#  440|->   if (!is_stdin && ! freopen (file, "r", stdin))
#  441|       error (EXIT_FAILURE, errno, "%s", quotef (file));
#  442|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
coreutils-9.7/single/../src/tsort.c:443:3: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/single/../src/tsort.c:531:1: enter_function: entry to 'single_binary_main_tsort'
coreutils-9.7/single/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/single/../src/tsort.c:551:3: call_function: calling 'tsort' from 'single_binary_main_tsort'
#  441|       error (EXIT_FAILURE, errno, "%s", quotef (file));
#  442|   
#  443|->   fadvise (stdin, FADVISE_SEQUENTIAL);
#  444|   
#  445|     init_tokenbuffer (&tokenbuffer);

Error: COMPILER_WARNING: [#def427]
coreutils-9.7/single/../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: [#def428]
coreutils-9.7/single/../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: [#def429]
coreutils-9.7/single/../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: [#def430]
coreutils-9.7/single/../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: [#def431]
coreutils-9.7/single/../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: GCC_ANALYZER_WARNING (CWE-401): [#def432]
coreutils-9.7/single/../src/who.c:426:1: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.7/single/../src/who.c:679:1: enter_function: entry to 'single_binary_main_who'
coreutils-9.7/single/../src/who.c:814:7: call_function: calling 'who' from 'single_binary_main_who'
#  424|                 time_string (utmp_ent), idlestr, pidstr,
#  425|                 hoststr ? hoststr : "", "");
#  426|-> }
#  427|   
#  428|   static void

Error: GCC_ANALYZER_WARNING (CWE-457): [#def433]
coreutils-9.7/single/parse-datetime.c:1831:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
coreutils-9.7/single/parse-datetime.y:2404:1: enter_function: entry to 'parse_datetime'
coreutils-9.7/single/parse-datetime.y:2409:6: branch_false: following 'false' branch...
coreutils-9.7/single/parse-datetime.y:2411:13: branch_false: ...to here
coreutils-9.7/single/parse-datetime.y:2411:13: call_function: calling 'parse_datetime_body' from 'parse_datetime'
# 1829|        unconditionally makes the parser a bit smaller, and it avoids a
# 1830|        GCC warning that YYVAL may be used uninitialized.  */
# 1831|->   yyval = yyvsp[1-yylen];
# 1832|   
# 1833|   

Error: CPPCHECK_WARNING (CWE-404): [#def434]
coreutils-9.7/src/cut.c:831: error[resourceLeak]: Resource leak: stream
#  829|           {
#  830|             error (0, errno, "%s", quotef (file));
#  831|->           return false;
#  832|           }
#  833|       }

Error: CPPCHECK_WARNING (CWE-457): [#def435]
coreutils-9.7/src/digest.c:1152: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned
# 1150|     unsigned char bin_buffer_unaligned[DIGEST_BIN_BYTES + DIGEST_ALIGN];
# 1151|     /* Make sure bin_buffer is properly aligned. */
# 1152|->   unsigned char *bin_buffer = ptr_align (bin_buffer_unaligned, DIGEST_ALIGN);
# 1153|     uintmax_t line_number;
# 1154|     char *line;

Error: CPPCHECK_WARNING (CWE-457): [#def436]
coreutils-9.7/src/digest.c:1352: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned
# 1350|     unsigned char bin_buffer_unaligned[DIGEST_BIN_BYTES + DIGEST_ALIGN];
# 1351|     /* Make sure bin_buffer is properly aligned. */
# 1352|->   unsigned char *bin_buffer = ptr_align (bin_buffer_unaligned, DIGEST_ALIGN);
# 1353|     bool do_check = false;
# 1354|     int opt;

Error: CPPCHECK_WARNING (CWE-404): [#def437]
coreutils-9.7/src/nl.c:451: error[resourceLeak]: Resource leak: stream
#  449|           {
#  450|             error (0, errno, "%s", quotef (file));
#  451|->           return false;
#  452|           }
#  453|       }

Error: CPPCHECK_WARNING (CWE-415): [#def438]
coreutils-9.7/src/numfmt.c:862: error[doubleFree]: Memory pointed to by 't_string' is freed twice.
#  860|       }
#  861|   
#  862|->   free (t_string);
#  863|   
#  864|     return n;

Error: CPPCHECK_WARNING (CWE-457): [#def439]
coreutils-9.7/src/sort.c:1162: warning[uninitvar]: Uninitialized variable: pid
# 1160|       }
# 1161|   
# 1162|->   if (pid < 0)
# 1163|       {
# 1164|         saved_errno = errno;

Error: CPPCHECK_WARNING (CWE-457): [#def440]
coreutils-9.7/src/sort.c:4787: warning[uninitvar]: Uninitialized variable: buf.buf
# 4785|   
# 4786|    finish:
# 4787|->   free (buf.buf);
# 4788|   
# 4789|     if (! output_file_created)

Error: CPPCHECK_WARNING (CWE-758): [#def441]
coreutils-9.7/src/tail.c:2424: warning[objectIndex]: The address of variable 'dummy_stdin' might be accessed at non-zero index.
# 2422|   
# 2423|       for (i = 0; i < n_files; i++)
# 2424|->       if (STREQ (file[i], "-"))
# 2425|           found_hyphen = true;
# 2426|   

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-141.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namecoreutils-9.7-1.fc43
store-results-to/tmp/tmpggioyhay/coreutils-9.7-1.fc43.tar.xz
time-created2025-04-25 12:16:32
time-finished2025-04-25 12:22:51
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpggioyhay/coreutils-9.7-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpggioyhay/coreutils-9.7-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9