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.6
Date:Tue Sep 13 17:49:56 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs177
API
Argument with 'nonnull' attribute passed null13
Logic error
Assigned value is garbage or undefined25
Branch condition evaluates to a garbage value7
Dangerous variable-length array (VLA) declaration2
Dereference of null pointer74
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.cfts5SegiterPoslist23020339View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cwalMerge6327427View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cenlargeAndAppend3066931View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3StringAppend19343143View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cmemjrnlRead1008737View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3EvalIncrPhraseNext18149431View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3ScanInteriorNode178700105View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cbtreeOverwriteContent7570647View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.ccopyPayload7170638View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts5AppendPoslist23189744View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cmemjrnlWrite10100012View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfillInCell7365951View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfillInCell7371756View Report
Logic errorAssigned value is garbage or undefined3rdparty/sqlite3/sqlite3.cwriteCoord19861838View Report
Logic errorAssigned value is garbage or undefinednnc/cmd/loss/ccv_nnc_mse_cpu_ref.c_ccv_nnc_mse_back9823View 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_new1217239View 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_new1229122View 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_new373734View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_backward.c_ccv_nnc_symbolic_graph_backward_prep_sub_f_wrt_symbols73239View Report
Logic errorAssigned value is garbage or undefinedccv_icf.c_ccv_icf_precompute_classifier_cascade117830View Report
Logic errorAssigned value is garbage or undefinednnc/cmd/loss/ccv_nnc_mse_cpu_ref.c_ccv_nnc_mse_back9925View 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.csqlite3VdbeMemClearAndResize7899026View 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_ret61780View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_dynamic_graph.cccv_nnc_dynamic_graph_exec_ret61679View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_dynamic_graph.cccv_nnc_dynamic_graph_exec_ret54645View Report
Logic errorBranch condition evaluates to a garbage value3rdparty/sqlite3/sqlite3.csqlite3BtreeInsert7592532View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new368532View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new370243View 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_build2437View Report
Logic errorDangerous variable-length array (VLA) declarationnnc/ccv_nnc_micro_simplify.c_ccv_nnc_loop_merging66243View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.cselectExpander1413021View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csessionPreupdateEqual2134251View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csqlite3Pragma1332921View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csessionPreupdateEqual2134281View Report
Unused codeDead initialization3rdparty/sqlite3/sqlite3.csqlite3WalSnapshotRecover645511View 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.csqlite3Fts5PutVarint24046150View 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.csqlite3Fts5ExprFirst22487830View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model_core.c_ccv_cnnp_functional_model_copy33030View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwalWriteOneFrame6513229View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5ApiPhraseFirstColumn23610110View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3_uri_key1751646View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run79948View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwhereLoopAddVirtualOne15764255View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro_simplify.cccv_nnc_micro_program_simplify135624View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cpagerWalFrames5702047View 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_symbol396922View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3CodeRhsOfIN10672769View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.cccv_nnc_tensor_bind_symbol396525View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5IndexCrisismerge23154717View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3IncrmergeChomp1917616View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_tensor_dot_recovery147484View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cisCandidateForInOpt10619976View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3CreateIndex119522115View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3BtreeSharable7789417View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNearTest18222950View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3ExprBalance18430841View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNextRow18204630View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csessionChangesetNextOne21581048View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3OsWrite2471058View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cxferOptimization12926358View Report
Logic errorDereference of null pointernnc/ccv_cnnp_dataframe_addons.c_ccv_cnnp_copy_scalar47011View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3PoslistPhraseMerge17910440View 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.csqlite3VdbeMemFromBtree7993225View Report
Logic errorDereference of null pointernnc/ccv_nnc_xpu_alloc.cdy_alloc_tree_remove164View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5PutVarint24045748View 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.csqlite3OsFileSize2472159View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNextRow18209832View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model_core.ckh_put_model10522View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3EndTable11806649View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.cccv_nnc_tensor_bind_symbol397023View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3AuthRead11501351View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5GetTokenizer23657324View 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.cfkActionTrigger126100101View 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.cfts5SegIterInit22880522View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3UpsertDoUpdate14669948View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cexprCodeInlineFunction10752518View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3OpenTableAndIndices128831103View 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_autotune190218View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5IterSetOutputCb23042870View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cflattenSubquery14005973View 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.cfts3ExprBalance18426027View 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.csqlite3Fts5ExprAnd22378819View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkActionTrigger126095103View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cvdbeSorterFlushPMA9930022View 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.ccellContains20019249View 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.ccellUnion20017431View 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.cfillInCell7363438View 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.csqlite3BtreeInsert7589629View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.ccellUnion20016831View Report
Logic errorResult of operation is garbage or undefinednnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new357114View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.csessionChangesetApply21733622View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.ccellContains20019148View 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_new375927View Report
Logic errorUninitialized argument valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new377031View 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