shaderc-2024.0-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/dependency_info.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/file.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/file_compiler.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/file_includer.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-401): [#def5]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/file_includer.cc:49: error[memleak]: Memory leak: new_file_info
#   47|     FileInfo* new_file_info = new FileInfo{full_path, {}};
#   48|     if (!shaderc_util::ReadFile(full_path, &(new_file_info->contents))) {
#   49|->     return MakeErrorIncludeResult("Cannot read file");
#   50|     }
#   51|   

Error: CPPCHECK_WARNING (CWE-401): [#def6]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/file_includer.cc:54: error[memleak]: Memory leak: new_file_info
#   52|     included_files_.insert(full_path);
#   53|   
#   54|->   return new shaderc_include_result{
#   55|         new_file_info->full_path.data(), new_file_info->full_path.length(),
#   56|         new_file_info->contents.data(), new_file_info->contents.size(),

Error: CPPCHECK_WARNING: [#def7]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/main.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def8]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/main.cc:461:9: warning[deadcode.DeadStores]: Value stored to 'target_env' is never read
#  459|           version = shaderc_env_version_opengl_4_5;
#  460|         } else if (target_env_str == "opengl_compat") {
#  461|->         target_env = shaderc_target_env_opengl_compat;
#  462|           std::cerr << "glslc: error: opengl_compat is no longer supported"
#  463|                     << std::endl;

Error: CPPCHECK_WARNING: [#def9]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/resource_parse.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def10]
shaderc-2024.0-build/shaderc-2024.0/glslc/src/shader_stage.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
shaderc-2024.0-build/shaderc-2024.0/libshaderc/src/shaderc.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def12]
shaderc-2024.0-build/shaderc-2024.0/libshaderc_util/src/args.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def13]
shaderc-2024.0-build/shaderc-2024.0/libshaderc_util/src/compiler.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
shaderc-2024.0-build/shaderc-2024.0/libshaderc_util/src/file_finder.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def15]
shaderc-2024.0-build/shaderc-2024.0/libshaderc_util/src/io_shaderc.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def16]
shaderc-2024.0-build/shaderc-2024.0/libshaderc_util/src/message.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def17]
shaderc-2024.0-build/shaderc-2024.0/libshaderc_util/src/shader_stage.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def18]
shaderc-2024.0-build/shaderc-2024.0/libshaderc_util/src/spirv_tools_wrapper.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-67.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameshaderc-2024.0-1.fc41
store-results-to/tmp/tmpzp823rf7/shaderc-2024.0-1.fc41.tar.xz
time-created2024-07-03 18:09:36
time-finished2024-07-03 18:10:39
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpzp823rf7/shaderc-2024.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpzp823rf7/shaderc-2024.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9