EntryPoints-EntriesByMacro¶
Consider routines where the signature comes from a macro expansion of selected macros as externally called entry points
Required inputs: IR
This rule identifies additional entry points based on macros used to expand the routine declaration.
This rule typically is used to easily add entry points where your code uses a macro to form the declaration of functions which are IRQ handlers or similar. For example:
#define ISR(name) my_##name void ISR(interrupt)();
Configuration of entry points is required for dead code analysis and static semantic analysis.
Possible Messages
This rule has no predefined messages.
Options¶
The following places define options that affect this rule: Analysis-GlobalOptions
macros¶
macros : set[bauhaus.analysis.config.GlobPattern] = {'ISR', 'TASK'}