LCOV - code coverage report
Current view: top level - gcc - asan.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 85.1 % 2037 1733
Test Date: 2026-12-05 16:10:02 Functions: 92.9 % 113 105
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_Z11asan_mark_pP6gimple15asan_mark_flags 106249
_Z11gate_hwasanv 1769112
_Z11gate_memtagv 1525049
_Z14asan_memfn_rtlP9tree_node 42
_Z14asan_memintrinv 5476
_Z14make_pass_asanPN3gcc7contextE 302985
_Z15add_string_cstsPP24constant_descriptor_treeP25asan_add_string_csts_data 3776
_Z16asan_finish_filev 2590
_Z16hwasan_memintrinv 94
_Z16memtag_memintrinv 24
_Z17count_string_cstsPP24constant_descriptor_treePm 3670
_Z17hwasan_frame_basev 88
_Z17hwasan_sanitize_pv 37188937
_Z17make_pass_asan_O0PN3gcc7contextE 302985
_Z17memtag_sanitize_pv 3167528
_Z18hwasan_finish_filev 340
_Z19asan_function_startv 6718
_Z19asan_protect_globalP9tree_nodeb 24689
_Z19hwassist_sanitize_pv 112579
_Z20asan_expand_mark_ifnP20gimple_stmt_iterator 2149
_Z20asan_mem_ref_get_endP9tree_nodeS0_ 0
_Z20asan_mem_ref_get_endPK12asan_mem_refP9tree_node 0
_Z20hwasan_emit_prologuev 454
_Z21asan_expand_check_ifnP20gimple_stmt_iteratorb 24904
_Z21asan_instrument_readsv 17184
_Z21asan_sanitize_stack_pv 21371438
_Z21maybe_cast_to_ptrmodemP9tree_nodeP20gimple_stmt_iteratorb 0
_Z21stack_vars_base_reg_pP7rtx_def 2051520
_Z22asan_dynamic_init_callb 42
_Z22asan_expand_poison_ifnP20gimple_stmt_iteratorPbR8hash_mapIP9tree_nodeS4_21simple_hashmap_traitsI19default_hash_traitsIS4_ES4_EE 64
_Z22asan_instrument_writesv 16560
_Z22hwasan_expand_mark_ifnP20gimple_stmt_iterator 0
_Z22set_asan_shadow_offsetPKc 11
_Z22set_sanitized_sectionsPKc 40
_Z23asan_sanitize_allocas_pv 1532294
_Z23hwasan_emit_untag_frameP7rtx_defS0_ 454
_Z23hwasan_expand_check_ifnP20gimple_stmt_iteratorb 376
_Z23hwasan_get_frame_extentv 454
_Z23hwasan_instrument_readsv 370
_Z23hwasan_record_stack_varP7rtx_defS0_8poly_intILj1ElES2_ 88
_Z23hwasan_sanitize_stack_pv 35261709
_Z23memtag_sanitize_stack_pv 33710513
_Z24asan_shadow_offset_set_pv 0
_Z24create_cond_insert_pointP20gimple_stmt_iteratorbbbPP15basic_block_defS3_ 29056
_Z24hwasan_current_frame_tagv 176
_Z24hwasan_instrument_writesv 212
_Z24hwasan_record_frame_initv 1198
_Z25hwasan_sanitize_allocas_pv 1532116
_Z25hwassist_sanitize_stack_pv 33715301
_Z25memtag_sanitize_allocas_pv 404
_Z26asan_emit_allocas_unpoisonP7rtx_defS0_P8rtx_insn 178
_Z26asan_emit_stack_protectionP7rtx_defS0_jPlPP9tree_nodei 1794
_Z26hwasan_increment_frame_tagv 88
_Z27hwasan_truncate_to_tag_sizeP7rtx_defS0_ 88
_Z29initialize_sanitizer_builtinsv 38993
_Z33hwasan_maybe_emit_frame_base_initv 454
_Z50asan_maybe_insert_dynamic_shadow_at_function_entryP8function 6854
_ZL10check_funcbblPi 103
_ZL14asan_pp_stringP14pretty_printer 13455
_ZL15asan_add_globalP9tree_nodeS0_P3vecI15constructor_elt5va_gc8vl_embedE 4577
_ZL15asan_instrumentv 7035
_ZL15shadow_mem_sizem 2096
_ZL16asan_mem_ref_newP9tree_nodel 48486
_ZL16build_check_stmtmP9tree_nodeS0_lP20gimple_stmt_iteratorbbbbj 24028
_ZL16is_odr_indicatorP9tree_node 9379
_ZL17asan_clear_shadowP7rtx_defl 2648
_ZL17asan_mem_ref_initP12asan_mem_refP9tree_nodel 204380
_ZL17hwasan_check_funcbblPi 376
_ZL17instrument_derefsP20gimple_stmt_iteratorP9tree_nodemb 33744
_ZL17report_error_funcbblPi 24860
_ZL18asan_global_structv 1122
_ZL18asan_shadow_offsetv 29888
_ZL19section_sanitized_pPKc 270
_ZL20create_odr_indicatorP9tree_nodeS0_ 1272
_ZL20get_last_alloca_addrv 400
_ZL20transform_statementsv 7035
_ZL21handle_builtin_allocaP5gcallP20gimple_stmt_iterator 398
_ZL21maybe_create_ssa_namemP9tree_nodeP20gimple_stmt_iteratorb 24028
_ZL21maybe_instrument_callP20gimple_stmt_iterator 24601
_ZL22asan_needs_local_aliasP9tree_node 4577
_ZL22create_asan_shadow_varP9tree_nodeR8hash_mapIS0_S0_21simple_hashmap_traitsI19default_hash_traitsIS0_ES0_EE 59
_ZL22free_mem_ref_resourcesv 7035
_ZL22get_mem_ref_hash_tablev 107027
_ZL23asan_store_shadow_bytesP20gimple_stmt_iteratormP9tree_nodembjj 2193
_ZL23build_shadow_mem_accessP20gimple_stmt_iteratormP9tree_nodeS2_b 28094
_ZL23instrument_builtin_callP20gimple_stmt_iterator 5476
_ZL24empty_mem_ref_hash_tablev 41441
_ZL25get_mem_ref_of_assignmentPK7gassignP12asan_mem_refPb 37927
_ZL25update_mem_ref_hash_tableP9tree_nodel 48498
_ZL26asan_init_shadow_ptr_typesv 2593
_ZL26asan_needs_odr_indicator_pP9tree_node 4577
_ZL26insert_if_then_before_iterP5gcondP20gimple_stmt_iteratorbPP15basic_block_defS5_ 0
_ZL27maybe_instrument_assignmentP20gimple_stmt_iterator 35656
_ZL28asan_dynamic_shadow_offset_pv 36742
_ZL28get_mem_refs_of_builtin_callP5gcallP12asan_mem_refPP9tree_nodePbS2_S5_S6_S2_S5_S6_S6_S6_P20gimple_stmt_iterator 10940
_ZL28handle_builtin_stack_restoreP5gcallP20gimple_stmt_iterator 410
_ZL28has_stmt_been_instrumented_pP6gimple 188388
_ZL28instrument_mem_region_accessP9tree_nodeS0_P20gimple_stmt_iteratormb 0
_ZL29has_mem_ref_been_instrumentedP9tree_nodel 58529
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_ref 34085
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_refP9tree_node 1151
_ZL31maybe_update_mem_ref_hash_tableP9tree_nodeS0_ 1926
_ZL43get_asan_shadow_memory_dynamic_address_declv 0
_ZL9gate_asanv 1532084
_ZN12_GLOBAL__N_112pass_asan_O04gateEP8function 1531899
_ZN12_GLOBAL__N_112pass_asan_O07executeEP8function 1614
_ZN12_GLOBAL__N_19pass_asan4gateEP8function 1070735
_ZN12_GLOBAL__N_19pass_asan5cloneEv 302985
_ZN12_GLOBAL__N_19pass_asan7executeEP8function 5421
_ZN19asan_mem_ref_hasher4hashEPK12asan_mem_ref 342018
_ZN19asan_redzone_buffer13flush_if_fullEv 24231
_ZN19asan_redzone_buffer17emit_redzone_byteElh 24231
_ZN19asan_redzone_buffer21flush_redzone_payloadEv 6919

Generated by: LCOV version 2.6-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.