| commit | b87b1b36eea885786dface81cf487eaffec58796 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Fri Aug 10 20:18:51 2007 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Fri Aug 10 20:18:51 2007 +0000 |
| tree | e72509b7fe58d851c2a8cf1290259ed00e5cd7ce | |
| parent | d79671fdf29b51285d620d64425290c6c24def0f [diff] |
initial support for checking format strings, patch by Ted Kremenek: "I've coded up some support in clang to flag warnings for non-constant format strings used in calls to printf-like functions (all the functions listed in "man fprintf"). Non-constant format strings are a source of many security exploits in C/C++ programs, and I believe are currently detected by gcc using the flag -Wformat-nonliteral." llvm-svn: 41003