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/INTEL_CANNONLAKE_RVPU/config.build obj=/cb-build/coreboot_scanbuild.0/INTEL_CANNONLAKE_RVPU 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:Thu Sep 19 12:08:47 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs29
Dead store
Dead assignment3
Dead increment3
Dead initialization2
Logic error
Branch condition evaluates to a garbage value3
Dereference of null pointer2
Result of operation is garbage or undefined11
Uninitialized argument value4
Unix API1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorBranch condition evaluates to a garbage valuesoc/intel/common/block/cse/cse.csend_hmrfpo_get_status_msg72331View Report
Logic errorBranch condition evaluates to a garbage valuesoc/intel/common/block/cse/cse.csend_hmrfpo_get_status_msg72331View Report
Logic errorBranch condition evaluates to a garbage valuesoc/intel/common/block/cse/cse.csend_hmrfpo_get_status_msg72331View Report
Dead storeDead assignmentsoc/intel/cannonlake/cpu.cset_power_limits2231View Report
Dead storeDead assignmentsoc/intel/common/block/smbus/smbus.csmbus_read_resources771View Report
Dead storeDead assignmentdevice/dram/ddr4.cspd_decode_ddr41221View Report
Dead storeDead incrementdrivers/intel/fsp2_0/hand_off_block.cdisplay_fsp_version_info_hob2311View Report
Dead storeDead incrementdrivers/intel/fsp2_0/hand_off_block.cdisplay_fsp_version_info_hob2311View Report
Dead storeDead incrementdrivers/intel/fsp2_0/hand_off_block.cdisplay_fsp_version_info_hob2311View Report
Dead storeDead initializationmainboard/intel/cannonlake_rvp/spd/spd_util.cmainboard_fill_dqs_map_ch1581View Report
Dead storeDead initializationmainboard/intel/cannonlake_rvp/spd/spd_util.cmainboard_fill_dqs_map_ch0451View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6948View Report
Logic errorDereference of null pointerdevice/oprom/realmode/x86.csetup_realmode_idt1894View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region24812View Report
Logic errorResult of operation is garbage or undefinedcpu/x86/name/name.cfill_processor_name387View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region24812View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region24812View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/common/block/lpc/lpc_lib.clpc_open_pmio_window8713View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/common/block/lpc/lpc_lib.clpc_open_pmio_window8713View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region24812View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr247726View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/common/block/lpc/lpc_lib.clpc_open_pmio_window8713View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region24812View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/cannonlake/bootblock/report_platform.creport_cpu_info1919View Report
Logic errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs35818View Report
Logic errorUninitialized argument valuesoc/intel/common/block/cse/cse.csend_one_message35520View Report
Logic errorUninitialized argument valuesoc/intel/common/block/cse/cse.csend_one_message35520View Report
Logic errorUninitialized argument valuesoc/intel/common/block/cse/cse.csend_one_message35520View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory15315View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_0hgvhN.iclang_other_error_0hgvhN.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_1IeFID.iclang_other_error_1IeFID.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_1iK0SB.iclang_other_error_1iK0SB.i.stderr.txt
Other Errormainboard/intel/cannonlake_rvp/variants/baseboard/nhlt.cclang_other_error_2yFTkf.iclang_other_error_2yFTkf.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_6SZ67o.iclang_other_error_6SZ67o.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_7Ccf_l.iclang_other_error_7Ccf_l.i.stderr.txt
Other Errorsoc/intel/cannonlake/romstage/fsp_params.cclang_other_error_JbcKUd.iclang_other_error_JbcKUd.i.stderr.txt
Other Errormainboard/intel/cannonlake_rvp/variants/baseboard/gpio.cclang_other_error_KUgiRF.iclang_other_error_KUgiRF.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_Lks5mF.iclang_other_error_Lks5mF.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_NnIIHV.iclang_other_error_NnIIHV.i.stderr.txt
Other Errormainboard/intel/cannonlake_rvp/mainboard.cclang_other_error_ZkmJt3.iclang_other_error_ZkmJt3.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_aTQ8BB.iclang_other_error_aTQ8BB.i.stderr.txt
Other Errorsoc/intel/common/block/xdci/xdci.cclang_other_error_fDAfU4.iclang_other_error_fDAfU4.i.stderr.txt
Other Errordrivers/intel/fsp2_0/memory_init.cclang_other_error_ki8Obk.iclang_other_error_ki8Obk.i.stderr.txt
Other Errormainboard/intel/cannonlake_rvp/variants/baseboard/gpio.cclang_other_error_knhGtX.iclang_other_error_knhGtX.i.stderr.txt
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_m1nw_b.iclang_other_error_m1nw_b.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_teixp2.iclang_other_error_teixp2.i.stderr.txt
Other Errorlib/coreboot_table.cclang_other_error_uRSZG_.iclang_other_error_uRSZG_.i.stderr.txt
Other Errormainboard/intel/cannonlake_rvp/bootblock.cclang_other_error_waMlPL.iclang_other_error_waMlPL.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_zHZDzr.iclang_other_error_zHZDzr.i.stderr.txt

Please consider submitting preprocessed files as bug reports.