coreboot_scanbuild - scan-build results

User:coreboot@f7d0bd87af6a
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-03-30_cccada28f7 - clang version 17.0.6 (https://review.coreboot.org/coreboot 619535778cf7c6b141f8c13b967995327108a50a)
Date:Thu May 9 08:10:28 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 Errorarch/riscv/boot.cclang_other_error_6R9jkk.iclang_other_error_6R9jkk.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_8zt12Q.iclang_other_error_8zt12Q.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_GD73rt.iclang_other_error_GD73rt.i.stderr.txt
Other Errormainboard/sifive/hifive-unleashed/fixup_fdt.cclang_other_error_GJvyN8.iclang_other_error_GJvyN8.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_HyPW8h.iclang_other_error_HyPW8h.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_IOiVJd.iclang_other_error_IOiVJd.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_IaqueY.iclang_other_error_IaqueY.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_KeHtei.iclang_other_error_KeHtei.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_OxHOGe.iclang_other_error_OxHOGe.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_PI90JE.iclang_other_error_PI90JE.i.stderr.txt
Other Errorsoc/sifive/fu540/clint.cclang_other_error_QHodNU.iclang_other_error_QHodNU.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_XE8wW8.iclang_other_error_XE8wW8.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_XF3KDV.iclang_other_error_XF3KDV.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_daFuMr.iclang_other_error_daFuMr.i.stderr.txt
Other Errorarch/riscv/payload.cclang_other_error_gPzU2s.iclang_other_error_gPzU2s.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_gyQiFX.iclang_other_error_gyQiFX.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_moimSA.iclang_other_error_moimSA.i.stderr.txt
Other Errorsoc/sifive/fu540/clint.cclang_other_error_q6gg9x.iclang_other_error_q6gg9x.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_sCO3ty.iclang_other_error_sCO3ty.i.stderr.txt
Other Errorsoc/sifive/fu540/clint.cclang_other_error_sZKyZN.iclang_other_error_sZKyZN.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_slKnd9.iclang_other_error_slKnd9.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_xTD_y6.iclang_other_error_xTD_y6.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_zmCLge.iclang_other_error_zmCLge.i.stderr.txt

Please consider submitting preprocessed files as bug reports.