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/ELMEX_PCM205401/config.build obj=/cb-build/coreboot_scanbuild.0/ELMEX_PCM205401 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:13:31 2020

Bug Summary

Bug TypeQuantityDisplay?
All Bugs96
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 pointer25
Garbage return value1
Result of operation is garbage or undefined26
Uninitialized argument value2
Unix API1
Memory error
Memory leak1

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.cF14GetNbPstateInfo3377View Report
Logic errorAssigned value is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Utilities.cF14GetNbPstateInfo3304View 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.cMemMRASExcludeDIMM20534View 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/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 assignmentsouthbridge/amd/cimx/sb800/bootblock.cenable_rom351View Report
Dead storeDead assignmentsouthbridge/amd/cimx/sb800/bootblock.cenable_rom171View Report
Dead storeDead incrementvendorcode/amd/agesa/f14/Proc/GNB/Nb/NbSmuLib.cNbSmuReadEfuseField5171View 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 pointerdevice/oprom/realmode/x86.csetup_realmode_idt1784View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1846View Report
Logic errorDereference of null pointerlib/string.cstrtok_r1846View 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.cApUtilTransmitBuffer102021View 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 errorDereference of null pointerlib/string.cstrtok_r1846View Report
Logic errorGarbage return valuesouthbridge/amd/cimx/sb800/smbus_spd.creadspd985View Report
Memory errorMemory leakacpi/acpigen_usb.cadd_device_ref8910View 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_ddr246528View 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.cF14GetProcIddMax5194View 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.cF14TransitionPstate2014View 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.cF14GetPstateRegisterInfo3894View 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.cF14GetPstatePower2844View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14Pstate.cF14GetPstateFrequency2114View Report
Logic errorResult of operation is garbage or undefinedvendorcode/amd/agesa/f14/Proc/CPU/Family/0x14/cpuF14PowerCheck.cF14PmPwrCheck1864View 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 errorUninitialized argument valuecpu/x86/mtrr/mtrr.ccommit_fixed_mtrrs34720View Report
Logic errorUninitialized argument valuevendorcode/amd/agesa/f14/Proc/CPU/cpuApicUtilities.cApUtilTransmitBuffer98816View Report
Logic errorUnix APIsecurity/memory/memory_clear.cclear_memory13314View Report