coreboot_scanbuild - scan-build results

User:coreboot@9bbe52bbb28b
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 v65718760fa 2020-02-04 - clang version 9.0.0 (https://review.coreboot.org/coreboot e921911f1008169d236c4d2bd3e169a176cdf45c) (based on LLVM 9.0.0)
Date:Fri Jul 10 11:15:51 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs34
Dead store
Dead assignment3
Dead increment1
Logic error
Branch condition evaluates to a garbage value4
Dereference of null pointer6
Result of operation is garbage or undefined13
Uninitialized argument value2
Unix API1
Memory error
Memory leak1
Use-after-free2
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_mbp8591View Report
Logic errorBranch condition evaluates to a garbage valuesoc/intel/broadwell/pmutil.cprint_status_bits3311View Report
Logic errorBranch condition evaluates to a garbage valuesoc/intel/broadwell/pmutil.cprint_status_bits3311View Report
Logic errorBranch condition evaluates to a garbage valuesoc/intel/broadwell/me.cmei_sendrecv_mkhi38348View Report
Logic errorBranch condition evaluates to a garbage valuesoc/intel/broadwell/pmutil.cprint_status_bits3311View Report
Dead storeDead assignmentsoc/intel/broadwell/smbus.csmbus_read_resources711View Report
Dead storeDead assignmentsoc/intel/broadwell/igd.cigd_cdclk_init4671View Report
Dead storeDead assignmentsoc/intel/broadwell/igd.cigd_cdclk_init4661View Report
Dead storeDead incrementsoc/intel/broadwell/smihandler.csouthbridge_smi_monitor4771View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6929View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1746View Report
Memory errorMemory leakacpi/acpigen_usb.cadd_device_ref8910View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cspi_setup_opcode44221View Report
Logic errorResult of operation is garbage or undefinedcpu/x86/name/name.cfill_processor_name277View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cspi_setup_opcode44221View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cspi_setup_opcode44221View Report
Logic errorResult of operation is garbage or undefinedsoc/intel/broadwell/romstage/report_platform.creport_cpu_info9810View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr246528View Report
Logic errorResult of operation is garbage or undefinedcpu/x86/name/name.cfill_processor_name277View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cich_hwseq_write8849View Report
Logic errorResult of operation is garbage or undefinedsouthbridge/intel/common/spi.cspi_setup_opcode44221View Report
Logic errorResult of operation is garbage or undefinedcpu/x86/name/name.cfill_processor_name277View Report
Logic errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs34719View Report
Logic errorUninitialized argument valuesoc/intel/broadwell/me.cmei_send_packet22035View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory13314View Report
Memory errorUse-after-freesoc/intel/broadwell/me.cintel_me_print_mbp79134View Report
Memory errorUse-after-freesoc/intel/broadwell/me.cme_print_fw_version46834View Report