llvm-project/clang
Anna Zaks 126a2ef920 [analyzer] Add basic format string vulnerability checking.
We already have a more conservative check in the compiler (if the
format string is not a literal, we warn). Still adding it here for
completeness and since this check is stronger - only triggered if the
format string is tainted.

llvm-svn: 147714
2012-01-07 02:33:10 +00:00
..
INPUTS Enhance the CFG construction to detect no-return destructors for 2011-09-13 06:09:01 +00:00
bindings/python Add CXX_FINAL_ATTR, CXX_OVERRIDE_ATTR, ANNOTATE_ATTR and ASM_LABEL_ATTR to the 2011-12-30 15:27:22 +00:00
docs [asan] mention -fno-omit-frame-pointer in the docs 2012-01-06 17:35:27 +00:00
examples remove unneeded config.h includes 2011-12-22 22:49:47 +00:00
include [analyzer] Add basic format string vulnerability checking. 2012-01-07 02:33:10 +00:00
lib [analyzer] Add basic format string vulnerability checking. 2012-01-07 02:33:10 +00:00
runtime runtime/Linux: Include the profile and ASAN libs on x86. 2011-12-07 19:35:10 +00:00
test [analyzer] Add basic format string vulnerability checking. 2012-01-07 02:33:10 +00:00
tools [analyzer] Correct the c++-analyzer symlink 2012-01-06 17:11:23 +00:00
unittests clang/unittests/Basic/SourceManagerTest.cpp: Fixup corresponding to r147387. 2011-12-31 04:25:56 +00:00
utils [analyzer] Correct the error message in the testing infrastructure. 2012-01-04 23:53:50 +00:00
www [analyzer] Update the docs to reflect that gcc is not the only default 2012-01-06 01:54:08 +00:00
.gitignore Revert "Test commit" 2011-10-24 10:03:25 +00:00
CMakeLists.txt Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
INSTALL.txt
LICENSE.TXT Happy new year 2012! 2012-01-01 08:16:56 +00:00
Makefile Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
ModuleInfo.txt
NOTES.txt Make a note about a missing optimization. 2011-07-28 07:41:22 +00:00
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:              http://clang.llvm.org/
Building and using Clang:          http://clang.llvm.org/get_started.html
Clang Static Analyzer:             http://clang-analyzer.llvm.org/
Information on the LLVM project:   http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/