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_UNMATCHED/config.build obj=/cb-build/coreboot_scanbuild.0/SIFIVE_HIFIVE_UNMATCHED 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:30 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/trap_handler.cclang_other_error_0S05z_.iclang_other_error_0S05z_.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_6704VK.iclang_other_error_6704VK.i.stderr.txt
Other Errorarch/riscv/payload.cclang_other_error_DZ6mXh.iclang_other_error_DZ6mXh.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_DmwBnF.iclang_other_error_DmwBnF.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_F8v9BA.iclang_other_error_F8v9BA.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_FsyBT_.iclang_other_error_FsyBT_.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_HGczwd.iclang_other_error_HGczwd.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_KGBQhQ.iclang_other_error_KGBQhQ.i.stderr.txt
Other Errormainboard/sifive/hifive-unmatched/fixup_fdt.cclang_other_error_XCQ_Kc.iclang_other_error_XCQ_Kc.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_adKzZN.iclang_other_error_adKzZN.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_asN0jq.iclang_other_error_asN0jq.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_cW5iMW.iclang_other_error_cW5iMW.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_iIQsJH.iclang_other_error_iIQsJH.i.stderr.txt
Other Errorsoc/sifive/fu740/clint.cclang_other_error_sbkkmk.iclang_other_error_sbkkmk.i.stderr.txt
Other Errorsoc/sifive/fu740/clint.cclang_other_error_vGSVvP.iclang_other_error_vGSVvP.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_ySUBR2.iclang_other_error_ySUBR2.i.stderr.txt

Please consider submitting preprocessed files as bug reports.