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/EMULATION_QEMU_X86_Q35/config.build obj=/cb-build/coreboot_scanbuild.0/EMULATION_QEMU_X86_Q35 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 10:41:49 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs21
Dead store
Dead assignment1
Dead increment1
Logic error
Dereference of null pointer6
Garbage return value3
Result of operation is garbage or undefined4
Uninitialized argument value4
Unix API1
Memory error
Memory leak1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Dead storeDead assignmentsouthbridge/intel/i82801ix/smbus.csmbus_read_resources591View Report
Dead storeDead incrementsouthbridge/intel/i82801ix/smihandler.csouthbridge_smi_monitor701View 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
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13715View Report
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13715View Report
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13715View Report
Memory errorMemory leakacpi/acpigen_usb.cadd_device_ref8910View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_acpi_tables24316View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_acpi_tables24316View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_acpi_tables24316View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr246528View Report
Logic errorUninitialized argument valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_find_file7516View Report
Logic errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs34719View Report
Logic errorUninitialized argument valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_find_file7516View Report
Logic errorUninitialized argument valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_find_file7516View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory13313View Report