codeql-coding-standards

This repository contains CodeQL queries and libraries which support various Coding Standards. (by github)

Codeql-coding-standards Alternatives

Similar projects and alternatives to codeql-coding-standards

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better codeql-coding-standards alternative or higher similarity.

codeql-coding-standards reviews and mentions

Posts with mentions or reviews of codeql-coding-standards. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-17.
  • Misra C++:2023 Published
    4 projects | news.ycombinator.com | 17 Dec 2023
  • Porsche Open Source Platform
    1 project | news.ycombinator.com | 12 Nov 2023
    This comment chain appears to have a fundamental misconception of what constitutes safe and what does not.

    Automotive standards and automotive coding standards approach safety in a different way than most people think (and given your comments I would say this includes you). If you're curious, you can have a look at some rules to evaluate automotive code that are published here: https://github.com/github/codeql-coding-standards

    In short, the rules do not aim to eliminate failure or crashes, but rather make the crash predictable and uniform when a crash occurs so that it can be dealt with. This is further complicated by where and how the automotive manufacture chooses to implement safety controls. It is entirely possible to have a bunch of unsafe code running somewhere on a car, and simply have a small safety shim around said code that prevents the unsafe code from impacting the safe operation of the vehicle.

    With that in mind, let's take the example that you use here of emissions cheating software. Emissions is likely not considered safety relevant (it might not even be QM, it just might be some code) and so no safety requirement applies to it. So, no real scrutiny would happen there regardless, at least from a safety perspective. See, validating that software passes a particular safety certification is time and money intensive and manufacturers therefore keep the amount of code that they qualify as safe to a minimum. This means as an example that the infotainment systems of many manufacturers are not safety relevant and no safety function should exist on or interact with them.

    A few other things to consider from other threads:

    - Telsa doesn't necessarily follow or adhere to safety standards. They (Telsa) are explicitly non-compliant in some cases, and this is partially why there are investigations into their practices.

    - Industrial robotics code is just as bad if not worse than most automotive software from what I've seen. As you note, its that these robots are not under manual control

    - None of this prevents the software from being open source. There are plenty of safety qualified open source projects. This simply limits who can contribute and how contributions are managed. The main reason why many things in automotive are not open source is that the ECU manufacturer isn't interested in doing so, and the Tier 1/2/3 that does the implementation is even less so.

  • CodeQL support for Autosar and Cert C++
    1 project | news.ycombinator.com | 23 Jul 2022
  • A note from our sponsor - WorkOS
    workos.com | 28 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic codeql-coding-standards repo stats
3
105
9.8
2 days ago

github/codeql-coding-standards is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of codeql-coding-standards is CodeQL.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com