coreboot_scanbuild - scan-build results

User:coreboot@aad1b5ca0e3c
Working Directory:/home/coreboot/node-root/workspace/coreboot_scanbuild
Command Line:make V=0 DOTCONFIG=/cb-build/coreboot_scanbuild.0/INTEL_GLKRVP/config.build obj=/cb-build/coreboot_scanbuild.0/INTEL_GLKRVP objutil=/cb-build/coreboot_scanbuild.0/sharedutils BUILD_TIMELESS=1
Clang Version:coreboot toolchain v6065f616eb 2020-10-28 - clang version 10.0.1 (https://review.coreboot.org/coreboot 184c7940866703598a9fcbdb7f1be1dd31ff2718)
Date:Sat Nov 28 10:50:06 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs81
Dead store
Dead assignment17
Dead initialization1
Dead nested assignment5
Logic error
Assigned value is garbage or undefined5
Branch condition evaluates to a garbage value3
Dereference of null pointer18
Result of operation is garbage or undefined14
Uninitialized argument value1
Unix API1
Memory error
Memory leak6
Unix API
Allocator sizeof operand mismatch10

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData361View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData351View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData361View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData351View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData361View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData351View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData361View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData351View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData361View Report
Unix APIAllocator sizeof operand mismatch3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData351View Report
Logic errorAssigned value is garbage or undefinedsrc/ec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v322515View Report
Logic errorAssigned value is garbage or undefinedsrc/ec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v322515View Report
Logic errorAssigned value is garbage or undefinedsrc/ec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v322515View Report
Logic errorAssigned value is garbage or undefinedsrc/ec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v322515View Report
Logic errorAssigned value is garbage or undefinedsrc/ec/google/chromeec/ec_lpc.cgoogle_chromeec_command_v322515View Report
Logic errorBranch condition evaluates to a garbage valuesrc/soc/intel/common/block/cse/cse.cprint_me_fw_version851102View Report
Logic errorBranch condition evaluates to a garbage valuesrc/soc/intel/common/block/cse/cse.cprint_me_fw_version851102View Report
Logic errorBranch condition evaluates to a garbage valuesrc/soc/intel/common/block/cse/cse.cprint_me_fw_version851102View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3171View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3081View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/cgptlib/cgptlib_internal.cGptValidityCheck3021View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3171View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3081View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/cgptlib/cgptlib_internal.cGptValidityCheck3021View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3171View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3081View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/cgptlib/cgptlib_internal.cGptValidityCheck3021View Report
Dead storeDead assignmentsrc/soc/intel/apollolake/chip.cplatform_fsp_silicon_init_params_cb6971View Report
Dead storeDead assignmentsrc/soc/intel/common/block/smbus/smbus.csmbus_read_resources641View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3171View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3081View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/cgptlib/cgptlib_internal.cGptValidityCheck3021View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3171View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/vboot_ui_legacy_wilco.cvb2_diagnostics_ui3081View Report
Dead storeDead assignment3rdparty/vboot/firmware/lib/cgptlib/cgptlib_internal.cGptValidityCheck3021View Report
Dead storeDead initializationsrc/drivers/intel/fsp2_0/memory_init.cfspm_get_dest3251View Report
Dead storeDead nested assignmentsrc/drivers/vpd/vpd.ccbmem_add_cros_vpd1641View Report
Dead storeDead nested assignmentsrc/drivers/vpd/vpd.ccbmem_add_cros_vpd1641View Report
Dead storeDead nested assignmentsrc/drivers/vpd/vpd.ccbmem_add_cros_vpd1641View Report
Dead storeDead nested assignmentsrc/drivers/vpd/vpd.ccbmem_add_cros_vpd1641View Report
Dead storeDead nested assignmentsrc/drivers/vpd/vpd.ccbmem_add_cros_vpd1641View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1846View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cvb2_ui_screen_change26393View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cget_menu9715View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1846View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cvb2_ui_screen_change26393View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cget_menu9715View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1846View Report
Logic errorDereference of null pointersrc/device/device_util.cadd_more_links6929View Report
Logic errorDereference of null pointersrc/device/oprom/realmode/x86.csetup_realmode_idt1784View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cvb2_ui_screen_change26393View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cget_menu9715View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1846View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1846View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cvb2_ui_screen_change26393View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cget_menu9715View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1846View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cvb2_ui_screen_change26393View Report
Logic errorDereference of null pointer3rdparty/vboot/firmware/2lib/2ui.cget_menu9715View Report
Memory errorMemory leak3rdparty/vboot/firmware/2lib/2ui.cui_loop36928View Report
Memory errorMemory leak3rdparty/vboot/firmware/2lib/2ui.cui_loop36928View Report
Memory errorMemory leaksrc/acpi/acpigen_usb.cadd_device_ref8911View Report
Memory errorMemory leak3rdparty/vboot/firmware/2lib/2ui.cui_loop36928View Report
Memory errorMemory leak3rdparty/vboot/firmware/2lib/2ui.cui_loop36928View Report
Memory errorMemory leak3rdparty/vboot/firmware/2lib/2ui.cui_loop36928View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region23313View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region23313View Report
Logic errorResult of operation is garbage or undefinedsrc/cpu/x86/name/name.cfill_processor_name277View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region23313View Report
Logic errorResult of operation is garbage or undefinedsrc/device/dram/ddr2.cspd_decode_ddr246528View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region23313View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/lpc/lpc_lib.clpc_open_pmio_window9115View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/lpc/lpc_lib.clpc_open_pmio_window9115View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region23313View Report
Logic errorResult of operation is garbage or undefinedsrc/device/dram/ddr2.cspd_decode_ddr246528View Report
Logic errorResult of operation is garbage or undefinedsrc/cpu/x86/name/name.cfill_processor_name277View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/lpc/lpc_lib.clpc_open_pmio_window9115View Report
Logic errorResult of operation is garbage or undefinedsrc/soc/intel/common/block/fast_spi/fast_spi.cfast_spi_cache_bios_region23313View Report
Logic errorResult of operation is garbage or undefinedsrc/cpu/x86/name/name.cfill_processor_name277View Report
Logic errorUninitialized argument valuesrc/cpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs34520View Report
Logic errorUnix APIsrc/security/memory/memory_clear.cclear_memory13321View Report