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/PURISM_LIBREM13_V1/config.build obj=/cb-build/coreboot_scanbuild.0/PURISM_LIBREM13_V1 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:Mon Sep 16 12:51:07 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs21
Dead store
Dead assignment5
Dead increment1
Logic error
Branch condition evaluates to a garbage value1
Dereference of null pointer2
Result of operation is garbage or undefined7
Uninitialized argument value1
Unix API1
Memory error
Memory leak2
Unix API
Allocator sizeof operand mismatch1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchsoc/intel/broadwell/me.cintel_me_read_mbp8801View Report
Logic errorBranch condition evaluates to a garbage valuesoc/intel/broadwell/me.cmei_sendrecv_mkhi39643View Report
Dead storeDead assignmentsoc/intel/broadwell/smbus.csmbus_read_resources851View Report
Dead storeDead assignmentsoc/intel/broadwell/sata.csata_init781View Report
Dead storeDead assignmentsoc/intel/broadwell/igd.cigd_cdclk_init4621View Report
Dead storeDead assignmentsoc/intel/broadwell/igd.cigd_cdclk_init4611View Report
Dead storeDead assignmentdevice/dram/ddr4.cspd_decode_ddr41241View Report
Dead storeDead incrementsoc/intel/broadwell/smihandler.csouthbridge_smi_monitor5031View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links7018View Report
Logic errorDereference of null pointerdevice/oprom/realmode/x86.csetup_realmode_idt1924View Report
Memory errorMemory leaksoc/intel/broadwell/me.cintel_me_init101128View Report
Memory errorMemory leaksoc/intel/broadwell/me.cintel_me_read_mbp96820View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/broadwell/spi.cspi_setup_opcode36021View Report
Logic errorResult of operation is garbage or undefinedcpu/x86/name/name.cfill_processor_name387View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/broadwell/spi.cspi_setup_opcode36021View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/broadwell/spi.cspi_setup_opcode36021View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/broadwell/romstage/report_platform.creport_cpu_info1119View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr248026View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/broadwell/spi.cspi_setup_opcode36021View Report
Logic errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs35818View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory15315View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_5Lz3Tt.iclang_other_error_5Lz3Tt.i.stderr.txt
Other Errorsoc/intel/broadwell/romstage/raminit.cclang_other_error_7ZpR7l.iclang_other_error_7ZpR7l.i.stderr.txt
Other Errordrivers/mrc_cache/mrc_cache.cclang_other_error_Hn1IXE.iclang_other_error_Hn1IXE.i.stderr.txt
Other Errorsoc/intel/broadwell/pmutil.cclang_other_error_SrK_Ou.iclang_other_error_SrK_Ou.i.stderr.txt
Other Errorsoc/intel/broadwell/pmutil.cclang_other_error_T0b8pQ.iclang_other_error_T0b8pQ.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_VoMDE2.iclang_other_error_VoMDE2.i.stderr.txt
Other Errorlib/coreboot_table.cclang_other_error_gAZXSY.iclang_other_error_gAZXSY.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_ihLTb5.iclang_other_error_ihLTb5.i.stderr.txt
Other Errorsoc/intel/broadwell/pmutil.cclang_other_error_jSQ9eF.iclang_other_error_jSQ9eF.i.stderr.txt
Other Errorsoc/intel/broadwell/systemagent.cclang_other_error_omgaYY.iclang_other_error_omgaYY.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_sTYFkk.iclang_other_error_sTYFkk.i.stderr.txt
Other Errorlib/bootmode.cclang_other_error_zsYvFe.iclang_other_error_zsYvFe.i.stderr.txt

Please consider submitting preprocessed files as bug reports.