-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Related area
Security
Hardware specification
N/A
Is your feature request related to a problem?
Beyond compiler warnings/errors tinyusb doesn't currently leverage static analysis to prevent bugs.
Describe the solution you'd like
I'd like to propose integrating clang-tidy into the continuous integration workflow. It's worth noting that clang-tidy is also capable of many other things statically like;
- Identifying bugprone coding patterns.
- Identifying usage of insecure functions.
- Identifying performance problems.
- Identifying readibility issues.
In particular you might find this particular github action useful. It takes the cmd line output of clang-tidy and creates github reviews. https://github.com/marketplace/actions/clang-tidy-review.
I have checked existing issues, dicussion and documentation
- I confirm I have checked existing issues, dicussion and documentation.
Reactions are currently unavailable