coreboot_scanbuild - scan-build results

User:coreboot@9bbe52bbb28b
Working Directory:/home/coreboot/slave-root/workspace/coreboot_scanbuild
Command Line:make V=0 DOTCONFIG=/cb-build/coreboot_scanbuild.0/INTEL_GALILEO_GEN2.SD/config.build obj=/cb-build/coreboot_scanbuild.0/INTEL_GALILEO_GEN2.SD 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 11:35:27 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs65
Dead store
Dead assignment38
Dead increment4
Dead initialization1
Logic error
Dereference of null pointer10
Division by zero8
Result of operation is garbage or undefined1
Uninitialized argument value1
Unix API1
Memory error
Memory leak1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2431View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2421View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2411View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2401View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2231View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2221View Report
Dead storeDead assignmentsoc/intel/quark/i2c.ci2c_disable351View Report
Dead storeDead assignmentcommonlib/storage/storage.cstorage_set_partition3151View Report
Dead storeDead assignmentcommonlib/storage/sd_mmc.csd_mmc_enter_standby1541View Report
Dead storeDead assignmentcommonlib/storage/storage.cstorage_set_partition3151View Report
Dead storeDead assignmentcommonlib/storage/sd_mmc.csd_mmc_enter_standby1541View Report
Dead storeDead assignmentsoc/intel/quark/spi.cxfer1851View Report
Dead storeDead assignmentsoc/intel/quark/spi.cxfer1581View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2431View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2421View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2411View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2401View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2231View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2221View Report
Dead storeDead assignmentsoc/intel/quark/i2c.ci2c_disable351View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2431View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2421View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2411View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2401View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2231View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2221View Report
Dead storeDead assignmentsoc/intel/quark/i2c.ci2c_disable351View Report
Dead storeDead assignmentcommonlib/storage/storage.cstorage_set_partition3151View Report
Dead storeDead assignmentcommonlib/storage/sd_mmc.csd_mmc_enter_standby1541View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2431View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2421View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2411View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2401View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2231View Report
Dead storeDead assignmentsoc/intel/quark/i2c.cplatform_i2c_transfer2221View Report
Dead storeDead assignmentsoc/intel/quark/i2c.ci2c_disable351View Report
Dead storeDead assignmentcommonlib/storage/storage.cstorage_set_partition3151View Report
Dead storeDead assignmentcommonlib/storage/sd_mmc.csd_mmc_enter_standby1541View Report
Dead storeDead incrementcommonlib/storage/sdhci.cfls4381View Report
Dead storeDead incrementcommonlib/storage/sdhci.cfls4381View Report
Dead storeDead incrementcommonlib/storage/sdhci.cfls4381View Report
Dead storeDead incrementcommonlib/storage/sdhci.cfls4381View Report
Dead storeDead initializationdrivers/intel/fsp2_0/memory_init.cfspm_get_dest3371View Report
Logic errorDereference of null pointersoc/intel/quark/i2c.cplatform_i2c_write8832View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6929View Report
Logic errorDereference of null pointerdevice/oprom/realmode/x86.csetup_realmode_idt1784View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointersoc/intel/quark/i2c.cplatform_i2c_write8832View Report
Logic errorDereference of null pointersoc/intel/quark/i2c.cplatform_i2c_write8832View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointersoc/intel/quark/i2c.cplatform_i2c_write8832View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDivision by zerocommonlib/storage/storage.cdisplay_capacity7765View Report
Logic errorDivision by zerocommonlib/storage/storage.cdisplay_capacity7765View Report
Logic errorDivision by zerocommonlib/storage/storage.cdisplay_capacity7765View Report
Logic errorDivision by zerocommonlib/storage/storage.cdisplay_capacity7765View Report
Logic errorDivision by zerocommonlib/storage/storage.cdisplay_capacity7765View Report
Logic errorDivision by zerocommonlib/storage/storage.cdisplay_capacity7765View Report
Logic errorDivision by zerocommonlib/storage/storage.cdisplay_capacity7765View Report
Logic errorDivision by zerocommonlib/storage/storage.cdisplay_capacity7765View Report
Memory errorMemory leakacpi/acpigen_usb.cadd_device_ref8910View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr246528View Report
Logic errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs34719View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory13313View Report