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_KARMA/config.build obj=/cb-build/coreboot_scanbuild.0/GOOGLE_KARMA 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 11:27:16 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 Errorec/google/chromeec/ec.cclang_other_error_1rI_Dj.iclang_other_error_1rI_Dj.i.stderr.txt
Other Errorlib/coreboot_table.cclang_other_error_3YJNeb.iclang_other_error_3YJNeb.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_3fATN_.iclang_other_error_3fATN_.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_3mSLZN.iclang_other_error_3mSLZN.i.stderr.txt
Other Errormainboard/google/fizz/variants/baseboard/gpio.cclang_other_error_5VpSQ0.iclang_other_error_5VpSQ0.i.stderr.txt
Other Errormainboard/google/fizz/variants/karma/nhlt.cclang_other_error_Dq3N8U.iclang_other_error_Dq3N8U.i.stderr.txt
Other Errormainboard/google/fizz/variants/baseboard/nhlt.cclang_other_error_FqLz5k.iclang_other_error_FqLz5k.i.stderr.txt
Other Errormainboard/google/fizz/variants/karma/smihandler.cclang_other_error_GW98u5.iclang_other_error_GW98u5.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_ILI0DU.iclang_other_error_ILI0DU.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_JQR0SG.iclang_other_error_JQR0SG.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_LPcRiU.iclang_other_error_LPcRiU.i.stderr.txt
Other Errormainboard/google/fizz/variants/baseboard/gpio.cclang_other_error_LfMb2T.iclang_other_error_LfMb2T.i.stderr.txt
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_LogVyK.iclang_other_error_LogVyK.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_MvMyBS.iclang_other_error_MvMyBS.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_P6FFNg.iclang_other_error_P6FFNg.i.stderr.txt
Other Errorsoc/intel/common/block/xdci/xdci.cclang_other_error_TUV79t.iclang_other_error_TUV79t.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_TcrGY1.iclang_other_error_TcrGY1.i.stderr.txt
Other Errormainboard/google/fizz/mainboard.cclang_other_error_URfDKO.iclang_other_error_URfDKO.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_UZiI9u.iclang_other_error_UZiI9u.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_X2giq0.iclang_other_error_X2giq0.i.stderr.txt
Other Errormainboard/google/fizz/variants/karma/gpio.cclang_other_error_ei7nLG.iclang_other_error_ei7nLG.i.stderr.txt
Other Errormainboard/google/fizz/ramstage.cclang_other_error_ete1CE.iclang_other_error_ete1CE.i.stderr.txt
Other Errormainboard/google/fizz/variants/karma/gpio.cclang_other_error_mfmyjn.iclang_other_error_mfmyjn.i.stderr.txt
Other Errorsoc/intel/skylake/romstage/romstage_fsp20.cclang_other_error_oGaZ6g.iclang_other_error_oGaZ6g.i.stderr.txt
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_rHpN5j.iclang_other_error_rHpN5j.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_sCB_z0.iclang_other_error_sCB_z0.i.stderr.txt
Other Errordrivers/intel/fsp2_0/memory_init.cclang_other_error_vLq11t.iclang_other_error_vLq11t.i.stderr.txt
Other Errormainboard/google/fizz/smihandler.cclang_other_error_vsRszl.iclang_other_error_vsRszl.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_w7i7Ah.iclang_other_error_w7i7Ah.i.stderr.txt
Other Errormainboard/google/fizz/bootblock.cclang_other_error_ySji6y.iclang_other_error_ySji6y.i.stderr.txt

Please consider submitting preprocessed files as bug reports.