LCOV - code coverage report
Current view: top level - gcc/analyzer - sm-malloc.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 91.9 % 1029 946
Test Date: 2025-07-12 13:27:34 Functions: 87.5 % 136 119
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
_ZN3ana12_GLOBAL__N_111deallocator3cmpEPKS1_S3_ 0
_ZN3ana12_GLOBAL__N_116free_of_non_heap21describe_state_changeER14pretty_printerRKNS_6evdesc12state_changeE 0
_ZN3ana12_GLOBAL__N_120malloc_state_machine20unaffected_by_call_pEP9tree_node 0
_ZN3ana12_GLOBAL__N_120standard_deallocatorC2EPNS0_20malloc_state_machineEPKcNS0_7wordingE 0
_ZN3ana12_GLOBAL__N_1L11unchecked_pEPKNS_13state_machine5stateE 0
_ZN3ana12_GLOBAL__N_1L18assumed_non_null_pEPKNS_13state_machine5stateE 0
_ZN3ana12_GLOBAL__N_1L25dyn_cast_allocation_stateEPKNS_13state_machine5stateE 0
_ZN3ana12_GLOBAL__N_1L6get_rsEPKNS_13state_machine5stateE 0
_ZN3ana12_GLOBAL__N_1L7freed_pEPKNS_13state_machine5stateE 0
_ZN3ana12_GLOBAL__N_1L7start_pEPKNS_13state_machine5stateE 0
_ZN3ana12_GLOBAL__N_1L9nonnull_pEPKNS_13state_machine5stateE 0
_ZN3ana12region_model28transition_ptr_sval_non_nullEPNS_20region_model_contextEPKNS_6svalueE 0
_ZNK3ana12_GLOBAL__N_111deallocator10dump_to_ppEP14pretty_printer 0
_ZNK3ana12_GLOBAL__N_111deallocator4hashEv 0
_ZNK3ana12_GLOBAL__N_115deallocator_set4dumpEv 0
_ZNK3ana12_GLOBAL__N_120malloc_state_machine28transition_ptr_sval_non_nullEPNS_12region_modelEPNS_12sm_state_mapEPKNS_6svalueERKNS_15extrinsic_stateE 0
_ZNK3ana12_GLOBAL__N_122custom_deallocator_set10dump_to_ppEP14pretty_printer 0
_ZN3ana12_GLOBAL__N_110null_deref24describe_return_of_stateER14pretty_printerRKNS_6evdesc15return_of_stateE 22
_ZN3ana12_GLOBAL__N_113possible_null24describe_return_of_stateER14pretty_printerRKNS_6evdesc15return_of_stateE 26
_ZN3ana12_GLOBAL__N_116free_of_non_heap22mark_interesting_stuffEPNS_13interesting_tE 41
_ZN3ana12_GLOBAL__N_116free_of_non_heap4emitERNS_27diagnostic_emission_contextE 41
_ZN3ana12_GLOBAL__N_117possible_null_arg4emitERNS_27diagnostic_emission_contextE 42
_ZN3ana12_GLOBAL__N_126deallocator_set_map_traits10equal_keysERKPK8auto_vecIPKNS0_11deallocatorELm0EESA_ 44
_ZN3ana12_GLOBAL__N_1L28get_dynalloc_state_for_stateENS0_14resource_stateE 44
_ZNK3ana12_GLOBAL__N_120malloc_state_machine24add_state_to_state_graphERNS_20analyzer_state_graphERKNS_6svalueEPKNS_13state_machine5stateE 44
_ZNK3ana12_GLOBAL__N_116free_of_non_heap16subclass_equal_pERKNS_18pending_diagnosticE 45
_ZNK3ana12_GLOBAL__N_120malloc_state_machine23handle_free_of_non_heapERNS_10sm_contextEPKNS_9supernodeERK5gcallP9tree_nodePKNS0_11deallocatorE 53
_ZN3ana12_GLOBAL__N_118deref_before_check22sufficiently_similar_pEP9tree_nodeS3_ 66
_ZN3ana12_GLOBAL__N_118custom_deallocatorC2EPNS0_20malloc_state_machineEP9tree_nodeNS0_7wordingE 70
_ZN3ana12_GLOBAL__N_18null_arg4emitERNS_27diagnostic_emission_contextE 72
_ZNK3ana12_GLOBAL__N_18null_arg16subclass_equal_pERKNS_18pending_diagnosticE 72
_ZNK3ana12_GLOBAL__N_117possible_null_arg16subclass_equal_pERKNS_18pending_diagnosticE 73
_ZNK3ana12_GLOBAL__N_18null_arg16terminate_path_pEv 73
_ZN3ana12_GLOBAL__N_122custom_deallocator_setC2EPNS0_20malloc_state_machineEPK8auto_vecIPKNS0_11deallocatorELm0EENS0_7wordingE 75
_ZN3ana12_GLOBAL__N_114use_after_free4emitERNS_27diagnostic_emission_contextE 77
_ZN3ana12_GLOBAL__N_111deallocator11cmp_ptr_ptrEPKvS3_ 80
_ZN3ana12_GLOBAL__N_116free_of_non_heap20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 82
_ZN3ana12_GLOBAL__N_117possible_null_arg20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 84
_ZN3ana12_GLOBAL__N_118deref_before_check13loop_header_pERKNS_13program_pointE 88
_ZN3ana12_GLOBAL__N_124mismatching_deallocation4emitERNS_27diagnostic_emission_contextE 88
_ZNK3ana12_GLOBAL__N_116free_of_non_heap22get_controlling_optionEv 94
_ZN3ana12_GLOBAL__N_118deref_before_check4emitERNS_27diagnostic_emission_contextE 110
_ZNK3ana12_GLOBAL__N_124standard_deallocator_set16maybe_get_singleEv 111
_ZN3ana12_GLOBAL__N_1L24inform_nonnull_attributeEP9tree_nodei 114
_ZNK3ana12_GLOBAL__N_117possible_null_arg22get_controlling_optionEv 115
_ZN3ana12_GLOBAL__N_110null_deref4emitERNS_27diagnostic_emission_contextE 121
_ZNK3ana12_GLOBAL__N_114use_after_free12supercedes_pERKNS_18pending_diagnosticE 129
_ZNK3ana12_GLOBAL__N_110null_deref12supercedes_pERKNS_18pending_diagnosticE 138
_ZN3ana12_GLOBAL__N_119possible_null_deref4emitERNS_27diagnostic_emission_contextE 144
_ZN3ana12_GLOBAL__N_18null_arg20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 144
_ZNK3ana12_GLOBAL__N_18null_arg22get_controlling_optionEv 145
_ZN3ana12_GLOBAL__N_118deref_before_checkC2ERKNS0_20malloc_state_machineEP9tree_node 155
_ZN3ana12_GLOBAL__N_114use_after_free20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 156
_ZNK3ana12_GLOBAL__N_110null_deref16terminate_path_pEv 156
_ZN3ana12_GLOBAL__N_118deref_before_check20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 164
_ZN3ana12_GLOBAL__N_118deref_before_check21describe_state_changeER14pretty_printerRKNS_6evdesc12state_changeE 164
_ZN3ana12_GLOBAL__N_114use_after_freeC2ERKNS0_20malloc_state_machineEP9tree_nodePKNS0_11deallocatorE 174
_ZNK3ana12_GLOBAL__N_114use_after_free22get_controlling_optionEv 174
_ZN3ana12_GLOBAL__N_124mismatching_deallocation20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 176
_ZNK3ana12_GLOBAL__N_124mismatching_deallocation22get_controlling_optionEv 182
_ZNK3ana12_GLOBAL__N_117malloc_diagnostic28get_meaning_for_state_changeERKNS_6evdesc12state_changeE 198
_ZN3ana12_GLOBAL__N_124mismatching_deallocation21describe_state_changeER14pretty_printerRKNS_6evdesc12state_changeE 206
_ZN3ana12_GLOBAL__N_126deallocator_set_map_traits4hashERKPK8auto_vecIPKNS0_11deallocatorELm0EE 207
_ZNK3ana12_GLOBAL__N_122custom_deallocator_set10contains_pEPKNS0_11deallocatorE 208
_ZNK3ana12_GLOBAL__N_118deref_before_check22get_controlling_optionEv 209
_ZNK3ana12_GLOBAL__N_120malloc_state_machine39maybe_complain_about_deref_before_checkERNS_10sm_contextEPKNS_9supernodeEPK6gimplePKNS0_22assumed_non_null_stateEP9tree_node 224
_ZN3ana12_GLOBAL__N_110null_deref20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 242
_ZNK3ana12_GLOBAL__N_110null_deref22get_controlling_optionEv 277
_ZN3ana12_GLOBAL__N_119possible_null_deref20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 288
_ZN3ana12_GLOBAL__N_111double_free24describe_call_with_stateER14pretty_printerRKNS_6evdesc15call_with_stateE 300
_ZNK3ana12_GLOBAL__N_122custom_deallocator_set16maybe_get_singleEv 305
_ZNK3ana12_GLOBAL__N_120malloc_state_machine20on_realloc_with_moveEPNS_12region_modelEPNS_12sm_state_mapEPKNS_6svalueES8_RKNS_15extrinsic_stateE 307
_ZN3ana12_GLOBAL__N_120malloc_state_machine25get_or_create_deallocatorEP9tree_node 328
_ZN3ana12_GLOBAL__N_1L23describe_argument_indexEP9tree_nodei 342
_ZN3ana12_GLOBAL__N_114use_after_free21describe_state_changeER14pretty_printerRKNS_6evdesc12state_changeE 348
_ZNK3ana12_GLOBAL__N_122assumed_non_null_state10dump_to_ppEP14pretty_printer 377
_ZN3ana12_GLOBAL__N_113possible_null21describe_state_changeER14pretty_printerRKNS_6evdesc12state_changeE 380
_ZN3ana12_GLOBAL__N_111double_free4emitERNS_27diagnostic_emission_contextE 388
_ZN3ana12_GLOBAL__N_111malloc_leak4emitERNS_27diagnostic_emission_contextE 408
_ZNK3ana12_GLOBAL__N_111malloc_leak15get_final_stateEv 408
_ZNK3ana12_GLOBAL__N_119possible_null_deref22get_controlling_optionEv 434
_ZN3ana12region_model20on_realloc_with_moveERKNS_12call_detailsEPKNS_6svalueES6_ 437
_ZNK3ana12_GLOBAL__N_120malloc_state_machine15on_realloc_callERNS_10sm_contextEPKNS_9supernodeERK5gcall 460
_ZNK3ana12_GLOBAL__N_124standard_deallocator_set10dump_to_ppEP14pretty_printer 462
_ZNK3ana12_GLOBAL__N_116free_of_non_heap8get_kindEv 595
_ZN3ana12_GLOBAL__N_1L8method_pEP9tree_node 666
_ZNK3ana12_GLOBAL__N_18null_arg8get_kindEv 760
_ZN3ana12_GLOBAL__N_111double_free20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 772
_ZN3ana12_GLOBAL__N_111malloc_leak20describe_final_eventER14pretty_printerRKNS_6evdesc11final_eventE 804
_ZNK3ana12_GLOBAL__N_116allocation_state10dump_to_ppEP14pretty_printer 807
_ZNK3ana12_GLOBAL__N_111malloc_leak22get_controlling_optionEv 843
_ZN3ana12_GLOBAL__N_111malloc_leakC2ERKNS0_20malloc_state_machineEP9tree_nodePKNS_13program_stateE 1009
_ZNK3ana12_GLOBAL__N_120malloc_state_machine7on_leakEP9tree_nodePKNS_13program_stateES6_ 1009
_ZN3ana12_GLOBAL__N_111malloc_leak21describe_state_changeER14pretty_printerRKNS_6evdesc12state_changeE 1046
_ZN3ana12_GLOBAL__N_111double_free21describe_state_changeER14pretty_printerRKNS_6evdesc12state_changeE 1048
_ZNK3ana12_GLOBAL__N_117possible_null_arg8get_kindEv 1058
_ZN3ana12_GLOBAL__N_117malloc_diagnostic21describe_state_changeER14pretty_printerRKNS_6evdesc12state_changeE 1108
_ZNK3ana12_GLOBAL__N_110null_deref8get_kindEv 1156
_ZNK3ana12_GLOBAL__N_114use_after_free8get_kindEv 1305
_ZNK3ana12_GLOBAL__N_118deref_before_check8get_kindEv 1584
_ZNK3ana12_GLOBAL__N_124mismatching_deallocation8get_kindEv 1782
_ZNK3ana12_GLOBAL__N_117malloc_diagnostic16subclass_equal_pERKNS_18pending_diagnosticE 2219
_ZN3ana12_GLOBAL__N_120malloc_state_machine35maybe_create_custom_deallocator_setEP9tree_node 2222
_ZNK3ana12_GLOBAL__N_116allocation_state11get_nonnullEv 2236
_ZN3ana12_GLOBAL__N_122assumed_non_null_stateC2EPKcjPKNS_12frame_regionE 2659
_ZNK3ana12_GLOBAL__N_119possible_null_deref8get_kindEv 2986
_ZN3ana12_GLOBAL__N_120malloc_state_machineC2EPNS_6loggerE 3320
_ZN3ana25make_malloc_state_machineEPNS_6loggerE 3320
_ZNK3ana12_GLOBAL__N_120malloc_state_machine18on_zero_assignmentERNS_10sm_contextEPK6gimpleP9tree_node 4171
_ZNK3ana12_GLOBAL__N_111double_free8get_kindEv 4412
_ZNK3ana12_GLOBAL__N_111double_free22get_controlling_optionEv 4865
_ZNK3ana12_GLOBAL__N_124standard_deallocator_set10contains_pEPKNS0_11deallocatorE 5805
_ZN3ana12_GLOBAL__N_120malloc_state_machineD0Ev 6640
_ZN3ana12_GLOBAL__N_120malloc_state_machineD0Ev 3320
_ZN3ana12_GLOBAL__N_120malloc_state_machineD2Ev 3320
_ZNK3ana12_GLOBAL__N_120malloc_state_machine14handle_nonnullERNS_10sm_contextEPKNS_9supernodeEPK6gimpleP9tree_nodeSB_j 7101
_ZNK3ana12_GLOBAL__N_120malloc_state_machine17on_allocator_callERNS_10sm_contextERK5gcallPKNS0_15deallocator_setEb 7598
_ZNK3ana12_GLOBAL__N_111malloc_leak8get_kindEv 9470
_ZN3ana12_GLOBAL__N_124standard_deallocator_setC2EPNS0_20malloc_state_machineEPKcNS0_7wordingE 9960
_ZN3ana12_GLOBAL__N_115deallocator_setC2EPNS0_20malloc_state_machineENS0_7wordingE 10035
_ZN3ana12_GLOBAL__N_1L21as_a_allocation_stateEPKNS_13state_machine5stateE 10703
_ZNK3ana12_GLOBAL__N_120malloc_state_machine19on_deallocator_callERNS_10sm_contextEPKNS_9supernodeERK5gcallPKNS0_11deallocatorEj 12024
_ZN3ana12_GLOBAL__N_111deallocatorC2EPNS0_20malloc_state_machineEPKcNS0_7wordingE 13350
_ZN3ana12_GLOBAL__N_120malloc_state_machine46get_or_create_assumed_non_null_state_for_frameEPKNS_12frame_regionE 14192
_ZNK3ana12_GLOBAL__N_120malloc_state_machine12on_pop_frameEPNS_12sm_state_mapEPKNS_12frame_regionE 23514
_ZNK3ana12_GLOBAL__N_120malloc_state_machine6on_phiERNS_10sm_contextEPKNS_9supernodeEPK4gphiP9tree_node 24021
_ZNK3ana12_GLOBAL__N_120malloc_state_machine21maybe_assume_non_nullERNS_10sm_contextEP9tree_nodePK6gimple 24263
_ZNK3ana12_GLOBAL__N_120malloc_state_machine12on_conditionERNS_10sm_contextEPKNS_9supernodeEPK6gimplePKNS_6svalueE9tree_codeSC_ 30204
_ZNK3ana12_GLOBAL__N_120malloc_state_machine33reset_when_passed_to_unknown_fn_pEPKNS_13state_machine5stateEb 31505
_ZN3ana12_GLOBAL__N_120malloc_state_machine36get_or_create_custom_deallocator_setEP9tree_node 36721
_ZN3ana12_GLOBAL__N_120malloc_state_machine9add_stateEPKcNS0_14resource_stateEPKNS0_15deallocator_setEPKNS0_11deallocatorE 43380
_ZN3ana12_GLOBAL__N_1L17known_allocator_pEPK9tree_nodeRK5gcall 56351
_ZNK3ana12_GLOBAL__N_120malloc_state_machine32maybe_get_merged_states_nonequalEPKNS_13state_machine5stateES5_ 182050
_ZNK3ana12_GLOBAL__N_120malloc_state_machine7on_stmtERNS_10sm_contextEPKNS_9supernodeEPK6gimple 269782
_ZNK3ana12_GLOBAL__N_120malloc_state_machine11can_purge_pEPKNS_13state_machine5stateE 1105824
_ZNK3ana12_GLOBAL__N_120malloc_state_machine17get_default_stateEPKNS_6svalueE 1418785
_ZNK3ana12_GLOBAL__N_120malloc_state_machine17inherited_state_pEv 1550837

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.