lib - scan-build results

User:liu@sz77
Working Directory:/home/liu/buildslave/linux-x64-runtests/build/lib
Command Line:make
Clang Version:clang version 5.0.0 (tags/RELEASE_500/final)
Date:Fri Nov 10 00:53:28 2017

Bug Summary

Bug TypeQuantityDisplay?
All Bugs58
API
Argument with 'nonnull' attribute passed null1
Dead store
Dead assignment2
Logic error
Array subscript is undefined1
Assigned value is garbage or undefined4
Branch condition evaluates to a garbage value2
Dangerous variable-length array (VLA) declaration3
Dereference of null pointer23
Division by zero1
Result of operation is garbage or undefined15
Return of address to stack-allocated memory1
Uninitialized argument value4
Memory error
Use of zero allocated1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
APIArgument with 'nonnull' attribute passed null3rdparty/sqlite3/sqlite3.csqlite3StrAccumAppend2045624View Report
Logic errorArray subscript is undefined3rdparty/sqlite3/sqlite3.cparseModifier148408View Report
Logic errorAssigned value is garbage or undefinedccv_resample.c_ccv_resample_area1883View Report
Logic errorAssigned value is garbage or undefined3rdparty/sqlite3/sqlite3.csqlite3_exec9494447View Report
Logic errorAssigned value is garbage or undefinednnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new236622View Report
Logic errorAssigned value is garbage or undefined3rdparty/sqlite3/sqlite3.csqlite3GetVarint2206613View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new233443View Report
Logic errorBranch condition evaluates to a garbage valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new232035View Report
Logic errorDangerous variable-length array (VLA) declarationnnc/ccv_nnc_tensor_tape.cccv_nnc_tensor_tape_set_while_count3756View Report
Logic errorDangerous variable-length array (VLA) declarationnnc/ccv_nnc_symbolic_graph.c_ccv_nnc_symbolic_graph_map_tensor_symbol_no_alias33230View Report
Logic errorDangerous variable-length array (VLA) declarationnnc/ccv_nnc_tensor_tape.cccv_nnc_tensor_tape_io23110View Report
Dead storeDead assignmentnnc/ccv_nnc_tensor_tape.c_ccv_nnc_tensor_from_tape1441View Report
Dead storeDead assignment3rdparty/sqlite3/sqlite3.csqlite3Pragma979811View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_dup_graph_exec_symbol164423View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph.cccv_nnc_symbolic_graph_symbol_infer111525View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph.cccv_nnc_symbolic_graph_symbol_infer111014View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3VdbeAllocUnpackedRecord640397View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_dot_tensor_multiview63021View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkActionTrigger9272837View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cfkActionTrigger9273236View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_dot_node68321View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3VdbeAddOp36114925View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_symbolic_graph_prep_new19595View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3VdbeAddOp36115913View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3VdbeChangeP26159420View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_redo_tensor_nests14717View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_dup_graph_exec_symbol164221View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cstrHash2270519View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_tensor_dot_recovery51433View Report
Logic errorDereference of null pointernnc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_symbolic_graph_prep_new19627View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3EndTable8618929View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.clookupName7563310View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.csqlite3VdbeList622847View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cwalCleanupHash4723062View Report
Logic errorDereference of null pointer3rdparty/sqlite3/sqlite3.cxferOptimization9485553View Report
Logic errorDereference of null pointernnc/ccv_nnc_graph.c_ccv_nnc_graph_dot_node66519View Report
Logic errorDivision by zero3rdparty/sqlite3/sqlite3.cpcache1Fetch3823612View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_area1883View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_area1883View Report
Logic errorResult of operation is garbage or undefinedccv_swt.c_ccv_swt_median294View Report
Logic errorResult of operation is garbage or undefined3rdparty/sqlite3/sqlite3.cparseModifier1484714View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_cubic_integer_only3414View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_area_8u9113View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.c_ccv_filter_direct_8u10209View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_area_8u7414View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform126212View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_cubic_float_only2682View Report
Logic errorResult of operation is garbage or undefinedccv_resample.c_ccv_resample_area_8u8014View Report
Logic errorResult of operation is garbage or undefinedccv_numeric.cccv_distance_transform126212View Report
Logic errorResult of operation is garbage or undefinedccv_basic.cccv_blur49512View Report
Logic errorResult of operation is garbage or undefinedccv_basic.cccv_blur49512View Report
Logic errorResult of operation is garbage or undefinedccv_convnet.c_ccv_convnet_compute_softmax_parallel6465View Report
Logic errorReturn of address to stack-allocated memory3rdparty/sqlite3/sqlite3.csqlite3SelectNew995618View Report
Logic errorUninitialized argument valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_dup_tensor_symbol162324View Report
Logic errorUninitialized argument valueccv_dpm.c_ccv_dpm_collect_all97523View Report
Logic errorUninitialized argument valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new238419View Report
Logic errorUninitialized argument valuennc/ccv_nnc_symbolic_graph_compile.c_ccv_nnc_graph_exec_arena_new239521View Report
Memory errorUse of zero allocatednnc/ccv_nnc_symbolic_graph_backward.c_ccv_nnc_symbolic_graph_backward_prep6456View Report