LCOV - code coverage report
Current view: top level - gcc - asan.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 85.5 % 2017 1724
Test Date: 2025-04-26 15:52:03 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
_Z20asan_mem_ref_get_endP9tree_nodeS0_ 0
_Z20asan_mem_ref_get_endPK12asan_mem_refP9tree_node 0
_Z21maybe_cast_to_ptrmodemP9tree_nodeP20gimple_stmt_iteratorb 0
_Z22hwasan_expand_mark_ifnP20gimple_stmt_iterator 0
_Z24asan_shadow_offset_set_pv 0
_ZL15shadow_mem_sizem 0
_ZL16asan_mem_ref_newP9tree_nodel 0
_ZL17asan_mem_ref_initP12asan_mem_refP9tree_nodel 0
_ZL26insert_if_then_before_iterP5gcondP20gimple_stmt_iteratorbPP15basic_block_defS5_ 0
_ZL28instrument_mem_region_accessP9tree_nodeS0_P20gimple_stmt_iteratormb 0
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_ref 0
_ZL43get_asan_shadow_memory_dynamic_address_declv 0
_ZL9gate_asanv 0
_Z22set_asan_shadow_offsetPKc 10
_ZL22create_asan_shadow_varP9tree_nodeR8hash_mapIS0_S0_21simple_hashmap_traitsI19default_hash_traitsIS0_ES0_EE 31
_Z22asan_expand_poison_ifnP20gimple_stmt_iteratorPbR8hash_mapIP9tree_nodeS4_21simple_hashmap_traitsI19default_hash_traitsIS4_ES4_EE 36
_Z22set_sanitized_sectionsPKc 40
_Z14asan_memfn_rtlP9tree_node 42
_Z22asan_dynamic_init_callb 42
_Z17hwasan_frame_basev 88
_Z23hwasan_record_stack_varP7rtx_defS0_8poly_intILj1ElES2_ 88
_Z26hwasan_increment_frame_tagv 88
_Z27hwasan_truncate_to_tag_sizeP7rtx_defS0_ 88
_Z16hwasan_memintrinv 95
_ZL10check_funcbblPi 103
_Z24hwasan_current_frame_tagv 176
_Z26asan_emit_allocas_unpoisonP7rtx_defS0_P8rtx_insn 178
_Z24hwasan_instrument_writesv 212
_Z18hwasan_finish_filev 262
_ZL19section_sanitized_pPKc 270
_Z23hwasan_instrument_readsv 371
_Z20hwasan_emit_prologuev 377
_Z23hwasan_emit_untag_frameP7rtx_defS0_ 377
_Z23hwasan_expand_check_ifnP20gimple_stmt_iteratorb 377
_Z23hwasan_get_frame_extentv 377
_Z33hwasan_maybe_emit_frame_base_initv 377
_ZL17hwasan_check_funcbblPi 377
_ZL21handle_builtin_allocaP5gcallP20gimple_stmt_iterator 398
_ZL20get_last_alloca_addrv 400
_ZL28handle_builtin_stack_restoreP5gcallP20gimple_stmt_iterator 410
_ZL29has_mem_ref_been_instrumentedPK12asan_mem_refP9tree_node 725
_ZL18asan_global_structv 1037
_ZL31maybe_update_mem_ref_hash_tableP9tree_nodeS0_ 1102
_Z24hwasan_record_frame_initv 1121
_ZL20create_odr_indicatorP9tree_nodeS0_ 1249
_Z20asan_expand_mark_ifnP20gimple_stmt_iterator 1307
_ZN12_GLOBAL__N_112pass_asan_O07executeEP8function 1307
_ZL23asan_store_shadow_bytesP20gimple_stmt_iteratormP9tree_nodembjj 1366
_Z26asan_emit_stack_protectionP7rtx_defS0_jPlPP9tree_nodei 1442
_ZL17asan_clear_shadowP7rtx_defl 1990
_Z16asan_finish_filev 2295
_ZL26asan_init_shadow_ptr_typesv 2298
_Z17count_string_cstsPP24constant_descriptor_treePm 2952
_Z15add_string_cstsPP24constant_descriptor_treeP25asan_add_string_csts_data 3153
_Z14asan_memintrinv 3181
_ZL23instrument_builtin_callP20gimple_stmt_iterator 3181
_ZL15asan_add_globalP9tree_nodeS0_P3vecI15constructor_elt5va_gc8vl_embedE 3764
_ZL22asan_needs_local_aliasP9tree_node 3764
_ZL26asan_needs_odr_indicator_pP9tree_node 3764
_ZN12_GLOBAL__N_19pass_asan7executeEP8function 4656
_ZN19asan_redzone_buffer21flush_redzone_payloadEv 5381
_Z19asan_function_startv 5723
_Z50asan_maybe_insert_dynamic_shadow_at_function_entryP8function 5782
_ZL15asan_instrumentv 5963
_ZL20transform_statementsv 5963
_ZL22free_mem_ref_resourcesv 5963
_ZL28get_mem_refs_of_builtin_callP5gcallP12asan_mem_refPP9tree_nodePbS2_S5_S6_S2_S5_S6_S6_S6_P20gimple_stmt_iterator 6350
_ZL16is_odr_indicatorP9tree_node 7929
_Z22asan_instrument_writesv 8194
_Z21asan_instrument_readsv 9919
_ZL17report_error_funcbblPi 10706
_Z21asan_expand_check_ifnP20gimple_stmt_iteratorb 10778
_ZL14asan_pp_stringP14pretty_printer 11023
_ZL16build_check_stmtmP9tree_nodeS0_lP20gimple_stmt_iteratorbbbbj 11313
_ZL21maybe_create_ssa_namemP9tree_nodeP20gimple_stmt_iteratorb 11313
_ZL23build_shadow_mem_accessP20gimple_stmt_iteratormP9tree_nodeS2_b 12527
_ZL18asan_shadow_offsetv 13969
_Z24create_cond_insert_pointP20gimple_stmt_iteratorbbbPP15basic_block_defS3_ 14364
_ZL17instrument_derefsP20gimple_stmt_iteratorP9tree_nodemb 18113
_ZL21maybe_instrument_callP20gimple_stmt_iterator 18148
_ZN19asan_redzone_buffer13flush_if_fullEv 19219
_ZN19asan_redzone_buffer17emit_redzone_byteElh 19219
_ZL27maybe_instrument_assignmentP20gimple_stmt_iterator 19540
_ZL28asan_dynamic_shadow_offset_pv 19751
_Z19asan_protect_globalP9tree_nodeb 20490
_ZL25get_mem_ref_of_assignmentPK7gassignP12asan_mem_refPb 21201
_ZL25update_mem_ref_hash_tableP9tree_nodel 22974
_ZL24empty_mem_ref_hash_tablev 28478
_ZL29has_mem_ref_been_instrumentedP9tree_nodel 29871
_Z29initialize_sanitizer_builtinsv 36588
_ZL22get_mem_ref_hash_tablev 52845
_Z11asan_mark_pP6gimple15asan_mark_flags 76221
_ZL28has_stmt_been_instrumented_pP6gimple 125781
_ZN19asan_mem_ref_hasher4hashEPK12asan_mem_ref 136232
_Z14make_pass_asanPN3gcc7contextE 277917
_Z17make_pass_asan_O0PN3gcc7contextE 277917
_ZN12_GLOBAL__N_19pass_asan5cloneEv 277917
_ZN12_GLOBAL__N_19pass_asan4gateEP8function 1022530
_ZN12_GLOBAL__N_112pass_asan_O04gateEP8function 1443927
_Z25hwasan_sanitize_allocas_pv 1444146
_Z23asan_sanitize_allocas_pv 1444324
_Z11gate_hwasanv 1662871
_Z21stack_vars_base_reg_pP7rtx_def 1963904
_Z21asan_sanitize_stack_pv 20307822
_Z23hwasan_sanitize_stack_pv 27148590
_Z17hwasan_sanitize_pv 28895493

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.