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-07-11 15:47:05 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 105508
_Z11gate_hwasanv 1735627
_Z11gate_memtagv 1499317
_Z14asan_memfn_rtlP9tree_node 42
_Z14asan_memintrinv 4382
_Z14make_pass_asanPN3gcc7contextE 292371
_Z15add_string_cstsPP24constant_descriptor_treeP25asan_add_string_csts_data 3462
_Z16asan_finish_filev 2454
_Z16hwasan_memintrinv 94
_Z16memtag_memintrinv 24
_Z17count_string_cstsPP24constant_descriptor_treePm 3386
_Z17hwasan_frame_basev 89
_Z17hwasan_sanitize_pv 29945333
_Z17make_pass_asan_O0PN3gcc7contextE 292371
_Z17memtag_sanitize_pv 3092799
_Z18hwasan_finish_filev 255
_Z19asan_function_startv 6306
_Z19asan_protect_globalP9tree_nodeb 22746
_Z19hwassist_sanitize_pv 89581
_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 369
_Z21asan_expand_check_ifnP20gimple_stmt_iteratorb 18619
_Z21asan_instrument_readsv 13662
_Z21asan_sanitize_stack_pv 21091352
_Z21maybe_cast_to_ptrmodemP9tree_nodeP20gimple_stmt_iteratorb 0
_Z21stack_vars_base_reg_pP7rtx_def 2018000
_Z22asan_dynamic_init_callb 42
_Z22asan_expand_poison_ifnP20gimple_stmt_iteratorPbR8hash_mapIP9tree_nodeS4_21simple_hashmap_traitsI19default_hash_traitsIS4_ES4_EE 36
_Z22asan_instrument_writesv 12618
_Z22hwasan_expand_mark_ifnP20gimple_stmt_iterator 0
_Z22set_asan_shadow_offsetPKc 11
_Z22set_sanitized_sectionsPKc 40
_Z23asan_sanitize_allocas_pv 1506131
_Z23hwasan_emit_untag_frameP7rtx_defS0_ 369
_Z23hwasan_expand_check_ifnP20gimple_stmt_iteratorb 378
_Z23hwasan_get_frame_extentv 369
_Z23hwasan_instrument_readsv 371
_Z23hwasan_record_stack_varP7rtx_defS0_8poly_intILj1ElES2_ 89
_Z23hwasan_sanitize_stack_pv 28084501
_Z23memtag_sanitize_stack_pv 26560935
_Z24asan_shadow_offset_set_pv 0
_Z24create_cond_insert_pointP20gimple_stmt_iteratorbbbPP15basic_block_defS3_ 22775
_Z24hwasan_current_frame_tagv 178
_Z24hwasan_instrument_writesv 213
_Z24hwasan_record_frame_initv 1113
_Z25hwasan_sanitize_allocas_pv 1505953
_Z25hwassist_sanitize_stack_pv 26564921
_Z25memtag_sanitize_allocas_pv 404
_Z26asan_emit_allocas_unpoisonP7rtx_defS0_P8rtx_insn 178
_Z26asan_emit_stack_protectionP7rtx_defS0_jPlPP9tree_nodei 1699
_Z26hwasan_increment_frame_tagv 89
_Z27hwasan_truncate_to_tag_sizeP7rtx_defS0_ 89
_Z29initialize_sanitizer_builtinsv 38119
_Z33hwasan_maybe_emit_frame_base_initv 369
_Z50asan_maybe_insert_dynamic_shadow_at_function_entryP8function 6357
_ZL10check_funcbblPi 103
_ZL14asan_pp_stringP14pretty_printer 12266
_ZL15asan_add_globalP9tree_nodeS0_P3vecI15constructor_elt5va_gc8vl_embedE 4148
_ZL15asan_instrumentv 6538
_ZL15shadow_mem_sizem 2072
_ZL16asan_mem_ref_newP9tree_nodel 37220
_ZL16build_check_stmtmP9tree_nodeS0_lP20gimple_stmt_iteratorbbbbj 18423
_ZL16is_odr_indicatorP9tree_node 8620
_ZL17asan_clear_shadowP7rtx_defl 2375
_ZL17asan_mem_ref_initP12asan_mem_refP9tree_nodel 158463
_ZL17hwasan_check_funcbblPi 378
_ZL17instrument_derefsP20gimple_stmt_iteratorP9tree_nodemb 26280
_ZL17report_error_funcbblPi 18547
_ZL18asan_global_structv 1083
_ZL18asan_shadow_offsetv 22971
_ZL19section_sanitized_pPKc 270
_ZL20create_odr_indicatorP9tree_nodeS0_ 1256
_ZL20get_last_alloca_addrv 400
_ZL20transform_statementsv 6538
_ZL21handle_builtin_allocaP5gcallP20gimple_stmt_iterator 398
_ZL21maybe_create_ssa_namemP9tree_nodeP20gimple_stmt_iteratorb 18423
_ZL21maybe_instrument_callP20gimple_stmt_iterator 22661
_ZL22asan_needs_local_aliasP9tree_node 4148
_ZL22create_asan_shadow_varP9tree_nodeR8hash_mapIS0_S0_21simple_hashmap_traitsI19default_hash_traitsIS0_ES0_EE 31
_ZL22free_mem_ref_resourcesv 6538
_ZL22get_mem_ref_hash_tablev 82550
_ZL23asan_store_shadow_bytesP20gimple_stmt_iteratormP9tree_nodembjj 2141
_ZL23build_shadow_mem_accessP20gimple_stmt_iteratormP9tree_nodeS2_b 21272
_ZL23instrument_builtin_callP20gimple_stmt_iterator 4382
_ZL24empty_mem_ref_hash_tablev 37174
_ZL25get_mem_ref_of_assignmentPK7gassignP12asan_mem_refPb 29941
_ZL25update_mem_ref_hash_tableP9tree_nodel 37232
_ZL26asan_init_shadow_ptr_typesv 2457
_ZL26asan_needs_odr_indicator_pP9tree_node 4148
_ZL26insert_if_then_before_iterP5gcondP20gimple_stmt_iteratorbPP15basic_block_defS5_ 0
_ZL27maybe_instrument_assignmentP20gimple_stmt_iterator 27964
_ZL28asan_dynamic_shadow_offset_pv 29328
_ZL28get_mem_refs_of_builtin_callP5gcallP12asan_mem_refPP9tree_nodePbS2_S5_S6_S2_S5_S6_S6_S6_P20gimple_stmt_iterator 8752
_ZL28handle_builtin_stack_restoreP5gcallP20gimple_stmt_iterator 410
_ZL28has_stmt_been_instrumented_pP6gimple 168785
_ZL28instrument_mem_region_accessP9tree_nodeS0_P20gimple_stmt_iteratormb 0
_ZL29has_mem_ref_been_instrumentedP9tree_nodel 45318
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_ref 26547
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_refP9tree_node 963
_ZL31maybe_update_mem_ref_hash_tableP9tree_nodeS0_ 1574
_ZL43get_asan_shadow_memory_dynamic_address_declv 0
_ZL9gate_asanv 1505855
_ZN12_GLOBAL__N_112pass_asan_O04gateEP8function 1505736
_ZN12_GLOBAL__N_112pass_asan_O07executeEP8function 1390
_ZN12_GLOBAL__N_19pass_asan4gateEP8function 1057512
_ZN12_GLOBAL__N_19pass_asan5cloneEv 292371
_ZN12_GLOBAL__N_19pass_asan7executeEP8function 5148
_ZN19asan_mem_ref_hasher4hashEPK12asan_mem_ref 250610
_ZN19asan_redzone_buffer13flush_if_fullEv 22453
_ZN19asan_redzone_buffer17emit_redzone_byteElh 22453
_ZN19asan_redzone_buffer21flush_redzone_payloadEv 6306

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.