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/SIFIVE_HIFIVE_UNLEASHED/config.build obj=/cb-build/coreboot_scanbuild.0/SIFIVE_HIFIVE_UNLEASHED 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:17:34 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs60
Dead store
Dead increment10
Logic error
Dereference of null pointer4
Result of operation is garbage or undefined45
Memory error
Memory leak1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_write7151View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_read5521View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1831View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1821View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1831View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1821View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_write7151View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_read5521View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_write7151View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_read5521View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6929View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Memory errorMemory leaklib/device_tree.cfdt_unflatten_node21629View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/trap_handler.cinterrupt_handler886View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume625View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause384View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause214View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csbi_set_timer294View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csend_ipi167View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20130View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20128View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20126View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20124View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20122View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20120View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20114View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20010View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/mcall.chls_init92View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run262View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get122View Report
Logic errorResult of operation is garbage or undefinedmainboard/sifive/hifive-unleashed/fixup_fdt.cfixup_fdt1027View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init112View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init112View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr246528View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume625View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause384View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause214View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/romstage.cstage_entry172View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run262View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get122View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init112View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/trap_handler.cinterrupt_handler886View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume625View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause384View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause214View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csbi_set_timer294View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csend_ipi167View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20130View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20128View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20126View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20124View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20122View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20120View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20114View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned20010View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/mcall.chls_init92View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run262View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get122View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorarch/riscv/payload.cclang_other_error_Gfg5Ji.iclang_other_error_Gfg5Ji.i.stderr.txt

Please consider submitting preprocessed files as bug reports.