MISRA context for error tracking and rule transformations state
ReadonlyanalysisScope of analysis
Protected ReadonlyappliesStandards to which this rule applies to
ProtectedcontextReadonlypriorityA positive integer starting from 1 that indicates the rule's priority, determining the order in which rules are applied.
List of dependent visits, which is empty by default
Rule identifier according to MISRA-C:2012
An alias for 'name'
ProtectedappliesVerifies if the rule applies to the standard being used
Transforms every implicit call by adding a missing include directive or extern statement specified on the config file.
Joinpoint to transform
Report detailing the transformation result
Returns the prefix to be used for error messages related to the given joinpoint
Joinpoint where the violation was detected
Returns a prefix to prepend to error messages if no configuration is specified or if the configuration does not contain a fix for this violation
Retrieves the fix for a implicit call specified on the config file (.h or .c)
Initial value stored in the shared context
ProtectedlogLogs a MISRA-C rule violation error
The joinpoint where the violation occurred
Description of the violation
Checks if the given joinpoint represents a call to an implicit function.
Joinpoint to analyze
[logErrors=false] - Whether to log errors if a violation is detected
Returns true if the joinpoint violates the rule, false otherwise
ProtectedrebuildRebuilds the program based on the current AST, clears stored data in the shared context, and resets all caches
MISRA-C Rule 17.3: A function shall not be declared implicitly