aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorGabor Borsik <gabor.borsik@gmail.com>2019-07-28 13:38:04 +0000
committerGabor Borsik <gabor.borsik@gmail.com>2019-07-28 13:38:04 +0000
commit4bde15fe1e4a320b6f198588af4c73316e4d3dc9 (patch)
tree7f5a9f9eb84c82975c5a696f7874c97803fedd58 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parentd5bc4b09f11b794deecdfd2aabe5f870369c45ef (diff)
downloadllvm-4bde15fe1e4a320b6f198588af4c73316e4d3dc9.zip
llvm-4bde15fe1e4a320b6f198588af4c73316e4d3dc9.tar.gz
llvm-4bde15fe1e4a320b6f198588af4c73316e4d3dc9.tar.bz2
[analyzer] Add yaml parser to GenericTaintChecker
While we implemented taint propagation rules for several builtin/standard functions, there's a natural desire for users to add such rules to custom functions. A series of patches will implement an option that allows users to annotate their functions with taint propagation rules through a YAML file. This one adds parsing of the configuration file, which may be specified in the commands line with the analyzer config: alpha.security.taint.TaintPropagation:Config. The configuration may contain propagation rules, filter functions (remove taint) and sink functions (give a warning if it gets a tainted value). I also added a new header for future checkers to conveniently read YAML files as checker options. Differential Revision: https://reviews.llvm.org/D59555 llvm-svn: 367190
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions