coreboot_scanbuild - scan-build results

User:coreboot@5ed558fa954b
Working Directory:/home/coreboot/slave-root/workspace/coreboot_scanbuild
Command Line:make V=0 DOTCONFIG=/cb-build/coreboot_scanbuild.0/OCP_MONOLAKE/config.build obj=/cb-build/coreboot_scanbuild.0/OCP_MONOLAKE objutil=/cb-build/coreboot_scanbuild.0/sharedutils BUILD_TIMELESS=1
Clang Version:coreboot toolchain vd70f5fae1c 2019-05-26 - clang version 8.0.0 (tags/RELEASE_800/final) (based on LLVM 8.0.0)
Date:Mon Sep 16 12:43:48 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs17
Dead store
Dead assignment2
Dead initialization1
Logic error
Branch condition evaluates to a garbage value2
Dereference of null pointer2
Result of operation is garbage or undefined8
Uninitialized argument value1
Unix API1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorBranch condition evaluates to a garbage valuesoc/intel/fsp_broadwell_de/pmutil.cprint_status_bits419View Report
Logic errorBranch condition evaluates to a garbage valuesoc/intel/fsp_broadwell_de/pmutil.cprint_status_bits419View Report
Dead storeDead assignmentsoc/intel/fsp_broadwell_de/northcluster.cmc_add_dram_resources1201View Report
Dead storeDead assignmentdevice/dram/ddr4.cspd_decode_ddr41241View Report
Dead storeDead initializationmainboard/ocp/monolake/romstage.cromstage_fsp_rt_buffer_callback821View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links7018View Report
Logic errorDereference of null pointerdevice/oprom/realmode/x86.csetup_realmode_idt1924View Report
Logic errorResult of operation is garbage or undefinedcpu/x86/name/name.cfill_processor_name387View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cich_hwseq_write8948View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cspi_setup_opcode44220View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cich_hwseq_write8948View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cspi_setup_opcode44220View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr248026View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cich_hwseq_write8948View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cspi_setup_opcode44220View Report
Logic errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs35818View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory15314View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorsouthbridge/intel/common/pmbase.cclang_other_error_7M3VRR.iclang_other_error_7M3VRR.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_CxGYvT.iclang_other_error_CxGYvT.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_Ont1bs.iclang_other_error_Ont1bs.i.stderr.txt
Other Errorsouthbridge/intel/common/pmbase.cclang_other_error_TZb7d6.iclang_other_error_TZb7d6.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_fGLOZd.iclang_other_error_fGLOZd.i.stderr.txt
Other Errorsouthbridge/intel/common/pmbase.cclang_other_error_obnbUb.iclang_other_error_obnbUb.i.stderr.txt
Other Errorlib/coreboot_table.cclang_other_error_sh8McN.iclang_other_error_sh8McN.i.stderr.txt
Other Errorarch/x86/bootblock_simple.cclang_other_error_tApSpk.iclang_other_error_tApSpk.i.stderr.txt

Please consider submitting preprocessed files as bug reports.