Checked C is an extension to C that lets programmers write C code that is guaranteed by the compiler to be type-safe. The goal is to let people easily make their existing C code type-safe and eliminate entire classes of errors. Checked C does not address use-after-free errors. This repo has a wiki for Checked C, sample code, the specification, and test code.
Перейти к файлу
Anna Kornfeld Simpson 295cd1e286
Add a .gitignore file for executables (#293)
* Add a .gitignore entry for .out files (which may appear in the sample directory)
* Add Windows executables to .gitignore
2018-07-26 09:48:20 -07:00
include Add header guards (#295) 2018-07-26 09:48:02 -07:00
papers/dynamic_checks Technical Report Number 2 (#248) 2018-01-22 13:22:39 -08:00
samples Rename BOUNDS_CHECKED pragma to CHECKED_SCOPE. (#282) 2018-04-26 16:31:50 -07:00
spec Update version number to 0.8 draft (#286) 2018-06-08 08:40:44 -07:00
tests Validate that _Nt_checked type array initializers are null terminated (#289) 2018-07-24 10:16:50 -07:00
.gitignore Add a .gitignore file for executables (#293) 2018-07-26 09:48:20 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2018-03-17 11:18:07 -07:00
LICENSE.TXT Update copyright notice. 2016-06-13 11:03:35 -07:00
MAILING-LISTS.md Update README.md and other md files. (#77) 2016-11-22 12:01:16 -08:00
README.md Update README.md 2018-05-09 12:58:47 -07:00
WishList.md Add a wish list of projects. (#27) 2016-06-15 09:44:04 -07:00

README.md

Checked C

Checked C adds static and dynamic checking to C to detect or prevent common programming errors such as buffer overruns and out-of-bounds memory accesses. The goal of the project is to improve systems programming by making fundamental improvements to C. This repo contains sample code, the extension specification, and test code.

  • For a quick overview of Checked C and more information, see our Wiki.
  • The PDF of the specifcation is available here.
  • Compilers are available here.

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
Release X64 Linux Checked C, clang, and LLVM nightly tests Release X64 Linux status

Participating

We're happy to have the help! You can contribute by trying out Checked C, reporting bugs, and giving us feedback. There are other ways to contribute too. You can join the mailing lists for announcements about the project.

Licensing

The software in this repository is covered by the MIT license. See the file LICENSE.TXT for the license. The Checked C specification is made available by Microsoft under the OpenWeb Foundation Final Specification Agreement, version 1.0. Contributions of code to the Checked LLVM/clang repos are subject to the CLANG/LLVM licensing terms.

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 opencode@microsoft.com with any additional questions or comments.