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_NOCTURNE/config.build obj=/cb-build/coreboot_scanbuild.0/GOOGLE_NOCTURNE 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:45:36 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs61
Dead store
Dead assignment3
Dead initialization1
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
Dead storeDead initializationsoc/intel/skylake/graphics.cgraphics_soc_write_acpi_opregion1661View 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 Errormainboard/google/poppy/romstage.cclang_other_error_3YPnAJ.iclang_other_error_3YPnAJ.i.stderr.txt
Other Errormainboard/google/poppy/ec.cclang_other_error_7ANc3V.iclang_other_error_7ANc3V.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_7HIFMF.iclang_other_error_7HIFMF.i.stderr.txt
Other Errormainboard/google/poppy/variants/nocturne/ec.cclang_other_error_8SEYdY.iclang_other_error_8SEYdY.i.stderr.txt
Other Errormainboard/google/poppy/ec.cclang_other_error_9kiPnP.iclang_other_error_9kiPnP.i.stderr.txt
Other Errormainboard/google/poppy/variants/baseboard/gpio.cclang_other_error_9qzIee.iclang_other_error_9qzIee.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_ARZ3jk.iclang_other_error_ARZ3jk.i.stderr.txt
Other Errordrivers/intel/fsp2_0/memory_init.cclang_other_error_DG0afn.iclang_other_error_DG0afn.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_G97Fdq.iclang_other_error_G97Fdq.i.stderr.txt
Other Errormainboard/google/poppy/variants/nocturne/nhlt.cclang_other_error_Hn4xuv.iclang_other_error_Hn4xuv.i.stderr.txt
Other Errormainboard/google/poppy/variants/baseboard/gpio.cclang_other_error_It1jTw.iclang_other_error_It1jTw.i.stderr.txt
Other Errormainboard/google/poppy/smihandler.cclang_other_error_Jj0uKF.iclang_other_error_Jj0uKF.i.stderr.txt
Other Errormainboard/google/poppy/bootblock.cclang_other_error_KLxSeb.iclang_other_error_KLxSeb.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_MGt_57.iclang_other_error_MGt_57.i.stderr.txt
Other Errormainboard/google/poppy/variants/baseboard/gpio.cclang_other_error_OqNqVH.iclang_other_error_OqNqVH.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_Q68b9F.iclang_other_error_Q68b9F.i.stderr.txt
Other Errormainboard/google/poppy/variants/baseboard/memory.cclang_other_error_RZzpi8.iclang_other_error_RZzpi8.i.stderr.txt
Other Errorsoc/intel/common/block/xdci/xdci.cclang_other_error_Rfoias.iclang_other_error_Rfoias.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_Rjq8O8.iclang_other_error_Rjq8O8.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_RpO7gm.iclang_other_error_RpO7gm.i.stderr.txt
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_SxxPpY.iclang_other_error_SxxPpY.i.stderr.txt
Other Errormainboard/google/poppy/variants/baseboard/nhlt.cclang_other_error_Tam3no.iclang_other_error_Tam3no.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_XNjZVq.iclang_other_error_XNjZVq.i.stderr.txt
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_Xrx_kV.iclang_other_error_Xrx_kV.i.stderr.txt
Other Errormainboard/google/poppy/variants/nocturne/gpio.cclang_other_error_YfC8OS.iclang_other_error_YfC8OS.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error__Kw9O1.iclang_other_error__Kw9O1.i.stderr.txt
Other Errormainboard/google/poppy/variants/nocturne/mainboard.cclang_other_error_adj5g5.iclang_other_error_adj5g5.i.stderr.txt
Other Errorec/google/chromeec/ec.cclang_other_error_amcqtn.iclang_other_error_amcqtn.i.stderr.txt
Other Errormainboard/google/poppy/variants/nocturne/ec.cclang_other_error_bD9yQh.iclang_other_error_bD9yQh.i.stderr.txt
Other Errorsoc/intel/common/block/pmc/pmclib.cclang_other_error_dyrwRO.iclang_other_error_dyrwRO.i.stderr.txt
Other Errorsoc/intel/skylake/romstage/romstage_fsp20.cclang_other_error_fveY1K.iclang_other_error_fveY1K.i.stderr.txt
Other Errormainboard/google/poppy/ramstage.cclang_other_error_gBUuGd.iclang_other_error_gBUuGd.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_iSzgt8.iclang_other_error_iSzgt8.i.stderr.txt
Other Errormainboard/google/poppy/variants/nocturne/memory.cclang_other_error_ieoR2X.iclang_other_error_ieoR2X.i.stderr.txt
Other Errormainboard/google/poppy/mainboard.cclang_other_error_na9QM6.iclang_other_error_na9QM6.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_oR5buU.iclang_other_error_oR5buU.i.stderr.txt
Other Errorlib/coreboot_table.cclang_other_error_pegmH1.iclang_other_error_pegmH1.i.stderr.txt
Other Errormainboard/google/poppy/variants/nocturne/gpio.cclang_other_error_rH7Uf5.iclang_other_error_rH7Uf5.i.stderr.txt

Please consider submitting preprocessed files as bug reports.