bte (clang-tools 1:14.0-55.1) - scan-build results

User:root@8ef8d39977b8
Working Directory:/rootdir
Command Line:ninja -C _build
Clang Version:Debian clang version 14.0.6-2
Date:Sun Aug 7 22:59:54 2022

Bug Summary

Bug TypeQuantityDisplay?
All Bugs167
C++ move semantics
Use-after-move1
Logic error
Assigned value is garbage or undefined1
Cast from non-struct type to struct type2
Dereference of null pointer4
Division by zero1
Out-of-bound access2
Out-of-bound array access1
Result of operation is garbage or undefined5
Uninitialized argument value3
Unused code
Dead assignment9
Dead increment1
Dead initialization3
Unreachable code134

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefinedringview.ccupdate27929View Report
Logic errorCast from non-struct type to struct typemissing.ccfdwalk1631View Report
Logic errorCast from non-struct type to struct typebterowdata.cc_bte_cells_for_cell_array551View Report
Unused codeDead assignmentbteaccess.ccbte_terminal_accessible_get_text_somewhere11061View Report
Unused codeDead assignmentparser-test.cctest_seq_string2811View Report
Unused codeDead assignmenticu-converter.ccconvert1211View Report
Unused codeDead assignmentmev.cmain3831View Report
Unused codeDead assignmentdrawing-cairo.ccdraw_text_internal3561View Report
Unused codeDead assignmentbte.ccwidget_key_press46851View Report
Unused codeDead assignmentbteseq.ccdelete_character9161View Report
Unused codeDead assignmentbte.ccwidget_key_press47171View Report
Unused codeDead assignmentparser-test.cctest_seq_string2681View Report
Unused codeDead incrementbidi.ccimplicit_paragraph6941View Report
Unused codeDead initializationpty.ccchild_setup2111View Report
Unused codeDead initializationpty.ccchild_setup1891View Report
Unused codeDead initializationparser-test.cctest_seq_string2611View Report
Logic errorDereference of null pointerring.ccget_hyperlink_at_position68515View Report
Logic errorDereference of null pointerreflect.cmain31214View Report
Logic errorDereference of null pointerreflect.cupdate_contents9713View Report
Logic errorDereference of null pointerbidi.ccexplicit_line_shape24434View Report
Logic errorDivision by zerodecoder-cat.ccprint_benchmark52914View Report
Logic errorOut-of-bound accessparser-glue.hhassert_equal_full75421View Report
Logic errorOut-of-bound accessringview.ccset_rows15416View Report
Logic errorOut-of-bound array accessxticker.cmain11525View Report
Logic errorResult of operation is garbage or undefinedbteseq.ccXTERM_WM861713View Report
Logic errorResult of operation is garbage or undefinedcolor-triple.hhbte_color_triple_set_back6060View Report
Logic errorResult of operation is garbage or undefinedbte.ccdraw_cells_with_attributes862348View Report
Logic errorResult of operation is garbage or undefinedcolor-triple.hhbte_color_triple_set_fore5458View Report
Logic errorResult of operation is garbage or undefinedbteseq.ccDECSTBM47562View Report
Logic errorUninitialized argument valueringview.ccupdate24531View Report
Logic errorUninitialized argument valueringview.ccupdate26130View Report
Logic errorUninitialized argument valuebte.ccfudge_pango_colors838962View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_property6201View Report
Unused codeUnreachable codebte.ccbte_terminal_vadjustment_value_changed_cb76251View Report
Unused codeUnreachable codebtectk.ccbte_terminal_real_paste_clipboard2001View Report
Unused codeUnreachable codewidget.ccim_delete_surrounding_cb1131View Report
Unused codeUnreachable codebtectk.ccbte_terminal_match_remove28061View Report
Unused codeUnreachable codebtectk.ccbte_terminal_focus_out3441View Report
Unused codeUnreachable codereflect.cmain3141View Report
Unused codeUnreachable codebtectk.ccbte_terminal_feed_child35551View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_colors44011View Report
Unused codeUnreachable codewidget.ccim_preedit_start_cb591View Report
Unused codeUnreachable codebtectk.ccbte_terminal_select_all30121View Report
Unused codeUnreachable codebtectk.ccbte_terminal_search_set_regex28951View Report
Unused codeUnreachable codebtectk.ccbte_terminal_leave3811View Report
Unused codeUnreachable codebteaccess.ccbte_terminal_accessible_set_selection15161View Report
Unused codeUnreachable codebtectk.ccbte_get_encodings22391View Report
Unused codeUnreachable codebteregex.ccbte_regex_jit1921View Report
Unused codeUnreachable codewidget.ccim_retrieve_surrounding_cb971View Report
Unused codeUnreachable codebtepty.ccbte_pty_child_setup1341View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_has_selection50551View Report
Unused codeUnreachable codeicu-decoder.ccdecode1081View Report
Unused codeUnreachable codebteregex.ccbte_regex_substitute2411View Report
Unused codeUnreachable codebtectk.ccbte_terminal_draw4441View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_highlight_foreground43371View Report
Unused codeUnreachable codebtectk.ccbte_terminal_reset37651View Report
Unused codeUnreachable codebteaccess.ccbte_terminal_accessible_set_size15941View Report
Unused codeUnreachable codebte.ccemit_eof_idle_cb7871View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_cursor_foreground42491View Report
Unused codeUnreachable codebtectk.ccbte_terminal_paste_clipboard23901View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_bold41981View Report
Unused codeUnreachable codebtectk.ccspawn_async_cb33071View Report
Unused codeUnreachable codebtectk.ccbte_terminal_style_updated2111View Report
Unused codeUnreachable codebtectk.ccbte_terminal_search_set_wrap_around29741View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_char_height40711View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_background41651View Report
Unused codeUnreachable codebtectk.ccbte_terminal_match_add_regex24631View Report
Unused codeUnreachable codereaper.ccmain1821View Report
Unused codeUnreachable codebtectk.ccbte_terminal_feed_child_binary35861View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_property8521View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_cursor_foreground42561View Report
Unused codeUnreachable codebtectk.ccset_error_from_exception57241View Report
Unused codeUnreachable codebtectk.ccbte_terminal_focus_in3291View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_cursor_position30571View Report
Unused codeUnreachable codebteseq.ccXTERM_WM86171View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_colors43991View Report
Unused codeUnreachable codebtectk.ccbte_terminal_key_press2271View Report
Unused codeUnreachable codebtectk.ccbte_terminal_constructed5381View Report
Unused codeUnreachable codebtectk.ccbte_terminal_map4891View Report
Unused codeUnreachable codewidget.ccsettings_notify_cb1301View Report
Unused codeUnreachable codebtectk.ccbte_terminal_enter3591View Report
Unused codeUnreachable codebtectk.ccbte_terminal_unselect_all30311View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_char_width40931View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_color_background_for_draw56011View Report
Unused codeUnreachable codebtectk.ccbte_terminal_match_check25081View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_text_range37301View Report
Unused codeUnreachable codebtectk.ccbte_terminal_match_set_cursor_type27571View Report
Unused codeUnreachable codebtectk.ccbte_terminal_search_get_regex29181View Report
Unused codeUnreachable codebtectk.ccbte_terminal_button_release3001View Report
Unused codeUnreachable codebtectk.ccbte_terminal_init5531View Report
Unused codeUnreachable codebtectk.ccbte_terminal_button_press2861View Report
Unused codeUnreachable codebtectk.ccbte_terminal_unmap5081View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_colors43921View Report
Unused codeUnreachable codereaper.ccmain1891View Report
Unused codeUnreachable codebte.ccreaper_child_exited_cb31011View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_preferred_width4041View Report
Unused codeUnreachable codebteseq.ccDECSTBM47781View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_colors43881View Report
Unused codeUnreachable codebtectk.ccbte_terminal_scrollable_get_border20421View Report
Unused codeUnreachable codebtectk.ccbte_terminal_feed35261View Report
Unused codeUnreachable codereflect.cmain3171View Report
Unused codeUnreachable codebtectk.ccbte_terminal_copy_clipboard_format23481View Report
Unused codeUnreachable codebtectk.ccbte_terminal_init5801View Report
Unused codeUnreachable codewidget.cckey_event_from_cdk3611View Report
Unused codeUnreachable codebteaccess.ccbte_terminal_accessible_remove_selection14841View Report
Unused codeUnreachable codebtectk.ccbte_terminal_search_find_previous28461View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_bold41911View Report
Unused codeUnreachable codebtectk.ccbte_terminal_unrealize4771View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_row_count52751View Report
Unused codeUnreachable codebtectk.ccbte_terminal_event_check_regex_array26111View Report
Unused codeUnreachable codebteseq.ccDECSTBM47821View Report
Unused codeUnreachable codebtectk.ccexception_append_to_string56721View Report
Unused codeUnreachable codebtectk.ccbte_terminal_spawn_sync32101View Report
Unused codeUnreachable codebtectk.ccbte_terminal_write_contents_sync55411View Report
Unused codeUnreachable codebtectk.ccbte_terminal_realize4581View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_property7491View Report
Unused codeUnreachable codebtectk.ccbte_terminal_screen_changed5211View Report
Unused codeUnreachable codebtectk.ccset_error_from_exception57201View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_cursor42261View Report
Unused codeUnreachable codebtectk.ccbte_terminal_search_find_next28681View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_colors43701View Report
Unused codeUnreachable codewidget.ccim_commit_cb441View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_colors43851View Report
Unused codeUnreachable codebtectk.ccbte_terminal_match_remove_all28251View Report
Unused codeUnreachable codebtectk.ccbte_terminal_real_copy_clipboard1891View Report
Unused codeUnreachable codebtectk.ccbte_terminal_size_allocate4311View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_highlight43081View Report
Unused codeUnreachable codewidget.ccim_preedit_changed_cb851View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_highlight43011View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_preferred_height4181View Report
Unused codeUnreachable codebtectk.ccbte_terminal_get_column_count44351View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_size37881View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_cursor42191View Report
Unused codeUnreachable codewidget.cc~Widget1561View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_foreground42751View Report
Unused codeUnreachable codebtepty.ccbte_pty_set_utf82581View Report
Unused codeUnreachable codebtectk.ccbte_terminal_paste_primary24121View Report
Unused codeUnreachable codebtectk.ccbte_terminal_motion_notify2721View Report
Unused codeUnreachable codewidget.ccim_preedit_end_cb721View Report
Unused codeUnreachable codebteaccess.ccbte_terminal_accessible_initialize7181View Report
Unused codeUnreachable codebtectk.ccbte_terminal_match_set_cursor_name27821View Report
Unused codeUnreachable codebtectk.ccbte_terminal_match_check_event25411View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_colors43981View Report
Unused codeUnreachable codebtectk.ccbte_terminal_copy_clipboard23171View Report
Unused codeUnreachable codebteregex.ccbte_regex_new_for_search1651View Report
Unused codeUnreachable codebteseq.ccDECSTBM47571View Report
Unused codeUnreachable codeparser.ccparser_feed_to_state13891View Report
Unused codeUnreachable codebtectk.ccbte_terminal_copy_primary23691View Report
Unused codeUnreachable codebtectk.ccbte_terminal_key_release2581View Report
Unused codeUnreachable codebtectk.ccbte_terminal_finalize6041View Report
Unused codeUnreachable codebtepty.ccbte_pty_initable_init3051View Report
Unused codeUnreachable codebte.ccemit_child_exited_idle_cb8221View Report
Unused codeUnreachable codebteregex.ccbte_regex_new_for_match1271View Report
Unused codeUnreachable codebtepty.ccbte_pty_get_size2211View Report
Unused codeUnreachable codebteseq.ccSCORC68811View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_color_highlight_foreground43301View Report
Unused codeUnreachable codebtectk.ccbte_terminal_match_set_cursor27301View Report
Unused codeUnreachable codebtectk.ccbte_terminal_dispose5881View Report
Unused codeUnreachable codebteaccess.ccbte_terminal_accessible_get_selection14281View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_clear_background55691View Report
Unused codeUnreachable codebtectk.ccbte_terminal_set_default_colors44171View Report
Unused codeUnreachable codebtectk.ccbte_terminal_scroll3141View Report
Unused codeUnreachable codebtepty.ccbte_pty_finalize3571View Report
Unused codeUnreachable codebtectk.ccbte_get_encoding_supported22741View Report
Unused codeUnreachable codebtectk.ccbte_terminal_search_get_wrap_around29931View Report
Unused codeUnreachable codebtectk.ccbte_terminal_hyperlink_check_event25721View Report
C++ move semanticsUse-after-moverefptr-test.cctest_glib_refptr815View Report