]> granicus.if.org Git - clang/commit
Add security syntax checker for strcpy() which causes the Static Analyzer to generate...
authorLenny Maiorani <lenny@colorado.edu>
Thu, 31 Mar 2011 22:09:14 +0000 (22:09 +0000)
committerLenny Maiorani <lenny@colorado.edu>
Thu, 31 Mar 2011 22:09:14 +0000 (22:09 +0000)
commit5b67a82a2621c148694ff0f0352aa949b363934c
tree3501983f96dba6ffd692a6abcb398f857ead32d6
parentb8b875be7b2d177d755641c6212111859372d611
Add security syntax checker for strcpy() which causes the Static Analyzer to generate a warning any time the strcpy() function is used with a note suggesting to use a function which provides bounded buffers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
test/Analysis/security-syntax-checks.m