bte (clang-tools 1:16.0-58.1) - scan-build results

User:root@c99302c5166f
Working Directory:/rootdir
Command Line:ninja -C _build
Clang Version:Debian clang version 16.0.6 (27+b1)
Date:Mon Aug 5 22:23:52 2024

Bug Summary

Bug TypeQuantityDisplay?
All Bugs174
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 pointer5
Division by zero1
Out-of-bound access4
Out-of-bound array access1
Result of operation is garbage or undefined5
Uninitialized argument value3
Unused code
Dead assignment9
Dead increment1
Dead initialization6
Unreachable code135

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorAssigned value is garbage or undefinedsrc/ringview.ccupdate27929View Report
Logic errorCast from non-struct type to struct typesrc/missing.ccfdwalk1631View Report
Logic errorCast from non-struct type to struct typesrc/bterowdata.cc_bte_cells_for_cell_array551View Report
Unused codeDead assignmentsrc/drawing-cairo.ccdraw_text_internal3561View Report
Unused codeDead assignmentsrc/bteaccess.ccbte_terminal_accessible_get_text_somewhere11061View Report
Unused codeDead assignmentsrc/bte.ccwidget_key_press47171View Report
Unused codeDead assignmentsrc/parser-test.cctest_seq_string2811View Report
Unused codeDead assignmentsrc/bte.ccwidget_key_press46851View Report
Unused codeDead assignmentsrc/icu-converter.ccconvert1211View Report
Unused codeDead assignmentsrc/mev.cmain3831View Report
Unused codeDead assignmentsrc/bteseq.ccdelete_character9161View Report
Unused codeDead assignmentsrc/parser-test.cctest_seq_string2681View Report
Unused codeDead incrementsrc/bidi.ccimplicit_paragraph6941View Report
Unused codeDead initializationsrc/mev.cparse_legacy_mouse_mode1361View Report
Unused codeDead initializationsrc/mev.cparse_legacy_mouse_mode1361View Report
Unused codeDead initializationsrc/pty.ccchild_setup2111View Report
Unused codeDead initializationsrc/mev.cparse_legacy_mouse_mode1361View Report
Unused codeDead initializationsrc/pty.ccchild_setup1891View Report
Unused codeDead initializationsrc/parser-test.cctest_seq_string2611View Report
Logic errorDereference of null pointersrc/ring.ccget_hyperlink_at_position68515View Report
Logic errorDereference of null pointersrc/reflect.cmain31214View Report
Logic errorDereference of null pointer_build/tmp-introspectmb6194wk/Bte-2.91.cmain79912View Report
Logic errorDereference of null pointersrc/reflect.cupdate_contents9713View Report
Logic errorDereference of null pointersrc/bidi.ccexplicit_line_shape24434View Report
Logic errorDivision by zerosrc/decoder-cat.ccprint_benchmark52914View Report
Logic errorOut-of-bound accesssrc/keymap.cc_bte_keymap_key_add_key_modifiers101542View Report
Logic errorOut-of-bound accesssrc/ringview.ccset_rows15416View Report
Logic errorOut-of-bound accesssrc/keymap.cc_bte_keymap_key_add_key_modifiers102244View Report
Logic errorOut-of-bound accesssrc/parser-glue.hhassert_equal_full75421View Report
Logic errorOut-of-bound array accesssrc/xticker.cmain11525View Report
Logic errorResult of operation is garbage or undefinedsrc/bteseq.ccXTERM_WM861713View Report
Logic errorResult of operation is garbage or undefinedsrc/color-triple.hhbte_color_triple_set_back6060View Report
Logic errorResult of operation is garbage or undefinedsrc/bte.ccdraw_cells_with_attributes862348View Report
Logic errorResult of operation is garbage or undefinedsrc/color-triple.hhbte_color_triple_set_fore5458View Report
Logic errorResult of operation is garbage or undefinedsrc/bteseq.ccDECSTBM47562View Report
Logic errorUninitialized argument valuesrc/ringview.ccupdate24531View Report
Logic errorUninitialized argument valuesrc/ringview.ccupdate26130View Report
Logic errorUninitialized argument valuesrc/bte.ccfudge_pango_colors838962View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_property6201View Report
Unused codeUnreachable codesrc/bte.ccbte_terminal_vadjustment_value_changed_cb76251View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_real_paste_clipboard2001View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_match_remove28061View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_focus_out3441View Report
Unused codeUnreachable codesrc/reflect.cmain3141View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_feed_child35551View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_colors44011View Report
Unused codeUnreachable codesrc/widget.ccim_preedit_changed_cb851View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_select_all30121View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_search_set_regex28951View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_leave3811View Report
Unused codeUnreachable codesrc/bteaccess.ccbte_terminal_accessible_set_selection15161View Report
Unused codeUnreachable codesrc/btectk.ccbte_get_encodings22391View Report
Unused codeUnreachable codesrc/bteregex.ccbte_regex_jit1921View Report
Unused codeUnreachable codesrc/btepty.ccbte_pty_child_setup1341View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_has_selection50551View Report
Unused codeUnreachable codesrc/icu-decoder.ccdecode1081View Report
Unused codeUnreachable codesrc/bteregex.ccbte_regex_substitute2411View Report
Unused codeUnreachable codesrc/widget.ccim_retrieve_surrounding_cb971View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_draw4441View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_highlight_foreground43371View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_reset37651View Report
Unused codeUnreachable codesrc/bteaccess.ccbte_terminal_accessible_set_size15941View Report
Unused codeUnreachable codesrc/bte.ccemit_eof_idle_cb7871View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_cursor_foreground42491View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_paste_clipboard23901View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_bold41981View Report
Unused codeUnreachable codesrc/btectk.ccspawn_async_cb33071View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_style_updated2111View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_search_set_wrap_around29741View Report
Unused codeUnreachable codesrc/parser.ccparser_feed_to_state13891View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_char_height40711View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_background41651View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_match_add_regex24631View Report
Unused codeUnreachable codesrc/reaper.ccmain1821View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_feed_child_binary35861View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_property8521View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_cursor_foreground42561View Report
Unused codeUnreachable codesrc/btectk.ccset_error_from_exception57241View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_focus_in3291View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_cursor_position30571View Report
Unused codeUnreachable codesrc/bteseq.ccXTERM_WM86171View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_colors43991View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_key_press2271View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_constructed5381View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_map4891View Report
Unused codeUnreachable codesrc/widget.ccsettings_notify_cb1301View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_enter3591View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_unselect_all30311View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_char_width40931View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_color_background_for_draw56011View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_match_check25081View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_text_range37301View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_match_set_cursor_type27571View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_search_get_regex29181View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_button_release3001View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_init5531View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_button_press2861View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_unmap5081View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_colors43921View Report
Unused codeUnreachable codesrc/reaper.ccmain1891View Report
Unused codeUnreachable codesrc/bte.ccreaper_child_exited_cb31011View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_preferred_width4041View Report
Unused codeUnreachable codesrc/bteseq.ccDECSTBM47781View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_colors43881View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_scrollable_get_border20421View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_feed35261View Report
Unused codeUnreachable codesrc/reflect.cmain3171View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_copy_clipboard_format23481View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_init5801View Report
Unused codeUnreachable codesrc/widget.cckey_event_from_cdk3611View Report
Unused codeUnreachable codesrc/bteaccess.ccbte_terminal_accessible_remove_selection14841View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_search_find_previous28461View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_bold41911View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_unrealize4771View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_row_count52751View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_event_check_regex_array26111View Report
Unused codeUnreachable codesrc/bteseq.ccDECSTBM47821View Report
Unused codeUnreachable codesrc/btectk.ccexception_append_to_string56721View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_spawn_sync32101View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_write_contents_sync55411View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_realize4581View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_property7491View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_screen_changed5211View Report
Unused codeUnreachable codesrc/btectk.ccset_error_from_exception57201View Report
Unused codeUnreachable codesrc/widget.ccim_commit_cb441View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_cursor42261View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_search_find_next28681View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_colors43701View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_colors43851View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_match_remove_all28251View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_real_copy_clipboard1891View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_size_allocate4311View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_highlight43081View Report
Unused codeUnreachable codesrc/widget.ccim_delete_surrounding_cb1131View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_highlight43011View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_preferred_height4181View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_get_column_count44351View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_size37881View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_cursor42191View Report
Unused codeUnreachable codesrc/widget.cc~Widget1561View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_foreground42751View Report
Unused codeUnreachable codesrc/btepty.ccbte_pty_set_utf82581View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_paste_primary24121View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_motion_notify2721View Report
Unused codeUnreachable codesrc/bteaccess.ccbte_terminal_accessible_initialize7181View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_match_set_cursor_name27821View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_match_check_event25411View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_colors43981View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_copy_clipboard23171View Report
Unused codeUnreachable codesrc/bteregex.ccbte_regex_new_for_search1651View Report
Unused codeUnreachable codesrc/widget.ccim_preedit_end_cb721View Report
Unused codeUnreachable codesrc/bteseq.ccDECSTBM47571View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_copy_primary23691View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_key_release2581View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_finalize6041View Report
Unused codeUnreachable codesrc/btepty.ccbte_pty_initable_init3051View Report
Unused codeUnreachable codesrc/bte.ccemit_child_exited_idle_cb8221View Report
Unused codeUnreachable codesrc/bteregex.ccbte_regex_new_for_match1271View Report
Unused codeUnreachable codesrc/btepty.ccbte_pty_get_size2211View Report
Unused codeUnreachable codesrc/bteseq.ccSCORC68811View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_color_highlight_foreground43301View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_match_set_cursor27301View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_dispose5881View Report
Unused codeUnreachable codesrc/bteaccess.ccbte_terminal_accessible_get_selection14281View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_clear_background55691View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_set_default_colors44171View Report
Unused codeUnreachable codesrc/widget.ccim_preedit_start_cb591View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_scroll3141View Report
Unused codeUnreachable codesrc/btepty.ccbte_pty_finalize3571View Report
Unused codeUnreachable codesrc/btectk.ccbte_get_encoding_supported22741View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_search_get_wrap_around29931View Report
Unused codeUnreachable codesrc/btectk.ccbte_terminal_hyperlink_check_event25721View Report
Unused codeUnreachable code_build/tmp-introspectmb6194wk/Bte-2.91.cvalue_to_string2391View Report
C++ move semanticsUse-after-movesrc/refptr-test.cctest_glib_refptr815View Report