coreboot_scanbuild - scan-build results

User:coreboot@6907507e2801
Working Directory:/home/coreboot/node-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 v2024-02-24_04d6eb1eae - clang version 17.0.6 (https://review.coreboot.org/coreboot 55b3c0466cce5c08a3fa14d0341b8a8d090f4f71)
Date:Thu Mar 28 08:22:15 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs5
Logic error
Dereference of null pointer2
Memory error
Memory leak1
Unused code
Dead increment2

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unused codeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_read5481View Report
Unused codeDead incrementdrivers/spi/spi_sdcard.cspi_sdcard_multiple_write7111View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1856View Report
Logic errorDereference of null pointerlib/device_tree.cdt_find_compat75312View Report
Memory errorMemory leaklib/device_tree.cfdt_unflatten_node21930View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorsoc/sifive/fu540/clint.cclang_other_error_1VfGbf.iclang_other_error_1VfGbf.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_6p68jt.iclang_other_error_6p68jt.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_7ASAUV.iclang_other_error_7ASAUV.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_9jM_78.iclang_other_error_9jM_78.i.stderr.txt
Other Errormainboard/sifive/hifive-unleashed/fixup_fdt.cclang_other_error_FnU4Wy.iclang_other_error_FnU4Wy.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_JbSxDC.iclang_other_error_JbSxDC.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_LqsQxh.iclang_other_error_LqsQxh.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_M_XhIi.iclang_other_error_M_XhIi.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_MwPMSl.iclang_other_error_MwPMSl.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_N7SeVr.iclang_other_error_N7SeVr.i.stderr.txt
Other Errorsoc/sifive/fu540/clint.cclang_other_error_NUVLwT.iclang_other_error_NUVLwT.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_Sk6Nmp.iclang_other_error_Sk6Nmp.i.stderr.txt
Other Errorsoc/sifive/fu540/clint.cclang_other_error__Bo1fJ.iclang_other_error__Bo1fJ.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_bAdZh4.iclang_other_error_bAdZh4.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_dBcYtG.iclang_other_error_dBcYtG.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_eWFHnS.iclang_other_error_eWFHnS.i.stderr.txt
Other Errorarch/riscv/payload.cclang_other_error_fgzkxn.iclang_other_error_fgzkxn.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_hZqzkW.iclang_other_error_hZqzkW.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_kIXzaW.iclang_other_error_kIXzaW.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_rDfVJf.iclang_other_error_rDfVJf.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_rM_fE8.iclang_other_error_rM_fE8.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_wogfP4.iclang_other_error_wogfP4.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_yR8aSS.iclang_other_error_yR8aSS.i.stderr.txt

Please consider submitting preprocessed files as bug reports.