Returns violations linked to nodes that are still present in the AST after correction.
Returns the user-provided configuration that assists in violation correction, if provided. Otherwise, returns undefined.
Loads the JSON config file and transforms it into an internal Map representation. If the file does not exist, logs an error and exits the process.
Returns all violations found in the source code.
Registers a new violation of the standard
Identifier of the violated rule
Joinpoint where the error was detected
Description of the error
Registers the type of transformation a rule applied to a AST node
Identifier of the violated rule
Applied transformation
Returns the type of transformation applied by the specified rule to the given AST node. If no transformation was recorded, returns undefined.
Identifier of the violated rule
AST node
The type of transformation applied, or undefined if none was recorded.
Displays violations linked to nodes that are still present in the AST after correction.
Displays all violations found in the source code.
Clears stored information.
Tracks MISRA-C violations during the analysis and/or transformation of the code. Also generates unique variable and function names.