lib - scan-build results

User:liu@sz77
Working Directory:/home/liu/buildslave/linux-x64-runtests/build/lib
Command Line:make
Clang Version:clang version 14.0.0
Date:Thu Jun 23 15:36:51 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs177
API
Argument with 'nonnull' attribute passed null13
Logic error
Assigned value is garbage or undefined23
Branch condition evaluates to a garbage value7
Dangerous variable-length array (VLA) declaration2
Dereference of null pointer76
Dereference of undefined pointer value5
Division by zero5
Garbage return value1
Result of operation is garbage or undefined18
Uninitialized argument value6
Memory error
Memory leak12
Use-after-free1
Unused code
Dead assignment4
Dead initialization2
Dead nested assignment2

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts5SegiterPoslist22807839View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cwalMerge6263327View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cenlargeAndAppend3046231View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3StringAppend19130943View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cmemjrnlRead998447View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3EvalIncrPhraseNext17937431View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3ScanInteriorNode176583105View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cbtreeOverwriteContent7489547View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.ccopyPayload7100038View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts5AppendPoslist22977244View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cmemjrnlWrite9997112View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfillInCell7285151View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfillInCell7290956View Report
Logic errorAssigned value is garbage or undefined3rdparty/sqlite3/sqlite3.cwriteCoord19649638View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_micro.ckh_resize_ccv_nnc_micro_bind_scalar1095View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_graph.c_ccv_nnc_graph_static_schedule_new1224239View Report
Logic errorAssigned value is garbage or undefinedccv_bbf.c_ccv_save_bbf_cacade_training_state93225View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_cnnp_model_core.ckh_resize_model10571View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_simplify.c_ccv_nnc_symbolic_graph_pruning_undead_exec77646View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_graph.c_ccv_nnc_graph_static_schedule_new1236122View Report
Logic errorAssigned value is garbage or undefinedccv_bbf.cccv_bbf_detect_objects126329View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new369934View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_backward.c_ccv_nnc_symbolic_graph_backward_prep_sub_f_wrt_symbols72439View Report
Logic errorAssigned value is garbage or undefinedccv_icf.c_ccv_icf_precompute_classifier_cascade117830View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_micro_interpret.c_ccv_nnc_micro_statement_interpret18676View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_micro_interpret.c_ccv_nnc_micro_statement_interpret17476View Report
Logic errorAssigned value is garbage or undefinedccv_bbf.c_ccv_save_bbf_cacade_training_state92623View Report
Logic errorAssigned value is garbage or undefinedccv_resample.c_ccv_resample_area_8u6358View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_micro.ckh_resize_ccv_nnc_ids2077View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_micro_interpret.c_ccv_nnc_micro_statement_interpret19276View Report
Logic errorAssigned value is garbage or undefined3rdparty/sqlite3/sqlite3.csqlite3VdbeMemClearAndResize7816026View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_micro_interpret.c_ccv_nnc_micro_statement_interpret17776View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_simplify.c_ccv_nnc_symbolic_graph_pruning_undead_exec77948View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_cnnp_model_core.ckh_resize_model_io29277View Report
Logic errorAssigned value is garbage or undefinednnc/cmd/roi/ccv_nnc_roi_align_cpu_ref.c_ccv_nnc_roi_align_forw15539View Report
Logic errorAssigned value is garbage or undefinedccv_icf.c_ccv_icf_precompute_classifier_cascade117630View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_dynamic_graph.cccv_nnc_dynamic_graph_exec_ret59380View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_dynamic_graph.cccv_nnc_dynamic_graph_exec_ret59279View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_dynamic_graph.cccv_nnc_dynamic_graph_exec_ret52245View Report
Logic errorBranch condition evaluates to a garbage value3rdparty/sqlite3/sqlite3.csqlite3BtreeInsert7510932View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new364732View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new366443View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_graph.cccv_nnc_graph_exec_set_io35218View Report
Logic errorDangerous variable-length array (VLA) declarationnnc/ccv_cnnp_model_addons.c_ccv_cnnp_concat_build2367View Report
Logic errorDangerous variable-length array (VLA) declarationnnc/ccv_nnc_micro_simplify.c_ccv_nnc_loop_merging66243View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.cselectExpander1398031View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csessionPreupdateEqual2113031View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csqlite3Pragma1320371View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csessionPreupdateEqual2113061View Report
Unused codeDead initialization3rdparty/sqlite3/sqlite3.csqlite3WalSnapshotRecover639101View Report
Unused codeDead initializationnnc/cmd/lamb/ccv_nnc_lamb_cpu_ref.c_ccv_nnc_lamb_forw681View Report
Unused codeDead nested assignmentccv_icf.c_ccv_icf_detect_objects_with_multiscale_classifier_cascade21121View Report
Unused codeDead nested assignmentccv_dpm.cccv_dpm_mixture_model_new17641View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5PutVarint23833650View Report
Logic errorDereference of null pointerccv_scd.cccv_scd_classifier_cascade_read160739View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run80644View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5ExprFirst22275630View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model_core.c_ccv_cnnp_functional_model_copy33030View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwalWriteOneFrame6449129View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5ApiPhraseFirstColumn23397610View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3_uri_key1730656View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run79948View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwhereLoopAddVirtualOne15570155View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro_simplify.cccv_nnc_micro_program_simplify135624View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cpagerWalFrames5638049View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro_simplify.cccv_nnc_micro_program_simplify137351View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.cccv_nnc_tensor_bind_symbol393122View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3CodeRhsOfIN10559865View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.cccv_nnc_tensor_bind_symbol392725View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5IndexCrisismerge22942217View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3IncrmergeChomp1896396View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_tensor_dot_recovery148184View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cisCandidateForInOpt10507672View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3CreateIndex118345115View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3BtreeSharable7706417View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNearTest18010950View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3ExprBalance18218941View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNextRow17992630View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csessionChangesetNextOne21368848View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3OsWrite2451658View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cxferOptimization12803658View Report
Logic errorDereference of null pointernnc/ccv_cnnp_dataframe_addons.c_ccv_cnnp_copy_scalar47011View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3PoslistPhraseMerge17698740View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run_task44925View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3VdbeMemFromBtree7908225View Report
Logic errorDereference of null pointernnc/ccv_nnc_xpu_alloc.cdy_alloc_tree_remove164View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5StructureAddLevel22588622View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5PutVarint23833248View Report
Logic errorDereference of null pointernnc/ccv_cnnp_dataframe_addons.c_ccv_cnnp_copy_scalar47511View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run80745View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run_task43422View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run79847View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run_task44824View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro.cccv_nnc_micro_combine_new15669View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model_core.ckh_put_model_io29228View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3OsFileSize2452759View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNextRow17997832View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model_core.ckh_put_model10522View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3EndTable11689049View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.cccv_nnc_tensor_bind_symbol393223View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3AuthRead11383351View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5GetTokenizer23444824View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run_task43321View Report
Logic errorDereference of null pointerccv_sift.cccv_sift25837View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkActionTrigger124884101View Report
Logic errorDereference of null pointernnc/ccv_cnnp_dataframe_addons.c_ccv_cnnp_copy_scalar4689View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro.cccv_nnc_micro_combine_new15264View Report
Logic errorDereference of null pointernnc/_ccv_nnc_stream.hkh_put_stream_map5977View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5SegIterInit22668022View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkScanChildren124125112View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3UpsertDoUpdate14506448View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cexprCodeInlineFunction10639018View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3OpenTableAndIndices127604103View Report
Logic errorDereference of null pointerccv_bbf.cccv_bbf_detect_objects122928View Report
Logic errorDereference of null pointernnc/ccv_cnnp_dataframe_addons.c_ccv_cnnp_copy_scalar48215View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro_simplify.cccv_nnc_micro_program_simplify136642View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.cccv_nnc_graph_autotune190918View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5IterSetOutputCb22830370View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cflattenSubquery13860670View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model.c_ccv_cnnp_model_gradient_init96533View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model_core.c_ccv_cnnp_functional_model_copy34720View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3ExprBalance18214127View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro_simplify.ckh_put_ccv_nnc_axis_id_group945View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro.ckh_put_ccv_nnc_micro_bind_scalar1048View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5ExprAnd22166619View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkActionTrigger124879103View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cvdbeSorterFlushPMA9827122View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro.cccv_nnc_micro_combine_new6954View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro.ckh_put_ccv_nnc_ids2030View Report
Logic errorDereference of undefined pointer valueccv_icf.c_ccv_icf_read_classifier_cascade_state70330View Report
Logic errorDereference of undefined pointer valueccv_icf.c_ccv_icf_read_classifier_cascade_state70332View Report
Logic errorDereference of undefined pointer valueccv_icf.c_ccv_icf_read_classifier_cascade_state68530View Report
Logic errorDereference of undefined pointer valueccv_dpm.cccv_dpm_detect_objects210322View Report
Logic errorDereference of undefined pointer valueccv_icf.c_ccv_icf_read_classifier_cascade_state68528View Report
Logic errorDivision by zeronnc/ccv_nnc_micro_interpret.c_ccv_nnc_micro_index_interpret4733View Report
Logic errorDivision by zeroccv_tld.cccv_tld_track_object95919View Report
Logic errorDivision by zeronnc/cmd/roi/ccv_nnc_roi_align_cpu_ref.c_ccv_nnc_roi_align_back25234View Report
Logic errorDivision by zeroccv_bbf.cccv_bbf_detect_objects132127View Report
Logic errorDivision by zeronnc/cmd/roi/ccv_nnc_roi_align_cpu_ref.c_ccv_nnc_roi_align_forw14538View Report
Logic errorGarbage return valuennc/ccv_nnc_micro_interpret.c_ccv_nnc_micro_expression_interpret6670View Report
Memory errorMemory leaknnc/ccv_nnc_micro_core.c_ccv_nnc_micro_binary_emit_grad81581View Report
Memory errorMemory leaknnc/ccv_nnc_micro_core.c_ccv_nnc_micro_binary_emit70960View Report
Memory errorMemory leaknnc/ccv_nnc_micro_core.c_ccv_nnc_micro_unary_emit_grad64244View Report
Memory errorMemory leaknnc/ccv_nnc_micro_simplify.c_ccv_nnc_micro_low_high_bound_from_index107176View Report
Memory errorMemory leaknnc/ccv_nnc_micro_simplify.c_ccv_nnc_micro_low_high_bound_from_index107976View Report
Memory errorMemory leaknnc/ccv_nnc_micro_core.c_ccv_nnc_micro_binary_emit_grad85180View Report
Memory errorMemory leaknnc/ccv_nnc_micro_simplify.c_ccv_nnc_micro_check_bound_for_variable122475View Report
Memory errorMemory leaknnc/ccv_nnc_micro_core.c_ccv_nnc_micro_unary_emit58742View Report
Memory errorMemory leakccv_scd.cccv_scd_classifier_cascade_new128544View Report
Memory errorMemory leaknnc/ccv_nnc_micro_core.c_ccv_nnc_micro_binary_emit_grad74965View Report
Memory errorMemory leaknnc/ccv_nnc_micro_simplify.c_ccv_nnc_micro_low_high_bound_from_index114084View Report
Memory errorMemory leaknnc/ccv_nnc_micro_core.c_ccv_nnc_micro_unary_emit_grad64260View Report
Logic errorResult of operation is garbage or undefinednnc/ccv_nnc_micro_simplify.cccv_nnc_micro_program_simplify133521View Report
Logic errorResult of operation is garbage or undefinednnc/cmd/roi/ccv_nnc_roi_align_cpu_ref.c_ccv_nnc_roi_align_back25636View Report
Logic errorResult of operation is garbage or undefinedccv_bbf.c_ccv_bbf_convex_optimize82829View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.ccellContains19807049View Report
Logic errorResult of operation is garbage or undefinedccv_icf.c_ccv_icf_read_classifier_cascade_state64524View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.ccellUnion19805231View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_median2935View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_merge_textline54523View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform125151View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.cfillInCell7282638View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_add_letter46321View Report
Logic errorResult of operation is garbage or undefinedccv_basic.cccv_blur47271View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.csqlite3BtreeInsert7508029View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.ccellUnion19804631View Report
Logic errorResult of operation is garbage or undefinednnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new353314View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.csessionChangesetApply21521422View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.ccellContains19806948View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform125351View Report
Logic errorUninitialized argument valueccv_dpm.cccv_dpm_detect_objects212218View Report
Logic errorUninitialized argument valueccv_convnet.c_ccv_convnet_full_connect_backward_propagate97431View Report
Logic errorUninitialized argument valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new372127View Report
Logic errorUninitialized argument valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new373231View Report
Logic errorUninitialized argument valuennc/ccv_nnc_micro.ckh_put_ccv_nnc_micro_bind_scalar1065View Report
Logic errorUninitialized argument valueccv_scd.cccv_scd_classifier_cascade_new134339View Report
Memory errorUse-after-freeccv_dpm.cccv_dpm_mixture_model_new1965188View Report