Skip to content

Commit 6764390

Browse files
Merge pull request #1586 from geoffw0/norm-taint-test
CPP: Normalize the taint tests
2 parents 5944ec6 + a9b953f commit 6764390

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
| taint.cpp:35:12:35:17 | taint.cpp:41:7:41:13 | AST only |
2-
| taint.cpp:35:12:35:17 | taint.cpp:42:7:42:13 | AST only |
3-
| taint.cpp:37:22:37:27 | taint.cpp:43:7:43:13 | AST only |
4-
| taint.cpp:120:11:120:16 | taint.cpp:137:7:137:9 | AST only |
5-
| taint.cpp:127:8:127:13 | taint.cpp:130:7:130:9 | IR only |
6-
| taint.cpp:164:19:164:24 | taint.cpp:173:8:173:13 | AST only |
7-
| taint.cpp:185:11:185:16 | taint.cpp:181:8:181:9 | AST only |
8-
| taint.cpp:192:23:192:28 | taint.cpp:195:7:195:7 | AST only |
9-
| taint.cpp:193:6:193:6 | taint.cpp:195:7:195:7 | AST only |
10-
| taint.cpp:207:6:207:11 | taint.cpp:215:7:215:7 | AST only |
11-
| taint.cpp:207:6:207:11 | taint.cpp:216:7:216:7 | AST only |
1+
| taint.cpp:41:7:41:13 | taint.cpp:35:12:35:17 | AST only |
2+
| taint.cpp:42:7:42:13 | taint.cpp:35:12:35:17 | AST only |
3+
| taint.cpp:43:7:43:13 | taint.cpp:37:22:37:27 | AST only |
4+
| taint.cpp:130:7:130:9 | taint.cpp:127:8:127:13 | IR only |
5+
| taint.cpp:137:7:137:9 | taint.cpp:120:11:120:16 | AST only |
6+
| taint.cpp:173:8:173:13 | taint.cpp:164:19:164:24 | AST only |
7+
| taint.cpp:181:8:181:9 | taint.cpp:185:11:185:16 | AST only |
8+
| taint.cpp:195:7:195:7 | taint.cpp:192:23:192:28 | AST only |
9+
| taint.cpp:195:7:195:7 | taint.cpp:193:6:193:6 | AST only |
10+
| taint.cpp:215:7:215:7 | taint.cpp:207:6:207:11 | AST only |
11+
| taint.cpp:216:7:216:7 | taint.cpp:207:6:207:11 | AST only |

cpp/ql/test/library-tests/dataflow/taint-tests/test_diff.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ where
3434
not astFlow(sourceLocation, sinkLocation) and
3535
note = "IR only"
3636
)
37-
select sourceLocation.toString(), sinkLocation.toString(), note
37+
select sinkLocation.toString(), sourceLocation.toString(), note

0 commit comments

Comments
 (0)