[PATCH] D70878: [analyzer] Add support for namespaces to GenericTaintChecker
Borsik Gábor via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 1 11:13:44 PST 2019
boga95 created this revision.
boga95 added reviewers: NoQ, Szelethus.
boga95 added a project: clang.
Herald added subscribers: cfe-commits, Charusso, donat.nagy, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware.
Now the user can define a `Scope` for every configured function:
- Functions without `Scope` match for every function regardless of the namespace.
- Functions with `Scope` will match if the full name of the function is start with the `Scope`.
- Multiple functions can exist with the same name.
I also added support for member functions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70878
Files:
clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
clang/test/Analysis/Inputs/taint-generic-config.yaml
clang/test/Analysis/taint-generic.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70878.231621.patch
Type: text/x-patch
Size: 20127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191201/48c900be/attachment-0001.bin>
More information about the cfe-commits
mailing list