coreboot_scanbuild - scan-build results

User:coreboot@5401bbab3ec1
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 vd70f5fae1c 2019-05-26 - clang version 8.0.0 (tags/RELEASE_800/final) (based on LLVM 8.0.0)
Date:Sat Dec 7 13:12:38 2019

Bug Summary

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

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_write7281View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_read5651View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1841View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1831View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1841View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1831View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_write7281View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_read5651View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_write7281View Report
Dead storeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_read5651View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6958View Report
Memory errorMemory leaklib/device_tree.cdt_set_bin_prop_by_path10546View Report
Memory errorMemory leaklib/device_tree.cdt_find_node_by_path67113View Report
Memory errorMemory leaklib/device_tree.cfdt_unflatten2649View Report
Memory errorMemory leaklib/device_tree.cfdt_unflatten_node23029View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/trap_handler.cinterrupt_handler996View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume765View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause524View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause354View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csbi_set_timer434View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csend_ipi307View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21429View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21427View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21425View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21423View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21421View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21419View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21413View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21310View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/mcall.chls_init342View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run392View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get252View Report
Logic errorResult of operation is garbage or undefinedmainboard/sifive/hifive-unleashed/fixup_fdt.cfixup_fdt1157View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init242View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init242View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr247726View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume765View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause524View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause354View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/romstage.cstage_entry302View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run392View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get252View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init242View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/trap_handler.cinterrupt_handler996View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume765View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause524View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause354View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csbi_set_timer434View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csend_ipi307View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21429View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21427View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21425View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21423View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21421View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21419View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21413View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21310View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/mcall.chls_init342View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run392View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get252View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorarch/riscv/payload.cclang_other_error_l07DZ2.iclang_other_error_l07DZ2.i.stderr.txt

Please consider submitting preprocessed files as bug reports.