coreboot_scanbuild - scan-build results

User:coreboot@5ed558fa954b
Working Directory:/home/coreboot/slave-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 vd70f5fae1c 2019-05-26 - clang version 8.0.0 (tags/RELEASE_800/final) (based on LLVM 8.0.0)
Date:Sun Sep 22 12:55:27 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs62
Dead store
Dead assignment1
Dead increment4
Logic error
Dereference of null pointer1
Result of operation is garbage or undefined52
Memory error
Memory leak4

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Dead storeDead assignmentdevice/dram/ddr4.cspd_decode_ddr41221View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1841View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1831View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1841View Report
Dead storeDead incrementsoc/sifive/fu540/ux00ddr.hux00ddr_phy_fixup1831View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6948View Report
Memory errorMemory leaklib/device_tree.cdt_set_bin_prop_by_path10546View Report
Memory errorMemory leaklib/device_tree.cdt_find_node_by_path67113View Report
Memory errorMemory leaklib/device_tree.cfdt_unflatten2649View Report
Memory errorMemory leaklib/device_tree.cfdt_unflatten_node23029View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/trap_handler.cinterrupt_handler996View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/stages.cstage_entry392View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume765View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause524View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause354View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csbi_set_timer434View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csend_ipi307View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21429View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21427View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21425View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21423View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21421View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21419View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21413View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21310View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/mcall.chls_init342View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run648View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run546View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run474View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get252View Report
Logic errorResult of operation is garbage or undefinedmainboard/sifive/hifive-unleashed/fixup_fdt.cfixup_fdt1147View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init242View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init242View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr247726View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/stages.cstage_entry392View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume765View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause524View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause354View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run646View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run546View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run474View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get252View Report
Logic errorResult of operation is garbage or undefinedsoc/sifive/fu540/clint.cmtime_init242View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/trap_handler.cinterrupt_handler996View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_resume765View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause524View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/smp.csmp_pause354View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csbi_set_timer434View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/sbi.csend_ipi307View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21429View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21427View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21425View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21423View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21421View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21419View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21413View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/misaligned.chandle_misaligned21310View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/mcall.chls_init342View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run646View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run546View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/boot.cdo_arch_prog_run474View Report
Logic errorResult of operation is garbage or undefinedarch/riscv/arch_timer.ctimer_monotonic_get252View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorlib/bootmode.cclang_other_error_FBJSx7.iclang_other_error_FBJSx7.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_FlwSDJ.iclang_other_error_FlwSDJ.i.stderr.txt
Other Errorarch/riscv/payload.cclang_other_error_LiWW_U.iclang_other_error_LiWW_U.i.stderr.txt
Other Errorlib/coreboot_table.cclang_other_error_M_EIEu.iclang_other_error_M_EIEu.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_oxpWri.iclang_other_error_oxpWri.i.stderr.txt

Please consider submitting preprocessed files as bug reports.