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/GOOGLE_FIZZ/config.build obj=/cb-build/coreboot_scanbuild.0/GOOGLE_FIZZ 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:Sun Sep 22 11:25:18 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs60
Dead store
Dead assignment3
Logic error
Assigned value is garbage or undefined8
Branch condition evaluates to a garbage value3
Dereference of null pointer2
Result of operation is garbage or undefined39
Uninitialized argument value4
Unix API1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init48918View Report
Logic errorAssigned value is garbage or undefinedec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v323914View Report
Logic errorAssigned value is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init48918View Report
Logic errorAssigned value is garbage or undefinedec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v323914View Report
Logic errorAssigned value is garbage or undefinedec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v323914View Report
Logic errorAssigned value is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init48918View Report
Logic errorAssigned value is garbage or undefinedec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v323914View Report
Logic errorAssigned value is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init48920View 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
Logic errorBranch condition evaluates to a garbage valuesoc/intel/common/block/cse/cse.csend_hmrfpo_get_status_msg72331View Report
Dead storeDead assignmentsoc/intel/common/block/smbus/smbus.csmbus_read_resources771View Report
Dead storeDead assignmentsoc/intel/skylake/cpu.cset_power_limits2341View Report
Dead storeDead assignmentdevice/dram/ddr4.cspd_decode_ddr41221View 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 undefineddrivers/spi/tpm/tpm.ctpm2_process_command72126View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_process_command70617View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.cwait_for_status55416View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init47619View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init4489View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_read_access_reg3578View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.cget_burst_count34916View 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 undefineddrivers/spi/tpm/tpm.ctpm2_process_command72126View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_process_command70617View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.cwait_for_status55416View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init47619View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init4489View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_read_access_reg3578View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.cget_burst_count34916View 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 undefineddrivers/spi/tpm/tpm.ctpm2_process_command72126View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_process_command70617View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.cwait_for_status55416View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init47619View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init4489View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_read_access_reg3578View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.cget_burst_count34916View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr247726View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/skylake/bootblock/report_platform.creport_cpu_info1729View 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 undefineddrivers/spi/tpm/tpm.ctpm2_process_command72126View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_process_command70617View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.cwait_for_status55416View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init47621View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_init4489View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.ctpm2_read_access_reg35718View Report
Logic errorResult of operation is garbage or undefineddrivers/spi/tpm/tpm.cget_burst_count34916View 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_1_j4Ug.iclang_other_error_1_j4Ug.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_1xF3Jm.iclang_other_error_1xF3Jm.i.stderr.txt
Other Errormainboard/google/fizz/variants/baseboard/gpio.cclang_other_error_BHS2lS.iclang_other_error_BHS2lS.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_E9UjNX.iclang_other_error_E9UjNX.i.stderr.txt
Other Errormainboard/google/fizz/smihandler.cclang_other_error_EVhRLQ.iclang_other_error_EVhRLQ.i.stderr.txt
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_JVJuGR.iclang_other_error_JVJuGR.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_JrsxuO.iclang_other_error_JrsxuO.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_Jy9wKV.iclang_other_error_Jy9wKV.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_KM1GJj.iclang_other_error_KM1GJj.i.stderr.txt
Other Errormainboard/google/fizz/mainboard.cclang_other_error_MD6Keq.iclang_other_error_MD6Keq.i.stderr.txt
Other Errorsoc/intel/common/block/xdci/xdci.cclang_other_error_Ps79HF.iclang_other_error_Ps79HF.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_QA_RVa.iclang_other_error_QA_RVa.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_TlXZfD.iclang_other_error_TlXZfD.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_VAMWgb.iclang_other_error_VAMWgb.i.stderr.txt
Other Errormainboard/google/fizz/bootblock.cclang_other_error_VVf4ID.iclang_other_error_VVf4ID.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error__8BbKf.iclang_other_error__8BbKf.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_aWSndV.iclang_other_error_aWSndV.i.stderr.txt
Other Errormainboard/google/fizz/variants/baseboard/nhlt.cclang_other_error_bUXcTg.iclang_other_error_bUXcTg.i.stderr.txt
Other Errormainboard/google/fizz/variants/baseboard/gpio.cclang_other_error_bfqvTv.iclang_other_error_bfqvTv.i.stderr.txt
Other Errorsoc/intel/skylake/romstage/romstage_fsp20.cclang_other_error_f_gM1Y.iclang_other_error_f_gM1Y.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_gSfdiH.iclang_other_error_gSfdiH.i.stderr.txt
Other Errordrivers/intel/fsp2_0/memory_init.cclang_other_error_gxFqvg.iclang_other_error_gxFqvg.i.stderr.txt
Other Errorlib/coreboot_table.cclang_other_error_iliL3c.iclang_other_error_iliL3c.i.stderr.txt
Other Errormainboard/google/fizz/ramstage.cclang_other_error_mijhgI.iclang_other_error_mijhgI.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_n2tzjo.iclang_other_error_n2tzjo.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_saNSZC.iclang_other_error_saNSZC.i.stderr.txt

Please consider submitting preprocessed files as bug reports.