File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ 'version': 0,
3+ 'use-external-names': true,
4+ 'roots': [
5+ {
6+ 'name': 'DIR',
7+ 'type': 'directory',
8+ 'contents': [
9+ {
10+ 'name': 'taint-generic-config-virtual.yaml',
11+ 'type': 'file',
12+ 'external-contents': 'DIR/taint-generic-config.yaml'
13+ }
14+ ]
15+ }
16+ ]
17+ }
Original file line number Diff line number Diff line change 1+ // RUN: rm -rf %t && mkdir %t
2+ // RUN: sed -e "s|DIR|%/S/Inputs|g" %S/Inputs/taint-generic-config-vfs.json > %t/taint-generic-config-vfs.json
3+
14// RUN: %clang_analyze_cc1 -Wno-format-security -Wno-pointer-to-int-cast \
25// RUN: -Wno-incompatible-library-redeclaration -verify %s \
36// RUN: -analyzer-checker=optin.taint.GenericTaint \
69// RUN: -analyzer-checker=security.ArrayBound \
710// RUN: -analyzer-checker=debug.ExprInspection \
811// RUN: -analyzer-config \
9- // RUN: optin.taint.TaintPropagation:Config=%S/Inputs/taint-generic-config.yaml
12+ // RUN: optin.taint.TaintPropagation:Config=%S/Inputs/taint-generic-config-virtual.yaml \
13+ // RUN: -ivfsoverlay %t/taint-generic-config-vfs.json
1014
1115// RUN: %clang_analyze_cc1 -Wno-format-security -Wno-pointer-to-int-cast \
1216// RUN: -Wno-incompatible-library-redeclaration -verify %s \
You can’t perform that action at this time.
0 commit comments