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_I440FX_NOSERIAL/config.build obj=/cb-build/coreboot_scanbuild.0/EMULATION_QEMU_X86_I440FX_NOSERIAL 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:Tue Aug 4 10:32:55 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs26
Dead store
Dead assignment1
Logic error
Dereference of null pointer5
Division by zero4
Garbage return value3
Result of operation is garbage or undefined7
Uninitialized argument value4
Unix API1
Memory error
Memory leak1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Dead storeDead assignmentlib/jpeg.creadtables2071View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1846View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6929View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1846View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1846View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1846View Report
Logic errorDivision by zerodrivers/uart/util.cuart_bitbang_tx_byte575View Report
Logic errorDivision by zerodrivers/uart/util.cuart_bitbang_tx_byte575View Report
Logic errorDivision by zerodrivers/uart/util.cuart_bitbang_tx_byte575View Report
Logic errorDivision by zerodrivers/uart/util.cuart_bitbang_tx_byte575View Report
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13915View Report
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13915View Report
Logic errorGarbage return valuemainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_max_cpus13915View 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_tables24516View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_tolud12316View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_acpi_tables24516View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_tolud12316View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_acpi_tables24516View Report
Logic errorResult of operation is garbage or undefinedmainboard/emulation/qemu-i440fx/fw_cfg.cfw_cfg_tolud12316View 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_mtrrs34720View 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