appliedfusa/csa26 — MISRA-C:2012 Pre-Audit
Pre-audit MISRA-C:2012 checker for embedded C. Runs in your CI, curated 20-rule subset, Apache-2.0.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| src-dir | Directory in the checked-out repository to analyse (recursive). | no | . |
| rule-set | Rule set to check against. Currently only "misra-c-2012" is supported. | no | misra-c-2012 |
| severity-threshold | Minimum severity to report. One of: error, warning, note. | no | warning |
| fail-on-findings | If "true", the action exits non-zero when at least one finding is reported. Default "false" — findings are surfaced but do not break the build. | no | false |
| sarif-output | Path (relative to the workspace) where the SARIF file is written. | no | csa26.sarif |
| include-paths | Newline-separated list of include paths (relative to the workspace). Required for real embedded code that references vendor SDKs and project header trees. Example: include-paths: | vendor/cmsis/include src/include | no | "" |
| defines | Newline-separated list of preprocessor defines, each entry NAME or NAME=VALUE. Example: defines: | STM32F407xx USE_HAL_DRIVER | no | "" |
| undefines | Newline-separated list of preprocessor symbols to undefine. | no | "" |
Outputs
| name | description |
|---|---|
| sarif-file | Absolute path to the generated SARIF file. |
| finding-count | Total number of findings at or above the severity threshold. |