coreboot_scanbuild - scan-build results

User:coreboot@5401bbab3ec1
Working Directory:/home/coreboot/slave-root/workspace/coreboot_scanbuild
Command Line:make V=0 DOTCONFIG=/cb-build/coreboot_scanbuild.0/ASROCK_E350M1/config.build obj=/cb-build/coreboot_scanbuild.0/ASROCK_E350M1 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:Sat Dec 7 10:56:56 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs94
Dead store
Dead assignment26
Dead increment1
Logic error
Assigned value is garbage or undefined4
Branch condition evaluates to a garbage value1
Called function pointer is an uninitialized pointer value8
Dereference of null pointer21
Garbage return value1
Result of operation is garbage or undefined29
Uninitialized argument value2
Unix API1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Utilities.cF14GetNbPstateInfo3376View Report
Logic errorAssigned value is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Utilities.cF14GetNbPstateInfo3303View Report
Logic errorAssigned value is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14PowerPlane.cF14PmVrmLowPowerModeEnable22915View Report
Logic errorAssigned value is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Dmi.cDmiF14GetVoltage1943View Report
Logic errorBranch condition evaluates to a garbage valuevendorcode/amd/agesa/f14/Proc/Mem/Main/mmExcludeDimm.cMemMRASExcludeDIMM20530View Report
Logic errorCalled function pointer is an uninitialized pointer valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApEntry47715View Report
Logic errorCalled function pointer is an uninitialized pointer valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApEntry47415View Report
Logic errorCalled function pointer is an uninitialized pointer valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApEntry47115View Report
Logic errorCalled function pointer is an uninitialized pointer valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApEntry46815View Report
Logic errorCalled function pointer is an uninitialized pointer valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApEntry46515View Report
Logic errorCalled function pointer is an uninitialized pointer valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApEntry46215View Report
Logic errorCalled function pointer is an uninitialized pointer valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApEntry45915View Report
Logic errorCalled function pointer is an uninitialized pointer valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApEntry45615View Report
Dead storeDead assignmentvendorcode/amd/cimx/sb800/USB.cusbSetPllDuringS33871View Report
Dead storeDead assignmentvendorcode/amd/cimx/sb800/AMDLIB.cgetNumberOfCpuCores421View Report
Dead storeDead assignmentvendorcode/amd/cimx/sb800/ACPILIB.cACPI_SetTableChecksum1041View Report
Dead storeDead assignmentvendorcode/amd/cimx/sb800/USB.cusbSetPllDuringS33871View Report
Dead storeDead assignmentvendorcode/amd/cimx/sb800/AMDLIB.cgetNumberOfCpuCores421View Report
Dead storeDead assignmentvendorcode/amd/cimx/sb800/ACPILIB.cACPI_SetTableChecksum1041View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/Mem/Ps/mp.cMemPPSCGen4521View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/Mem/Ps/mp.cMemPConstructRankTypeMap3221View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/Mem/Ps/mp.cMemPConstructRankTypeMap3211View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/Mem/Main/mmMemRestore.cMemMSetCSRNb4891View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/Mem/Main/mmConditionalPso.cMemPSODoActionGetFreqLimit6331View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/Mem/Feat/TABLE/mftds.cSetTableValues1911View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/Mem/Feat/S3/mfs3.cMemS3Deallocate1901View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/Mem/Feat/S3/mfs3.cMemS3Deallocate1861View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/GNB/PCIe/PcieMiscLib.cPcieUtilGlobalGenCapabilityCallback1111View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbPcieInitLibV1/PcieAspm.cPcieAspmCallback1641View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxInitLibV1/GfxEnumConnectors.cGfxIntegratedEnumConnectorsForDevice4831View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxInitLibV1/GfxEnumConnectors.cGfxIntegratedEnumConnectorsForDevice4771View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/CPU/cpuGeneralServices.cGetComputeUnitMapping11161View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/CPU/Feature/cpuPstateTables.cCreatePStateAcpiTables5231View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/CPU/Feature/cpuPstateTables.cGenerateSsdt3141View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/CPU/Feature/cpuPstateLeveling.cPStateLevelingMain2391View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/CPU/Feature/cpuPstateLeveling.cPStateLevelingMain2381View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/CPU/Feature/cpuCpb.cInitializeCpbFeature1491View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuCommonF14Utilities.cF14NbPstateInit4511View Report
Dead storeDead assignmentvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuCommonF14Utilities.cF14NbPstateInit4421View Report
Dead storeDead incrementvendorcode/amd/agesa/f14/Proc/GNB/Nb/NbSmuLib.cNbSmuReadEfuseField5171View Report
Logic errorDereference of null pointerdevice/device_util.cadd_more_links6958View Report
Logic errorDereference of null pointerdevice/oprom/realmode/x86.csetup_realmode_idt1904View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/Mem/Main/mm.cMemSocketScan1694View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/HT/htInterfaceNonCoherent.cGetManualBuidSwapList14511View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/GNB/Modules/GnbGfxInitLibV1/GfxEnumConnectors.cGfxIntegratedEnumConnectorsForDevice4659View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/cpuGeneralServices.cGetComputeUnitMapping11289View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/cpuGeneralServices.cGetNumberOfCompUnitsInCurrentModule6857View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApUtilTransmitBuffer102020View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cRestoreConditionalMsrDevice105410View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cRestoreMsrDevice100110View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cRestoreConditionalPciDevice91110View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cRestorePciDevice80910View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cGetWorstCaseContextSize6319View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cGetWorstCaseContextSize6209View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cGetWorstCaseContextSize6099View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cGetWorstCaseContextSize5989View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cSaveConditionalMsrDevice54211View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cSaveMsrDevice49911View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cSaveConditionalPciDevice42211View Report
Logic errorDereference of null pointervendorcode/amd/agesa/f14/Proc/CPU/S3.cSavePciDevice33411View Report
Logic errorDereference of null pointervendorcode/amd/agesa/common/amdlib.cLibAmdPciFindNextCap10374View Report
Logic errorGarbage return valuesouthbridge/amd/cimx/sb800/smbus_spd.creadspd1115View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/cimx/sb800/PMIOLIB.cRWPMIO1279View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/cimx/sb800/PMIO2LIB.cRWPMIO21289View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/cimx/sb800/MEMLIB.cRWMEM886View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/cimx/sb800/IOLIB.cRWIO896View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/cimx/sb800/PMIOLIB.cRWPMIO1279View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/cimx/sb800/PMIO2LIB.cRWPMIO21289View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/cimx/sb800/MEMLIB.cRWMEM886View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/cimx/sb800/IOLIB.cRWIO896View Report
Logic errorResult of operation is garbage or undefineddevice/dram/ddr2.cspd_decode_ddr247726View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/Mem/NB/mnS3.cMemNS3SetDisAutoCompUnb70312View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/cpuGeneralServices.cGetCurrentNodeNum5552View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/cpuGeneralServices.cIdentifyCore3093View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Utilities.cF14GetProcIddMax5193View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Utilities.cF14IsNbPstateEnabled3701View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Utilities.cF14GetCurrentNbFrequency2741View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Utilities.cF14TransitionPstate2013View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14SoftwareThermal.cF14PmThermalInit1051View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Pstate.cF14GetPstateRegisterInfo3893View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Pstate.cF14GetPstateMaxState3471View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Pstate.cF14GetPstatePower2843View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Pstate.cF14GetPstateFrequency2113View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14PowerCheck.cF14PmPwrCheck1863View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14LowPowerInit.cF14OptimizeForLowPowerInit1091View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14IoCstate.cF14InitializeIoCstate1254View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14C6State.cF14InitializeC61522View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/F14C6State.cF14IsC6Supported1131View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/common/amdlib.cLibAmdMemPoll7409View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/common/amdlib.cLibAmdMemRMW7069View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/common/amdlib.cLibAmdIoPoll6019View Report
Logic errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs35818View Report
Logic errorUninitialized argument valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApUtilTransmitBuffer98816View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory14814View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Other Errorarch/x86/bootblock_simple.cclang_other_error_7ilxWv.iclang_other_error_7ilxWv.i.stderr.txt

Please consider submitting preprocessed files as bug reports.