6.2.8. DeadCodeDetection¶
Find dead functions in the RFG
Required inputs: RFG
This rule identifies dead routines
Dead code reduces code readability and maintainability.
This rule does not modify the RFG
(use Architecture-DeadCodeView to
generate a Dead Code view).
Possible Messages
This rule has no predefined messages.
6.2.8.1. Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, includes, justification_checker, post_processing
The following places define options that affect this rule: Analysis-GlobalOptions
advanced¶
Options that are normally not required
advanced.base_view : str =
Name of the base view where to search for dead code'Code Facts'
advanced.entries_view : str =
Name of the entries view providing the entry points for alive functions'Entries'
advanced.merge_copies : bool =
Whether all copies of a function (due to missing dllexport) should be considered alive as soon as one of them is aliveTrue