GithubHelp home page GithubHelp logo

2000jedi / checkedc-clang Goto Github PK

View Code? Open in Web Editor NEW

This project forked from correctcomputation/checkedc-clang

1.0 0.0 0.0 925.55 MB

This is the development repository for the invariant extension for Checked C.

checkedc-clang's Introduction

The Checked C clang repo

This repo contains a version of the LLVM/Clang toolchain that is being modified to support Checked C. Checked C extends C with checking to detect or prevent common programming errors such as out-of-bounds memory accesses. The Checked C specification is available at the Checked C repo.

Announcements

Source code update

On Feb 19, 2021 we updated the checkedc-clang sources to upstream release_110, specifically this commit.

On Feb 18, 2020 we updated the checkedc-clang sources to upstream release_90, specifically this commit.

Transition to monorepo

Early in 2019, the LLVM community transitioned to "monorepo".

We moved Checked C to a monorepo on Oct 30, 2019. This has resulted in the following changes:

  1. checkedc-llvm and checkedc-clang (as well as other LLVM subprojects) are now tracked via a single git repo.

  2. The checkedc-llvm repo will no longer be maintained. The checkedc-clang repo will be the new monorepo.

  3. There will be no changes to the checkedc repo. It will continue to be a separate git repo.

  4. All future patches should be based off this new monorepo.

  5. You can use this script to cherry-pick your existing patches to the new monorepo.

  6. Make sure to set the following CMake flag to enable clang in your builds: -DLLVM_ENABLE_PROJECTS=clang

Trying out Checked C

Programmers are welcome to use Checked C as it is being implemented. We have pre-built compiler installers for Windows available for download on the release page. For other platforms, you will have to build your own copy of the compiler. For directions on how to do this, see the Checked C clang wiki. The compiler user manual is here. For more information on Checked C and pointers to example code, see our Wiki.

3C: Semi-automated conversion of C code to Checked C

This repository includes a tool called 3C that partially automates the conversion of C code to Checked C. Quick documentation links:

More information

For more information on the Checked C clang compiler, see the Checked C clang wiki.

Build Status

Configuration Testing Status
Debug X86 Windows Checked C and clang regression tests Debug X86 Windows status
Debug X64 Windows Checked C and clang regression tests Debug X64 Windows status
Debug X64 Linux Checked C and clang regression tests Debug X64 Linux status
Debug X64 Linux 3C (Checked-C-Convert tool) nightly tests Nightly Sanity Tests
Release X64 Linux Checked C, clang, and LLVM nightly tests Release X64 Linux status

Contributing

We welcome contributions to the Checked C project. To get involved in the project, see Contributing to Checked C. We have a wish list of possible projects there.

For code contributions, we follow the standard Github workflow. See Contributing to Checked C for more detail. You will need to sign a contributor license agreement before contributing code.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

checkedc-clang's People

Contributors

lattner avatar tkremenek avatar douggregor avatar topperc avatar ddunbar avatar espindola avatar zygoloid avatar rksimon avatar d0k avatar rotateright avatar chandlerc avatar akyrtzi avatar arsenm avatar rui314 avatar echristo avatar rnk avatar isanbard avatar chapuni avatar eefriedman avatar dwblaikie avatar rjmccall avatar nico avatar djasper avatar majnemer avatar aaronballman avatar stoklund avatar alexey-bataev avatar tobiasgrosser avatar pcc avatar ericwf avatar

Stargazers

Jie Zhou 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.