coreboot_scanbuild - scan-build results

User:coreboot@5401bbab3ec1
Working Directory:/home/coreboot/slave-root/workspace/coreboot_scanbuild
Command Line:make -j 32 DOTCONFIG=/tmp/tmp.KhQp2kPaoA obj=/cb-build/coreboot_scanbuild.0/temp objutil=/cb-build/coreboot_scanbuild.0/sharedutils tools
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 09:29:15 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs79
API
Argument with 'nonnull' attribute passed null7
Dead store
Dead assignment6
Dead increment4
Logic error
Array subscript is undefined3
Assigned value is garbage or undefined7
Dereference of null pointer10
Result of operation is garbage or undefined4
Stack address stored into global variable4
Uninitialized argument value1
Memory error
Bad free2
Memory leak20
Offset free1
Use of zero allocated2
Use-after-free4
Unix API
Allocator sizeof operand mismatch4

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/cgpt/cgpt_common.cGptLoad1691View Report
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/cgpt/cgpt_common.cGptLoad1681View Report
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData371View Report
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/gpt_misc.cAllocAndReadGptData361View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cstring_constant107859View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cappend_macro_text445130View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/tpm_lite/tlcl.cTlclWrite6315View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_vbutil_kernel.cReadOldKPartFromFileOrDie17317View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/futility.csimple_basename2873View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/file_type_rwsig.cft_sign_rwsig31314View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/amdfwtool/amdfwtool.ccopy_blob57069View Report
Logic errorArray subscript is undefinedcb-build/coreboot_scanbuild.0/sharedutils/cbfstool/fmd_scanner.cyylex74228View Report
Logic errorArray subscript is undefinedcb-build/coreboot_scanbuild.0/sharedutils/sconfig/lex.yy.cyylex80828View Report
Logic errorArray subscript is undefinedcb-build/coreboot_scanbuild.0/sharedutils/bincfg/bincfg.lex.cyylex77128View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cstruct_or_union_specifier1266128View Report
Logic errorAssigned value is garbage or undefinedcb-build/coreboot_scanbuild.0/sharedutils/cbfstool/fmd_scanner.cyylex79028View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/elfheaders.cwrite_phdrs100526View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/elfheaders.cwrite_phdrs100426View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/elfheaders.cwrite_phdrs100224View Report
Logic errorAssigned value is garbage or undefinedcb-build/coreboot_scanbuild.0/sharedutils/bincfg/bincfg.lex.cyylex88228View Report
Logic errorAssigned value is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cnew_layout135041View Report
Memory errorBad freehome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cxfree18126View Report
Memory errorBad freehome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/lz4/lib/lz4frame.cLZ4F_compressBegin41219View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/vboot_ui.cvb2_diagnostics_ui4441View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/vboot_ui.cvb2_diagnostics_ui4351View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/cgptlib/cgptlib_internal.cGptSanityCheck3031View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/cgpt/cgpt_common.cUTF16ToUTF85091View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_gbb_utility.cdo_gbb5531View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvidia/cbootimage/src/data_layout.cwrite_block_raw9801View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/tpm_lite/tlcl.cAddRequestAuthBlock3121View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/vboot_display.cVbDisplayDebugInfo3431View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_vbutil_firmware.cdo_verify2701View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_gbb_utility.ccreate_gbb1981View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cscc_visit_phi2090634View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.ccolor_triples1997043View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cverify_colors1993344View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.ccompute_variable_lifetimes1763812View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.ccompute_idom1572424View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.ccompute_sdom1564122View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cis_signed715314View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.chash_keyword33935View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cvalid_ins187339View Report
Logic errorDereference of null pointerhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/sconfig/main.coverride_devicetree134339View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.ccompatible_types704349View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.ccompatible_types704352View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cdefine_macro36159View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive100322View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive99315View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive99315View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive99315View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive99315View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries80645View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries80643View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries80637View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries80641View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmodel_config_parse_setvars_file59553View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/cbfstool/cbfstool.ccbfs_add_component55345View Report
Memory errorMemory leakcb-build/coreboot_scanbuild.0/sharedutils/bincfg/bincfg.lex.cset_input_string185618View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cmain174028View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cmain166918View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvidia/cbootimage/src/data_layout.cwrite_image60433View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/amdfwtool/amdfwtool.cmain149827View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvramtool/cmos_lowlevel.ccmos_read1587View Report
Memory errorOffset freehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/host/lib/util_misc.cvb_keyb_from_rsa1658View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/host/arch/x86/lib/crossystem_arch.cVbSharedDataRead33140View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cset_region31647View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvramtool/cmos_lowlevel.ccmos_read_bits33018View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/nvramtool/cmos_lowlevel.cget_bits8716View Report
Logic errorStack address stored into global variablehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_show.cdo_show62123View Report
Logic errorStack address stored into global variablehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_show.cdo_show57415View Report
Logic errorStack address stored into global variablehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_show.cdo_show56817View Report
Logic errorStack address stored into global variablehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_show.cdo_show54513View Report
Logic errorUninitialized argument valuehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.carchive_copy_callback47914View Report
Memory errorUse of zero allocatedcb-build/coreboot_scanbuild.0/sharedutils/cbfstool/fmd_scanner.cyy_get_next_buffer111317View Report
Memory errorUse of zero allocatedcb-build/coreboot_scanbuild.0/sharedutils/sconfig/lex.yy.cyy_get_next_buffer126716View Report
Memory errorUse-after-freehome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.ctransform_from_ssa_form1674743View Report
Memory errorUse-after-freehome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.crelease_triple303649View Report
Memory errorUse-after-freehome/coreboot/slave-root/workspace/coreboot_scanbuild/util/romcc/romcc.cfree_triple297850View Report
Memory errorUse-after-freehome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_utils.cremove_all_temp_files6554View Report