coreboot_scanbuild - scan-build results

User:coreboot@5ed558fa954b
Working Directory:/home/coreboot/slave-root/workspace/coreboot_scanbuild
Command Line:make -j 25 DOTCONFIG=/tmp/tmp.OEVU9kLEbX 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:Fri Sep 13 09:29:17 2019

Bug Summary

Bug TypeQuantityDisplay?
All Bugs77
API
Argument with 'nonnull' attribute passed null8
Dead store
Dead assignment7
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
Memory error
Bad free2
Memory leak20
Offset free1
Use of zero allocated2
Use-after-free3
Unix API
Allocator sizeof operand mismatch2

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.cGptLoad2281View Report
Unix APIAllocator sizeof operand mismatchhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/cgpt/cgpt_common.cGptLoad2081View 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/futility/updater.ccompare_section112430View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/tpm_lite/tlcl.cTlclWrite6333View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_vbutil_kernel.cReadOldKPartFromFileOrDie17417View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/futility.csimple_basename2883View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/file_type_rwsig.cft_sign_rwsig31614View Report
APIArgument with 'nonnull' attribute passed nullhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/amdfwtool/amdfwtool.ccopy_blob56469View 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_layout129940View 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_ui4511View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/vboot_ui.cvb2_diagnostics_ui4421View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/vboot_api_kernel.cVbVerifyMemoryBootImage5301View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/cgptlib/cgptlib_internal.cGptSanityCheck3111View Report
Dead storeDead assignmenthome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/cgpt/cgpt_common.cUTF16ToUTF85121View 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/vboot_display.cVbDisplayDebugInfo4041View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/firmware/lib/tpm_lite/tlcl.cAddRequestAuthBlock3141View Report
Dead storeDead incrementhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/cmd_vbutil_firmware.cdo_verify2691View 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_devicetree132739View 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_archive98422View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive97415View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive97415View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive97415View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cnew_manifest_from_archive97415View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries78745View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries78743View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries78737View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmanifest_scan_entries78741View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/futility/updater_archive.cmodel_config_parse_setvars_file57653View 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/cbfstool/cbfstool.ccbfs_add_component51544View 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/ifdtool/ifdtool.cmain167727View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cmain160918View Report
Memory errorMemory leakhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/amdfwtool/amdfwtool.cmain149227View 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_rsa1668View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/3rdparty/vboot/host/arch/x86/lib/crossystem_arch.cVbSharedDataRead32338View Report
Logic errorResult of operation is garbage or undefinedhome/coreboot/slave-root/workspace/coreboot_scanbuild/util/ifdtool/ifdtool.cset_region31346View 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
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