LCOV - code coverage report
Current view: top level - gcc - asan.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 85.4 % 1998 1706
Test Date: 2025-07-12 13:27:34 Functions: 87.7 % 106 93
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
_Z11asan_mark_pP6gimple15asan_mark_flags 81687
_Z11gate_hwasanv 1672177
_Z14asan_memfn_rtlP9tree_node 42
_Z14asan_memintrinv 3526
_Z14make_pass_asanPN3gcc7contextE 284673
_Z15add_string_cstsPP24constant_descriptor_treeP25asan_add_string_csts_data 3274
_Z16asan_finish_filev 2426
_Z16hwasan_memintrinv 95
_Z17count_string_cstsPP24constant_descriptor_treePm 3151
_Z17hwasan_frame_basev 88
_Z17hwasan_sanitize_pv 29201581
_Z17make_pass_asan_O0PN3gcc7contextE 284673
_Z18hwasan_finish_filev 310
_Z19asan_function_startv 6068
_Z19asan_protect_globalP9tree_nodeb 21383
_Z20asan_expand_mark_ifnP20gimple_stmt_iterator 1387
_Z20asan_mem_ref_get_endP9tree_nodeS0_ 0
_Z20asan_mem_ref_get_endPK12asan_mem_refP9tree_node 0
_Z20hwasan_emit_prologuev 425
_Z21asan_expand_check_ifnP20gimple_stmt_iteratorb 12553
_Z21asan_instrument_readsv 10951
_Z21asan_sanitize_stack_pv 20710965
_Z21maybe_cast_to_ptrmodemP9tree_nodeP20gimple_stmt_iteratorb 0
_Z21stack_vars_base_reg_pP7rtx_def 1989659
_Z22asan_dynamic_init_callb 42
_Z22asan_expand_poison_ifnP20gimple_stmt_iteratorPbR8hash_mapIP9tree_nodeS4_21simple_hashmap_traitsI19default_hash_traitsIS4_ES4_EE 36
_Z22asan_instrument_writesv 9400
_Z22hwasan_expand_mark_ifnP20gimple_stmt_iterator 0
_Z22set_asan_shadow_offsetPKc 10
_Z22set_sanitized_sectionsPKc 40
_Z23asan_sanitize_allocas_pv 1450239
_Z23hwasan_emit_untag_frameP7rtx_defS0_ 425
_Z23hwasan_expand_check_ifnP20gimple_stmt_iteratorb 377
_Z23hwasan_get_frame_extentv 425
_Z23hwasan_instrument_readsv 371
_Z23hwasan_record_stack_varP7rtx_defS0_8poly_intILj1ElES2_ 88
_Z23hwasan_sanitize_stack_pv 27434347
_Z24asan_shadow_offset_set_pv 0
_Z24create_cond_insert_pointP20gimple_stmt_iteratorbbbPP15basic_block_defS3_ 16404
_Z24hwasan_current_frame_tagv 176
_Z24hwasan_instrument_writesv 212
_Z24hwasan_record_frame_initv 1169
_Z25hwasan_sanitize_allocas_pv 1450061
_Z26asan_emit_allocas_unpoisonP7rtx_defS0_P8rtx_insn 178
_Z26asan_emit_stack_protectionP7rtx_defS0_jPlPP9tree_nodei 1551
_Z26hwasan_increment_frame_tagv 88
_Z27hwasan_truncate_to_tag_sizeP7rtx_defS0_ 88
_Z29initialize_sanitizer_builtinsv 37440
_Z33hwasan_maybe_emit_frame_base_initv 425
_Z50asan_maybe_insert_dynamic_shadow_at_function_entryP8function 6175
_ZL10check_funcbblPi 103
_ZL14asan_pp_stringP14pretty_printer 11488
_ZL15asan_add_globalP9tree_nodeS0_P3vecI15constructor_elt5va_gc8vl_embedE 3912
_ZL15asan_instrumentv 6356
_ZL15shadow_mem_sizem 0
_ZL16asan_mem_ref_newP9tree_nodel 0
_ZL16build_check_stmtmP9tree_nodeS0_lP20gimple_stmt_iteratorbbbbj 13201
_ZL16is_odr_indicatorP9tree_node 8108
_ZL17asan_clear_shadowP7rtx_defl 2118
_ZL17asan_mem_ref_initP12asan_mem_refP9tree_nodel 0
_ZL17hwasan_check_funcbblPi 377
_ZL17instrument_derefsP20gimple_stmt_iteratorP9tree_nodemb 20351
_ZL17report_error_funcbblPi 12481
_ZL18asan_global_structv 1049
_ZL18asan_shadow_offsetv 16090
_ZL19section_sanitized_pPKc 270
_ZL20create_odr_indicatorP9tree_nodeS0_ 1248
_ZL20get_last_alloca_addrv 400
_ZL20transform_statementsv 6356
_ZL21handle_builtin_allocaP5gcallP20gimple_stmt_iterator 398
_ZL21maybe_create_ssa_namemP9tree_nodeP20gimple_stmt_iteratorb 13201
_ZL21maybe_instrument_callP20gimple_stmt_iterator 19670
_ZL22asan_needs_local_aliasP9tree_node 3912
_ZL22create_asan_shadow_varP9tree_nodeR8hash_mapIS0_S0_21simple_hashmap_traitsI19default_hash_traitsIS0_ES0_EE 31
_ZL22free_mem_ref_resourcesv 6356
_ZL22get_mem_ref_hash_tablev 60814
_ZL23asan_store_shadow_bytesP20gimple_stmt_iteratormP9tree_nodembjj 1446
_ZL23build_shadow_mem_accessP20gimple_stmt_iteratormP9tree_nodeS2_b 14539
_ZL23instrument_builtin_callP20gimple_stmt_iterator 3526
_ZL24empty_mem_ref_hash_tablev 30878
_ZL25get_mem_ref_of_assignmentPK7gassignP12asan_mem_refPb 23697
_ZL25update_mem_ref_hash_tableP9tree_nodel 26758
_ZL26asan_init_shadow_ptr_typesv 2429
_ZL26asan_needs_odr_indicator_pP9tree_node 3912
_ZL26insert_if_then_before_iterP5gcondP20gimple_stmt_iteratorbPP15basic_block_defS5_ 0
_ZL27maybe_instrument_assignmentP20gimple_stmt_iterator 21893
_ZL28asan_dynamic_shadow_offset_pv 22265
_ZL28get_mem_refs_of_builtin_callP5gcallP12asan_mem_refPP9tree_nodePbS2_S5_S6_S2_S5_S6_S6_S6_P20gimple_stmt_iterator 7040
_ZL28handle_builtin_stack_restoreP5gcallP20gimple_stmt_iterator 410
_ZL28has_stmt_been_instrumented_pP6gimple 135834
_ZL28instrument_mem_region_accessP9tree_nodeS0_P20gimple_stmt_iteratormb 0
_ZL29has_mem_ref_been_instrumentedP9tree_nodel 34056
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_ref 0
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_refP9tree_node 780
_ZL31maybe_update_mem_ref_hash_tableP9tree_nodeS0_ 1212
_ZL43get_asan_shadow_memory_dynamic_address_declv 0
_ZL9gate_asanv 0
_ZN12_GLOBAL__N_112pass_asan_O04gateEP8function 1449842
_ZN12_GLOBAL__N_112pass_asan_O07executeEP8function 1432
_ZN12_GLOBAL__N_19pass_asan4gateEP8function 1026840
_ZN12_GLOBAL__N_19pass_asan5cloneEv 284673
_ZN12_GLOBAL__N_19pass_asan7executeEP8function 4924
_ZN19asan_mem_ref_hasher4hashEPK12asan_mem_ref 163998
_ZN19asan_redzone_buffer13flush_if_fullEv 20533
_ZN19asan_redzone_buffer17emit_redzone_byteElh 20533
_ZN19asan_redzone_buffer21flush_redzone_payloadEv 5713

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