coreboot_scanbuild - scan-build results

User:coreboot@9bbe52bbb28b
Working Directory:/home/coreboot/slave-root/workspace/coreboot_scanbuild
Command Line:make V=1 DOTCONFIG=/cb-build/coreboot_scanbuild.0/GOOGLE_LINK/config.build obj=/cb-build/coreboot_scanbuild.0/GOOGLE_LINK objutil=/cb-build/coreboot_scanbuild.0/sharedutils BUILD_TIMELESS=1
Clang Version:coreboot toolchain v65718760fa 2020-02-04 - clang version 9.0.0 (https://review.coreboot.org/coreboot e921911f1008169d236c4d2bd3e169a176cdf45c) (based on LLVM 9.0.0)
Date:Fri Jul 10 10:00:18 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs67
Dead store
Dead assignment16
Dead increment2
Dead initialization2
Logic error
Assigned value is garbage or undefined5
Dereference of null pointer8
Result of operation is garbage or undefined19
Uninitialized argument value3
Unix API1
Memory error
Memory leak1
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
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.cGptSanityCheck3021View 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.cGptSanityCheck3021View 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.cGptSanityCheck3021View Report
Dead storeDead assignmentsrc/southbridge/intel/bd82x6x/smbus.csmbus_read_resources701View 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.cGptSanityCheck3021View 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.cGptSanityCheck3021View Report
Dead storeDead incrementsrc/southbridge/intel/bd82x6x/smihandler.csouthbridge_smi_monitor1591View Report
Dead storeDead incrementsrc/northbridge/intel/sandybridge/northbridge.cmc_read_resources2031View Report
Dead storeDead initializationsrc/drivers/mrc_cache/mrc_cache.cnvm_protect4501View Report
Dead storeDead initializationsrc/drivers/mrc_cache/mrc_cache.cnvm_protect4501View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1746View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1746View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1746View Report
Logic errorDereference of null pointersrc/device/device_util.cadd_more_links6929View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1746View Report
Logic errorDereference of null pointersrc/northbridge/intel/sandybridge/pcie.cpcie_acpi_name3913View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1746View Report
Logic errorDereference of null pointersrc/lib/string.cstrtok_r1746View Report
Memory errorMemory leaksrc/acpi/acpigen_usb.cadd_device_ref8910View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cspi_setup_opcode44221View Report
Logic errorResult of operation is garbage or undefinedsrc/ec/google/chromeec/ec.cgoogle_chromeec_log_events3976View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cspi_setup_opcode44221View 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/ec/google/chromeec/ec.cgoogle_chromeec_log_events3976View Report
Logic errorResult of operation is garbage or undefinedsrc/ec/google/chromeec/ec.cgoogle_chromeec_log_events3976View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cspi_setup_opcode44221View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cspi_setup_opcode44221View Report
Logic errorResult of operation is garbage or undefinedsrc/ec/google/chromeec/ec.cgoogle_chromeec_log_events3976View 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/southbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsrc/southbridge/intel/common/spi.cspi_setup_opcode44221View Report
Logic errorResult of operation is garbage or undefinedsrc/ec/google/chromeec/ec.cgoogle_chromeec_log_events3976View 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_mtrrs34719View Report
Logic errorUninitialized argument valuesrc/southbridge/intel/bd82x6x/me.cmkhi_get_fwcaps41340View Report
Logic errorUninitialized argument valuesrc/southbridge/intel/bd82x6x/me.cmkhi_get_fw_version37541View Report
Logic errorUnix APIsrc/security/memory/memory_clear.cclear_memory13314View Report