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 2 08:10:18 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_2arMuU.iclang_other_error_2arMuU.i.stderr.txt
Other Errorarch/riscv/payload.cclang_other_error_2y08Rf.iclang_other_error_2y08Rf.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_4N9IaL.iclang_other_error_4N9IaL.i.stderr.txt
Other Errorsoc/sifive/fu540/clint.cclang_other_error_9qvV7r.iclang_other_error_9qvV7r.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_B1irlG.iclang_other_error_B1irlG.i.stderr.txt
Other Errormainboard/sifive/hifive-unleashed/fixup_fdt.cclang_other_error_BnHmxp.iclang_other_error_BnHmxp.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_DIqyqV.iclang_other_error_DIqyqV.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_OA45rz.iclang_other_error_OA45rz.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_R8EF6u.iclang_other_error_R8EF6u.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error__G9ABR.iclang_other_error__G9ABR.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_aq8Sqy.iclang_other_error_aq8Sqy.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_bStzUc.iclang_other_error_bStzUc.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_dhqSNu.iclang_other_error_dhqSNu.i.stderr.txt
Other Errorsoc/sifive/fu540/clint.cclang_other_error_gK31rs.iclang_other_error_gK31rs.i.stderr.txt
Other Errorsoc/sifive/fu540/clint.cclang_other_error_iucjhp.iclang_other_error_iucjhp.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_mFnDZt.iclang_other_error_mFnDZt.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_mGsWmJ.iclang_other_error_mGsWmJ.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_nJ9ZUU.iclang_other_error_nJ9ZUU.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_qKS8BZ.iclang_other_error_qKS8BZ.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_sp8mw4.iclang_other_error_sp8mw4.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_vsPAr3.iclang_other_error_vsPAr3.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_vxR_ek.iclang_other_error_vxR_ek.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_yclOop.iclang_other_error_yclOop.i.stderr.txt

Please consider submitting preprocessed files as bug reports.