OpenCyphal / libcanard

A compact implementation of the Cyphal/CAN protocol in C for high-integrity real-time embedded systems
http://opencyphal.org
MIT License
327 stars 192 forks source link

Try GitHub CodeQL #214

Closed pavel-kirienko closed 18 hours ago

pavel-kirienko commented 1 year ago

No thanks, I'm just looking.

pavel-kirienko commented 1 year ago

Hey @thirtytwobits what do you make of this?

https://github.com/OpenCyphal/libcanard/security/code-scanning?query=is%3Aopen+pr%3A214

I am yet to enable AUTOSAR scanning but so far it does not look too promising. There is no built-in method for narrowing the scope of analysis to the production code only; thankfully, an external tool is available for this, but its interface is a bit rough. Of the 21 issues reported after the filtering, all are false-positives, of which there are two kinds:

So far I am inclined to pass on CodeQL and perhaps revisit it a year later.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information