Skip to content

MISRA Addon for cppcheck static analysis #338

@0xsninja

Description

@0xsninja

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I reviewed the cFS README.md file to see if the feature is in the major future work.
  • I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Is your feature request related to a problem? Please describe.
Currently the cppcheck static analysis workflow does not include MISRA addons. Adding the MISRA addons allows for a more thorough static analysis check.

Describe the solution you'd like
Using the cppcheck addon for MISRA, the current workflow has been modified to include the MISRA addons.

Describe alternatives you've considered
Alternatives might be a separate MISRA check workflow, but this way is more consolidated and easier.

Additional context
The cppcheck addon used can be found here: https://github.com/danmar/cppcheck/blob/main/addons/README.md
The MISRA Python addon is here: https://github.com/danmar/cppcheck/blob/main/addons/misra.py

Requester Info
Adrian Schalk
[email protected]
Goddard summer Intern under Ariel Adams
Midshipman, USN, US Naval Academy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions