Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misra updates #67

Merged
merged 13 commits into from
Aug 19, 2022
Merged

Misra updates #67

merged 13 commits into from
Aug 19, 2022

Conversation

Skptak
Copy link
Member

@Skptak Skptak commented Aug 5, 2022

Changes to MISRA.md to reflect new format.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Soren Ptak and others added 8 commits July 11, 2022 21:51
MISRA.md Show resolved Hide resolved
To find the violation references in the source files run grep on the source code
with ( Assuming rule 11.4 violation; with justification in point 2 ):
```
grep 'MISRA Ref 11.1.4' . -rI
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

grep is typically only found on unix operating systems by default. could we not just add the grep output in a table here? why make users run it themselves?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied the grep from FreeRTOS+TCP MISRA changes as seen here, as I was told to make the formatting of these files/MISRA changes the same across the various repos.
Since this repo currently doesn't have any suppressed violations I see nothing wrong with removing the grep and just stating that in the file for now, I had left it there to be consistent was all.
I imagine the general idea for the inclusion of the grep instead of the table is to handle line changes when commits happen. For example corePKCS11 has upwards of 50-60 inline suppressions, so adding a table to that would require a bit of overhead to ensure it stays accurate.

source/jobs.c Outdated Show resolved Hide resolved
source/jobs.c Outdated Show resolved Hide resolved
source/jobs.c Outdated Show resolved Hide resolved
@jasonpcarroll jasonpcarroll merged commit cf4b233 into aws:main Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants