diff options
| author | Anna Zaks <ganna@apple.com> | 2011-12-17 00:26:34 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2011-12-17 00:26:34 +0000 |
| commit | 3b0ab206d27e74bdd94f525c1f6bf11ad1824ba3 (patch) | |
| tree | c8619d2f5cbf848123b85829d30cb8baf8935a37 /clang/lib/Sema/SemaDecl.cpp | |
| parent | 9de45554e1141bfa72a459e215ceba23cdd175b6 (diff) | |
| download | bcm5719-llvm-3b0ab206d27e74bdd94f525c1f6bf11ad1824ba3.tar.gz bcm5719-llvm-3b0ab206d27e74bdd94f525c1f6bf11ad1824ba3.zip | |
[analyzer] Add support for taint flowing through a function (atoi).
Check if the input parameters are tainted (or point to tainted data) on
a checkPreStmt<CallExpr>. If the output should be tainted, record it in
the state. On post visit (checkPostStmt<CallExpr>), use the state to
make decisions (in addition to the existing logic). Use this logic for
atoi and fscanf.
llvm-svn: 146793
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions

