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/AMD_BETTONG/config.build obj=/cb-build/coreboot_scanbuild.0/AMD_BETTONG 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 10:42:15 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs21
Dead store
Dead assignment4
Logic error
Dereference of null pointer3
Dereference of undefined pointer value1
Result of operation is garbage or undefined11
Uninitialized argument value1
Unix API1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/src/northbridge/amd/pi/agesawrapper.cagesawrapper_amdinitenv1921View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/src/northbridge/amd/pi/agesawrapper.cagesawrapper_amdinitenv1921View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/src/device/dram/ddr4.cspd_decode_ddr41241View Report
Dead storeDead assignmentcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/AGESA.cAmdGetValue4721View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/device/device_util.cadd_more_links7018View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/device/oprom/realmode/x86.csetup_realmode_idt1924View Report
Logic errorDereference of null pointercb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/amdlib.cLibAmdPciFindNextCap10854View Report
Logic errorDereference of undefined pointer valuecb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/PspBaseLib.cCheckPspRecoveryFlag2591View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/southbridge/amd/pi/hudson/early_setup.cs3_load_nvram_early25311View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/device/dram/ddr2.cspd_decode_ddr248026View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/amdlib.cLibAmdPciPoll95117View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/amdlib.cLibAmdPciRMW91717View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/amdlib.cLibAmdMemPoll7829View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/amdlib.cLibAmdMemRMW7489View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/amdlib.cLibAmdIoPoll6439View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/amdlib.cLibAmdIoRMW6099View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/MemLib.cRwMem1409View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/FchLib.cRwPmio25637View Report
Logic errorResult of operation is garbage or undefinedcb-build/coreboot_scanbuild.0/AMD_BETTONG/libagesa/FchLib.cRwPmio4697View Report
Logic errorUninitialized argument valuehome/coreboot/slave-root/workspace/coreboot_scanbuild/src/cpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs35818View Report
Logic errorUnix APIhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/security/memory/memory_clear.cclear_memory15314View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/lib/bootmode.cclang_other_error_EiOWB6.iclang_other_error_EiOWB6.i.stderr.txt
Other Errorhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/lib/coreboot_table.cclang_other_error_KEpuV1.iclang_other_error_KEpuV1.i.stderr.txt
Other Errorhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/lib/bootmode.cclang_other_error_NkLm0P.iclang_other_error_NkLm0P.i.stderr.txt
Other Errorhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/arch/x86/bootblock_simple.cclang_other_error_jhVUNV.iclang_other_error_jhVUNV.i.stderr.txt
Other Errorhome/coreboot/slave-root/workspace/coreboot_scanbuild/src/lib/bootmode.cclang_other_error_roQ3fz.iclang_other_error_roQ3fz.i.stderr.txt

Please consider submitting preprocessed files as bug reports.