Coder Social home page Coder Social logo

sei-cert-ccs-samples's Introduction

SEI CERT C Coding Standard samples

This repo contains unaltered* copies of all sample code from the rules outlined in the SEI CERT C Coding Standard. Sample code for the standard's various recommendations have not been included and there is no outstanding plan to do so. These source code files are not guaranteed to compile cleanly, or even at all. They are meant for use in gauging the effectiveness of static analyzers against CERT's rules for the C programming language.

* A single, one-line comment has been added to the top of each code sample to help associate it with its parent rule and, if available, provide some context.

Nomenclature

Sample source files are found within the various subdirectories of the rules directory:

  • nc*.c are non-compliant code samples
  • c*.c are compliant code samples

Code samples follow an origin 0 numbering scheme, e.g., the first non-compliant sample for a given rule is named nc0.c, the second nc1.c, and so forth. Code samples are numbered in the order they appear within the body of a rule. Occasionally, a sample is multipart, in which case its parts follow the form, nc0-a.c, nc0-b.c, and so on.

Legal statement

All of the C source code files in the rules directory have been copied directly from the SEI CERT C Coding Standard. Accordingly, all of these source files are Copyright © Carnegie Mellon University. All Rights Reserved.

sei-cert-ccs-samples's People

Contributors

yesmar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.