EntryPoints-EntriesByName¶
Consider routines matching the given name pattern as externally called entry points
Required inputs: IR
This rule identifies additional entry points based on their name.
This rule typically is used to easily add entry points where your code has no special markup for these entry points. You can simply enumerate the relevant functions here (globbing patterns are supported). The name used in this rule is the qualified name of the function, that is, it includes enclosing scope information. If you need higher precision (e.g, to distinguish overloads), you can instead use EntryPoints-EntriesByLinkname. For example:
void my_interrupt(); void my_other_interrupt();
Cases like these would be found by this rule when you add
*interrupt* to the names.
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
names¶
names : set[bauhaus.analysis.config.GlobPattern] = {'DllMain'}
*_HandlerMyClass::my_method*::executeApiWrapper::*