Task #256 - annobin-12.60-1.fc41/scan-results.err

back to task #256
download
Error: CPPCHECK_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/annocheck.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/annocheck.c:827:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'canon_dir'
#  825|     if (debug_dir)
#  826|       {
#  827|->       TRY_DEBUG ("%s/%s", debug_dir, link);
#  828|   
#  829|         /* Then try the usual sub-directories of that directory.  */

Error: CLANG_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/annocheck.c:855:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'canon_dir'
#  853|     
#  854|     /* Next try in the current directory.  */
#  855|->   TRY_DEBUG ("./%s", link);
#  856|   
#  857|     /* Then try in a subdirectory called .debug.  */

Error: GCC_ANALYZER_WARNING (CWE-476):
annobin-12.60-build/annobin-12.60/annocheck/annocheck.h:21: included_from: Included from here.
annobin-12.60-build/annobin-12.60/annocheck/annocheck.c:16: included_from: Included from here.
annobin-12.60-build/annobin-12.60/annocheck/annocheck.c: scope_hint: In function ‘process_command_line’
annobin-12.60-build/annobin-12.60/annocheck/annocheck.c:2552:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tmpdir’
# 2550|   
# 2551|   		  tmpdir = strdup (parameter);
# 2552|-> 		  assert (tmpdir[0] == '/');
# 2553|   		}
# 2554|   	      else

Error: CPPCHECK_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/built-by.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/built-by.c: scope_hint: In function ‘parse_dw_at_language’
annobin-12.60-build/annobin-12.60/annocheck/built-by.c:419:76: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Dwarf_Word’ {aka ‘long unsigned int’}
#  419 |       einfo (WARN, "%s: unrecognised value for DW_AT_language attribute: %#x", data->filename, val);
#      |                                                                          ~~^                   ~~~
#      |                                                                            |                   |
#      |                                                                            unsigned int        Dwarf_Word {aka long unsigned int}
#      |                                                                          %#lx
#  417|   
#  418|       default:
#  419|->       einfo (WARN, "%s: unrecognised value for DW_AT_language attribute: %#x", data->filename, val);
#  420|         break;
#  421|       }

Error: CPPCHECK_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/hardened.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/libiberty/cp-demangle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-562):
annobin-12.60-build/annobin-12.60/annocheck/libiberty/cp-demangle.c:5133: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5131|   
# 5132|   	    adpm[i].next = dpi->modifiers;
# 5133|-> 	    dpi->modifiers = &adpm[i];
# 5134|   	    adpm[i].mod = typed_name;
# 5135|   	    adpm[i].printed = 0;

Error: CPPCHECK_WARNING (CWE-562):
annobin-12.60-build/annobin-12.60/annocheck/libiberty/cp-demangle.c:5171: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5169|   		adpm[i] = adpm[i - 1];
# 5170|   		adpm[i].next = &adpm[i - 1];
# 5171|-> 		dpi->modifiers = &adpm[i];
# 5172|   
# 5173|   		adpm[i - 1].mod = typed_name;

Error: CPPCHECK_WARNING (CWE-562):
annobin-12.60-build/annobin-12.60/annocheck/libiberty/cp-demangle.c:5192: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5190|   	  {
# 5191|   	    dpt.next = dpi->templates;
# 5192|-> 	    dpi->templates = &dpt;
# 5193|   	    dpt.template_decl = typed_name;
# 5194|   	  }

Error: CLANG_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/libiberty/cp-demangle.c:5199:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 5197|   
# 5198|   	if (typed_name->type == DEMANGLE_COMPONENT_TEMPLATE)
# 5199|-> 	  dpi->templates = dpt.next;
# 5200|   
# 5201|   	/* If the modifiers didn't get printed by the type, print them

Error: CPPCHECK_WARNING (CWE-562):
annobin-12.60-build/annobin-12.60/annocheck/libiberty/cp-demangle.c:5651: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 5649|   
# 5650|   	adpm[0].next = hold_modifiers;
# 5651|-> 	dpi->modifiers = &adpm[0];
# 5652|   	adpm[0].mod = dc;
# 5653|   	adpm[0].printed = 0;

Error: CPPCHECK_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/libiberty/d-demangle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/libiberty/rust-demangle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/notes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
annobin-12.60-build/annobin-12.60/annocheck/size.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.