-
Notifications
You must be signed in to change notification settings - Fork 7.9k
SCA: Add IAR C-STAT support #95331
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
base: main
Are you sure you want to change the base?
SCA: Add IAR C-STAT support #95331
Conversation
Hello @felipe-iar, and thank you very much for your first pull request to the Zephyr project! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds IAR C-STAT static code analysis tool support to the Zephyr Static Code Analysis (SCA) framework. IAR C-STAT is a comprehensive static analysis tool for C/C++ source code that can find errors and vulnerabilities while supporting various coding standards.
- Adds a new SCA variant for IAR C-STAT that integrates with the existing Zephyr SCA framework
- Provides configurable analysis parameters including rulesets, threading, and database options
- Creates documentation explaining installation, usage, and configuration options
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
File | Description |
---|---|
doc/develop/sca/index.rst | Adds IAR to the list of supported SCA tools |
doc/develop/sca/iar.rst | Complete documentation for IAR C-STAT integration including installation, usage, and configuration |
cmake/sca/iar/sca.cmake | CMake implementation that configures IAR C-STAT with customizable parameters and integrates with CMake's ICSTAT support |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
c9fd748
to
e1a7240
Compare
dd11a2a
to
4633132
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there an example of how the output looks?
4633132
to
ea2e418
Compare
This commit adds support for IAR C-STAT Static Analysis in the Zephyr's SCA Framework. By specifying -DZEPHYR_SCA_VARIANT=iar in west, a SQLite database file will be generated under build/sca/iar. Signed-off-by: Felipe Torrezan <felipe.torrezan@iar.com>
ea2e418
to
cc36c29
Compare
|
This PR adds IAR C-STAT support in the Zephyr Static Code Analysis (SCA) framework.
Reference:
<LANG>_ICSTAT
CC: @danielfl-iar, @micaelbo, @RobinKastberg