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:Tue Jul 5 14:24:33 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs175
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 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.cfts5SegiterPoslist23018439View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cwalMerge6326627View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cenlargeAndAppend3066731View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3StringAppend19341243View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cmemjrnlRead1008657View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3EvalIncrPhraseNext18147431View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts3ScanInteriorNode178683105View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cbtreeOverwriteContent7569847View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.ccopyPayload7169838View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfts5AppendPoslist23187844View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cmemjrnlWrite10099212View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfillInCell7365151View Report
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.cfillInCell7370956View Report
Logic errorAssigned value is garbage or undefined3rdparty/sqlite3/sqlite3.cwriteCoord19859938View 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_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.csqlite3VdbeMemClearAndResize7898226View 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_ret61680View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_dynamic_graph.cccv_nnc_dynamic_graph_exec_ret61579View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_dynamic_graph.cccv_nnc_dynamic_graph_exec_ret54545View Report
Logic errorBranch condition evaluates to a garbage value3rdparty/sqlite3/sqlite3.csqlite3BtreeInsert7591732View 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.cselectExpander1412931View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csessionPreupdateEqual2134061View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csqlite3Pragma1332961View Report
Unused codeDead assignment3rdparty/sqlite3/sqlite3.csessionPreupdateEqual2134091View Report
Unused codeDead initialization3rdparty/sqlite3/sqlite3.csqlite3WalSnapshotRecover645431View 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.csqlite3Fts5PutVarint24044250View 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.csqlite3Fts5ExprFirst22485930View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model_core.c_ccv_cnnp_functional_model_copy33030View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwalWriteOneFrame6512429View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5ApiPhraseFirstColumn23608210View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3_uri_key1751476View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph_run.c_ccv_nnc_graph_exec_run79948View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwhereLoopAddVirtualOne15763155View Report
Logic errorDereference of null pointernnc/ccv_nnc_micro_simplify.cccv_nnc_micro_program_simplify135624View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cpagerWalFrames5701247View 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.csqlite3CodeRhsOfIN10672969View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.cccv_nnc_tensor_bind_symbol392725View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts5IndexCrisismerge23152817View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3IncrmergeChomp1917426View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_tensor_dot_recovery147484View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cisCandidateForInOpt10620176View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3CreateIndex119526115View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3BtreeSharable7788617View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNearTest18220950View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3ExprBalance18428941View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNextRow18202630View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csessionChangesetNextOne21579148View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3OsWrite2470858View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cxferOptimization12926758View Report
Logic errorDereference of null pointernnc/ccv_cnnp_dataframe_addons.c_ccv_cnnp_copy_scalar47011View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3PoslistPhraseMerge17908740View 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.csqlite3VdbeMemFromBtree7992425View Report
Logic errorDereference of null pointernnc/ccv_nnc_xpu_alloc.cdy_alloc_tree_remove164View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5PutVarint24043848View 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.csqlite3OsFileSize2471959View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfts3EvalNextRow18207832View Report
Logic errorDereference of null pointernnc/ccv_cnnp_model_core.ckh_put_model10522View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3EndTable11807049View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.cccv_nnc_tensor_bind_symbol393223View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3AuthRead11501551View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3Fts5GetTokenizer23655424View 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.cfkActionTrigger126104101View 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.cfts5SegIterInit22878622View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3UpsertDoUpdate14668848View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cexprCodeInlineFunction10752718View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3OpenTableAndIndices128835103View 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.cfts5IterSetOutputCb23040970View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cflattenSubquery14005073View 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.cfts3ExprBalance18424127View 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.csqlite3Fts5ExprAnd22376919View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkActionTrigger126099103View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cvdbeSorterFlushPMA9929222View 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.ccellContains20017349View 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.ccellUnion20015531View 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.cfillInCell7362638View 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.csqlite3BtreeInsert7588829View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.ccellUnion20014931View 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.csessionChangesetApply21731722View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.ccellContains20017248View 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