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-05-11 19:44:49 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 109459
_Z11gate_hwasanv 1701498
_Z11gate_memtagv 1468916
_Z14asan_memfn_rtlP9tree_node 42
_Z14asan_memintrinv 3667
_Z14make_pass_asanPN3gcc7contextE 288047
_Z15add_string_cstsPP24constant_descriptor_treeP25asan_add_string_csts_data 3290
_Z16asan_finish_filev 2445
_Z16hwasan_memintrinv 95
_Z16memtag_memintrinv 24
_Z17count_string_cstsPP24constant_descriptor_treePm 3244
_Z17hwasan_frame_basev 87
_Z17hwasan_sanitize_pv 29080067
_Z17make_pass_asan_O0PN3gcc7contextE 288047
_Z17memtag_sanitize_pv 3017344
_Z18hwasan_finish_filev 271
_Z19asan_function_startv 6154
_Z19asan_protect_globalP9tree_nodeb 21666
_Z19hwassist_sanitize_pv 75089
_Z20asan_expand_mark_ifnP20gimple_stmt_iterator 1940
_Z20asan_mem_ref_get_endP9tree_nodeS0_ 0
_Z20asan_mem_ref_get_endPK12asan_mem_refP9tree_node 0
_Z20hwasan_emit_prologuev 386
_Z21asan_expand_check_ifnP20gimple_stmt_iteratorb 14217
_Z21asan_instrument_readsv 11642
_Z21asan_sanitize_stack_pv 20528096
_Z21maybe_cast_to_ptrmodemP9tree_nodeP20gimple_stmt_iteratorb 0
_Z21stack_vars_base_reg_pP7rtx_def 1960257
_Z22asan_dynamic_init_callb 42
_Z22asan_expand_poison_ifnP20gimple_stmt_iteratorPbR8hash_mapIP9tree_nodeS4_21simple_hashmap_traitsI19default_hash_traitsIS4_ES4_EE 36
_Z22asan_instrument_writesv 10460
_Z22hwasan_expand_mark_ifnP20gimple_stmt_iterator 0
_Z22set_asan_shadow_offsetPKc 11
_Z22set_sanitized_sectionsPKc 40
_Z23asan_sanitize_allocas_pv 1475609
_Z23hwasan_emit_untag_frameP7rtx_defS0_ 386
_Z23hwasan_expand_check_ifnP20gimple_stmt_iteratorb 375
_Z23hwasan_get_frame_extentv 386
_Z23hwasan_instrument_readsv 370
_Z23hwasan_record_stack_varP7rtx_defS0_8poly_intILj1ElES2_ 87
_Z23hwasan_sanitize_stack_pv 27274539
_Z23memtag_sanitize_stack_pv 25781389
_Z24asan_shadow_offset_set_pv 0
_Z24create_cond_insert_pointP20gimple_stmt_iteratorbbbPP15basic_block_defS3_ 18381
_Z24hwasan_current_frame_tagv 174
_Z24hwasan_instrument_writesv 211
_Z24hwasan_record_frame_initv 1130
_Z25hwasan_sanitize_allocas_pv 1475427
_Z25hwassist_sanitize_stack_pv 25785446
_Z25memtag_sanitize_allocas_pv 416
_Z26asan_emit_allocas_unpoisonP7rtx_defS0_P8rtx_insn 182
_Z26asan_emit_stack_protectionP7rtx_defS0_jPlPP9tree_nodei 1645
_Z26hwasan_increment_frame_tagv 87
_Z27hwasan_truncate_to_tag_sizeP7rtx_defS0_ 87
_Z29initialize_sanitizer_builtinsv 38255
_Z33hwasan_maybe_emit_frame_base_initv 386
_Z50asan_maybe_insert_dynamic_shadow_at_function_entryP8function 6222
_ZL10check_funcbblPi 103
_ZL14asan_pp_stringP14pretty_printer 11558
_ZL15asan_add_globalP9tree_nodeS0_P3vecI15constructor_elt5va_gc8vl_embedE 3905
_ZL15asan_instrumentv 6403
_ZL15shadow_mem_sizem 1932
_ZL16asan_mem_ref_newP9tree_nodel 29898
_ZL16build_check_stmtmP9tree_nodeS0_lP20gimple_stmt_iteratorbbbbj 14772
_ZL16is_odr_indicatorP9tree_node 8090
_ZL17asan_clear_shadowP7rtx_defl 2224
_ZL17asan_mem_ref_initP12asan_mem_refP9tree_nodel 130169
_ZL17hwasan_check_funcbblPi 375
_ZL17instrument_derefsP20gimple_stmt_iteratorP9tree_nodemb 22102
_ZL17report_error_funcbblPi 14145
_ZL18asan_global_structv 1051
_ZL18asan_shadow_offsetv 18291
_ZL19section_sanitized_pPKc 270
_ZL20create_odr_indicatorP9tree_nodeS0_ 1248
_ZL20get_last_alloca_addrv 412
_ZL20transform_statementsv 6403
_ZL21handle_builtin_allocaP5gcallP20gimple_stmt_iterator 406
_ZL21maybe_create_ssa_namemP9tree_nodeP20gimple_stmt_iteratorb 14772
_ZL21maybe_instrument_callP20gimple_stmt_iterator 21468
_ZL22asan_needs_local_aliasP9tree_node 3905
_ZL22create_asan_shadow_varP9tree_nodeR8hash_mapIS0_S0_21simple_hashmap_traitsI19default_hash_traitsIS0_ES0_EE 31
_ZL22free_mem_ref_resourcesv 6403
_ZL22get_mem_ref_hash_tablev 67367
_ZL23asan_store_shadow_bytesP20gimple_stmt_iteratormP9tree_nodembjj 1999
_ZL23build_shadow_mem_accessP20gimple_stmt_iteratormP9tree_nodeS2_b 16646
_ZL23instrument_builtin_callP20gimple_stmt_iterator 3667
_ZL24empty_mem_ref_hash_tablev 34674
_ZL25get_mem_ref_of_assignmentPK7gassignP12asan_mem_refPb 25582
_ZL25update_mem_ref_hash_tableP9tree_nodel 29910
_ZL26asan_init_shadow_ptr_typesv 2448
_ZL26asan_needs_odr_indicator_pP9tree_node 3905
_ZL26insert_if_then_before_iterP5gcondP20gimple_stmt_iteratorbPP15basic_block_defS5_ 0
_ZL27maybe_instrument_assignmentP20gimple_stmt_iterator 23744
_ZL28asan_dynamic_shadow_offset_pv 24513
_ZL28get_mem_refs_of_builtin_callP5gcallP12asan_mem_refPP9tree_nodePbS2_S5_S6_S2_S5_S6_S6_S6_P20gimple_stmt_iterator 7322
_ZL28handle_builtin_stack_restoreP5gcallP20gimple_stmt_iterator 426
_ZL28has_stmt_been_instrumented_pP6gimple 157379
_ZL28instrument_mem_region_accessP9tree_nodeS0_P20gimple_stmt_iteratormb 0
_ZL29has_mem_ref_been_instrumentedP9tree_nodel 37457
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_ref 22369
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_refP9tree_node 851
_ZL31maybe_update_mem_ref_hash_tableP9tree_nodeS0_ 1350
_ZL43get_asan_shadow_memory_dynamic_address_declv 0
_ZL9gate_asanv 1475319
_ZN12_GLOBAL__N_112pass_asan_O04gateEP8function 1475202
_ZN12_GLOBAL__N_112pass_asan_O07executeEP8function 1391
_ZN12_GLOBAL__N_19pass_asan4gateEP8function 1041946
_ZN12_GLOBAL__N_19pass_asan5cloneEv 288047
_ZN12_GLOBAL__N_19pass_asan7executeEP8function 5012
_ZN19asan_mem_ref_hasher4hashEPK12asan_mem_ref 197510
_ZN19asan_redzone_buffer13flush_if_fullEv 21370
_ZN19asan_redzone_buffer17emit_redzone_byteElh 21370
_ZN19asan_redzone_buffer21flush_redzone_payloadEv 5945

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.