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

Add Noreturn attribute in template port for static analysis #1060

Conversation

kar-rahul-aws
Copy link
Member

Description

This PR adds the _Noreturn attribute in the coverity example configuration where a function is used that does not return.

Test Steps

NA

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

1057

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

@kar-rahul-aws kar-rahul-aws requested a review from a team as a code owner May 16, 2024 09:53
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@markhermeling
Copy link

Confirmed, this makes the warning go away. There is one warning that remains on main(), but as that is the application, I think you can argue that is a valid deviation.

@kar-rahul-aws
Copy link
Member Author

Thank you for the confirmation. We will merge this PR.

@kar-rahul-aws kar-rahul-aws merged commit 0801c91 into FreeRTOS:main May 16, 2024
16 checks passed
@kar-rahul-aws kar-rahul-aws deleted the update_template_port_for_static_analysis branch May 16, 2024 15:41
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.

4 participants