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 Compliance Update #121

Merged
merged 15 commits into from
Aug 17, 2022
Merged

MISRA Compliance Update #121

merged 15 commits into from
Aug 17, 2022

Conversation

Skptak
Copy link
Member

@Skptak Skptak commented Jul 14, 2022

Put inline suppression for a comparison related to the SIZE_MAX macro.

Soren Ptak added 2 commits July 12, 2022 21:39
SDE.
Put inline supression for a comparison related to the SIZE_MAX macro.
Want to get clarification about the line before putting a change in.
@Skptak Skptak changed the title Misra updates MISRA Compliance Update Jul 22, 2022
@Skptak Skptak requested a review from ravibhagavandas July 22, 2022 00:54
jasonpcarroll
jasonpcarroll previously approved these changes Jul 22, 2022
…ion in source file to match new formatting

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Remove extra set of square brackets

Co-authored-by: Aniruddha Kanhere <[email protected]>
Soren Ptak and others added 4 commits August 15, 2022 15:03
violation. It was flagged because it believed that the if statement
comparison was invariant. This could be proven as a bug by assigning the
variable a value larger than the comparison, and then still receiving
the violation. A logic change has been made to get around this, but it
now fails CBMC proofs. Trying a different if statement to see if this
passes checks.
skipOneHexEscape() I believe proof was found that shows the MISRA
violation is a false flag. Due to this I believe that this should simply
receive a suppression and the focus should be on the CBMC proofs.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@Skptak Skptak requested a review from ravibhagavandas August 16, 2022 18:18
@AniruddhaKanhere AniruddhaKanhere merged commit e3d7f27 into FreeRTOS:main Aug 17, 2022
@Skptak Skptak deleted the misraUpdates branch December 16, 2022 22:51
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.

None yet

5 participants