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 Apr 25 08:10:11 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_Dw9P_S.iclang_other_error_Dw9P_S.i.stderr.txt
Other Errorarch/riscv/trap_handler.cclang_other_error_I1f_zb.iclang_other_error_I1f_zb.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_P27_op.iclang_other_error_P27_op.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_RHIZ4T.iclang_other_error_RHIZ4T.i.stderr.txt
Other Errormainboard/sifive/hifive-unmatched/fixup_fdt.cclang_other_error_SAnKGd.iclang_other_error_SAnKGd.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_SWYxgl.iclang_other_error_SWYxgl.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_TFnFMe.iclang_other_error_TFnFMe.i.stderr.txt
Other Errorarch/riscv/payload.cclang_other_error_X563O7.iclang_other_error_X563O7.i.stderr.txt
Other Errorarch/riscv/arch_timer.cclang_other_error_gcUGvR.iclang_other_error_gcUGvR.i.stderr.txt
Other Errorarch/riscv/smp.cclang_other_error_hcymnd.iclang_other_error_hcymnd.i.stderr.txt
Other Errorarch/riscv/mcall.cclang_other_error_nRWKKT.iclang_other_error_nRWKKT.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_qv2hjz.iclang_other_error_qv2hjz.i.stderr.txt
Other Errorarch/riscv/sbi.cclang_other_error_sx7yIS.iclang_other_error_sx7yIS.i.stderr.txt
Other Errorsoc/sifive/fu740/clint.cclang_other_error_ur4LfF.iclang_other_error_ur4LfF.i.stderr.txt
Other Errorarch/riscv/boot.cclang_other_error_vTnJKi.iclang_other_error_vTnJKi.i.stderr.txt
Other Errorsoc/sifive/fu740/clint.cclang_other_error_wPOl63.iclang_other_error_wPOl63.i.stderr.txt

Please consider submitting preprocessed files as bug reports.