checkedc-clang

此repo包含一个被修改为支持Checked C的clang版本.Custed C是C的扩展,它添加了检查以检测或防止常见的编程错误,例如越界内存访问。(This repo contains a version of clang that is being modified to support Checked C. Checked C is an extension to C that adds checking to detect or prevent common programming errors such as out-of-bounds memory accesses.)

  • Owner: microsoft/checkedc-clang
  • Platform: BSD, Linux, Mac, Solaris, Unix-like, Windows
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Announcement

Earlier this year, 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

We are hiring.

We have positions available for a Principal Software
Engineer

and a Senior Software
Engineer
.
We are looking for an engineer who has production compiler development
experience and who values shipping software.

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.

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

Overview

Name With Ownermicrosoft/checkedc-clang
Primary Language
Program languageCMake (Language Count: 0)
PlatformBSD, Linux, Mac, Solaris, Unix-like, Windows
License:
Release Count179
Last Release NameCheckedC-Clang-12.0.1-rel3 (Posted on )
First Release Namellvmorg-1.0.0 (Posted on 2003-10-24 20:17:46)
Created At2016-06-07 20:43:32
Pushed At2023-09-27 16:31:01
Last Commit At2022-11-14 09:04:55
Stargazers Count491
Watchers Count45
Fork Count79
Commits Count456.5k
Has Issues Enabled
Issues Count518
Issue Open Count176
Pull Requests Count582
Pull Requests Open Count3
Pull Requests Close Count90
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top