LCOV - code coverage report
Current view: top level - gcc - asan.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 85.0 % 2031 1726
Test Date: 2026-06-06 15:39:20 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 105205
_Z11gate_hwasanv 1715425
_Z11gate_memtagv 1481380
_Z14asan_memfn_rtlP9tree_node 42
_Z14asan_memintrinv 3709
_Z14make_pass_asanPN3gcc7contextE 290237
_Z15add_string_cstsPP24constant_descriptor_treeP25asan_add_string_csts_data 3306
_Z16asan_finish_filev 2458
_Z16hwasan_memintrinv 94
_Z16memtag_memintrinv 24
_Z17count_string_cstsPP24constant_descriptor_treePm 3257
_Z17hwasan_frame_basev 90
_Z17hwasan_sanitize_pv 29361586
_Z17make_pass_asan_O0PN3gcc7contextE 290237
_Z17memtag_sanitize_pv 3043824
_Z18hwasan_finish_filev 270
_Z19asan_function_startv 6191
_Z19asan_protect_globalP9tree_nodeb 21773
_Z19hwassist_sanitize_pv 76614
_Z20asan_expand_mark_ifnP20gimple_stmt_iterator 2080
_Z20asan_mem_ref_get_endP9tree_nodeS0_ 0
_Z20asan_mem_ref_get_endPK12asan_mem_refP9tree_node 0
_Z20hwasan_emit_prologuev 384
_Z21asan_expand_check_ifnP20gimple_stmt_iteratorb 14511
_Z21asan_instrument_readsv 11865
_Z21asan_sanitize_stack_pv 20638047
_Z21maybe_cast_to_ptrmodemP9tree_nodeP20gimple_stmt_iteratorb 0
_Z21stack_vars_base_reg_pP7rtx_def 1975685
_Z22asan_dynamic_init_callb 42
_Z22asan_expand_poison_ifnP20gimple_stmt_iteratorPbR8hash_mapIP9tree_nodeS4_21simple_hashmap_traitsI19default_hash_traitsIS4_ES4_EE 36
_Z22asan_instrument_writesv 10676
_Z22hwasan_expand_mark_ifnP20gimple_stmt_iterator 0
_Z22set_asan_shadow_offsetPKc 11
_Z22set_sanitized_sectionsPKc 40
_Z23asan_sanitize_allocas_pv 1488096
_Z23hwasan_emit_untag_frameP7rtx_defS0_ 384
_Z23hwasan_expand_check_ifnP20gimple_stmt_iteratorb 380
_Z23hwasan_get_frame_extentv 384
_Z23hwasan_instrument_readsv 372
_Z23hwasan_record_stack_varP7rtx_defS0_8poly_intILj1ElES2_ 90
_Z23hwasan_sanitize_stack_pv 27540131
_Z23memtag_sanitize_stack_pv 26034452
_Z24asan_shadow_offset_set_pv 0
_Z24create_cond_insert_pointP20gimple_stmt_iteratorbbbPP15basic_block_defS3_ 18667
_Z24hwasan_current_frame_tagv 180
_Z24hwasan_instrument_writesv 214
_Z24hwasan_record_frame_initv 1128
_Z25hwasan_sanitize_allocas_pv 1487918
_Z25hwassist_sanitize_stack_pv 26038540
_Z25memtag_sanitize_allocas_pv 404
_Z26asan_emit_allocas_unpoisonP7rtx_defS0_P8rtx_insn 178
_Z26asan_emit_stack_protectionP7rtx_defS0_jPlPP9tree_nodei 1657
_Z26hwasan_increment_frame_tagv 90
_Z27hwasan_truncate_to_tag_sizeP7rtx_defS0_ 90
_Z29initialize_sanitizer_builtinsv 38246
_Z33hwasan_maybe_emit_frame_base_initv 384
_Z50asan_maybe_insert_dynamic_shadow_at_function_entryP8function 6257
_ZL10check_funcbblPi 103
_ZL14asan_pp_stringP14pretty_printer 11609
_ZL15asan_add_globalP9tree_nodeS0_P3vecI15constructor_elt5va_gc8vl_embedE 3918
_ZL15asan_instrumentv 6438
_ZL15shadow_mem_sizem 2072
_ZL16asan_mem_ref_newP9tree_nodel 30610
_ZL16build_check_stmtmP9tree_nodeS0_lP20gimple_stmt_iteratorbbbbj 15123
_ZL16is_odr_indicatorP9tree_node 8142
_ZL17asan_clear_shadowP7rtx_defl 2250
_ZL17asan_mem_ref_initP12asan_mem_refP9tree_nodel 132885
_ZL17hwasan_check_funcbblPi 380
_ZL17instrument_derefsP20gimple_stmt_iteratorP9tree_nodemb 22541
_ZL17report_error_funcbblPi 14439
_ZL18asan_global_structv 1056
_ZL18asan_shadow_offsetv 18737
_ZL19section_sanitized_pPKc 270
_ZL20create_odr_indicatorP9tree_nodeS0_ 1247
_ZL20get_last_alloca_addrv 400
_ZL20transform_statementsv 6438
_ZL21handle_builtin_allocaP5gcallP20gimple_stmt_iterator 398
_ZL21maybe_create_ssa_namemP9tree_nodeP20gimple_stmt_iteratorb 15123
_ZL21maybe_instrument_callP20gimple_stmt_iterator 21752
_ZL22asan_needs_local_aliasP9tree_node 3918
_ZL22create_asan_shadow_varP9tree_nodeR8hash_mapIS0_S0_21simple_hashmap_traitsI19default_hash_traitsIS0_ES0_EE 31
_ZL22free_mem_ref_resourcesv 6438
_ZL22get_mem_ref_hash_tablev 68854
_ZL23asan_store_shadow_bytesP20gimple_stmt_iteratormP9tree_nodembjj 2141
_ZL23build_shadow_mem_accessP20gimple_stmt_iteratormP9tree_nodeS2_b 17080
_ZL23instrument_builtin_callP20gimple_stmt_iterator 3709
_ZL24empty_mem_ref_hash_tablev 34908
_ZL25get_mem_ref_of_assignmentPK7gassignP12asan_mem_refPb 26015
_ZL25update_mem_ref_hash_tableP9tree_nodel 30622
_ZL26asan_init_shadow_ptr_typesv 2461
_ZL26asan_needs_odr_indicator_pP9tree_node 3918
_ZL26insert_if_then_before_iterP5gcondP20gimple_stmt_iteratorbPP15basic_block_defS5_ 0
_ZL27maybe_instrument_assignmentP20gimple_stmt_iterator 24161
_ZL28asan_dynamic_shadow_offset_pv 24994
_ZL28get_mem_refs_of_builtin_callP5gcallP12asan_mem_refPP9tree_nodePbS2_S5_S6_S2_S5_S6_S6_S6_P20gimple_stmt_iterator 7406
_ZL28handle_builtin_stack_restoreP5gcallP20gimple_stmt_iterator 410
_ZL28has_stmt_been_instrumented_pP6gimple 157734
_ZL28instrument_mem_region_accessP9tree_nodeS0_P20gimple_stmt_iteratormb 0
_ZL29has_mem_ref_been_instrumentedP9tree_nodel 38232
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_ref 22784
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_refP9tree_node 858
_ZL31maybe_update_mem_ref_hash_tableP9tree_nodeS0_ 1364
_ZL43get_asan_shadow_memory_dynamic_address_declv 0
_ZL9gate_asanv 1487818
_ZN12_GLOBAL__N_112pass_asan_O04gateEP8function 1487701
_ZN12_GLOBAL__N_112pass_asan_O07executeEP8function 1406
_ZN12_GLOBAL__N_19pass_asan4gateEP8function 1049930
_ZN12_GLOBAL__N_19pass_asan5cloneEv 290237
_ZN12_GLOBAL__N_19pass_asan7executeEP8function 5032
_ZN19asan_mem_ref_hasher4hashEPK12asan_mem_ref 201765
_ZN19asan_redzone_buffer13flush_if_fullEv 21616
_ZN19asan_redzone_buffer17emit_redzone_byteElh 21616
_ZN19asan_redzone_buffer21flush_redzone_payloadEv 6048

Generated by: LCOV version 2.4-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.