[analyzer] Mark getenv output as tainted.
Also, allow adding taint to a region (not only a symbolic value). llvm-svn: 146532
Showing
- clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp 1 addition, 0 deletionsclang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
- clang/lib/StaticAnalyzer/Core/ProgramState.cpp 9 additions, 2 deletionsclang/lib/StaticAnalyzer/Core/ProgramState.cpp
- clang/test/Analysis/taint-tester.c 10 additions, 0 deletionsclang/test/Analysis/taint-tester.c
Loading
Please register or sign in to comment