Skip to content

Commit 44c66a3

Browse files
committed
C++: Fixup test .expected files after merge.
1 parent 034f7cc commit 44c66a3

File tree

3 files changed

+44
-14
lines changed

3 files changed

+44
-14
lines changed

cpp/ql/test/library-tests/dataflow/security-taint/tainted.expected

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,24 @@
5252
| test.cpp:75:20:75:25 | call to getenv | test.cpp:75:15:75:18 | call to atoi | |
5353
| test.cpp:75:20:75:25 | call to getenv | test.cpp:75:20:75:25 | call to getenv | |
5454
| test.cpp:75:20:75:25 | call to getenv | test.cpp:75:20:75:45 | (const char *)... | |
55-
| test.cpp:87:12:87:15 | call to gets | test.cpp:85:8:85:14 | pointer | |
56-
| test.cpp:87:12:87:15 | call to gets | test.cpp:87:2:87:8 | pointer | |
57-
| test.cpp:87:12:87:15 | call to gets | test.cpp:87:12:87:15 | call to gets | |
58-
| test.cpp:87:17:87:22 | buffer | test.cpp:80:18:80:18 | s | |
59-
| test.cpp:87:17:87:22 | buffer | test.cpp:84:7:84:12 | buffer | |
60-
| test.cpp:87:17:87:22 | buffer | test.cpp:87:17:87:22 | buffer | |
55+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:8:24:8:25 | s1 | |
56+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:11:20:11:21 | s1 | |
57+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:11:36:11:37 | s2 | |
58+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:83:17:83:24 | userName | |
59+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:83:28:83:33 | call to getenv | |
60+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:83:28:83:46 | (const char *)... | |
61+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:85:8:85:11 | copy | |
62+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:86:2:86:7 | call to strcpy | |
63+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:86:9:86:12 | copy | |
64+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:86:15:86:22 | userName | |
65+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:6:88:27 | ! ... | |
66+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:7:88:12 | call to strcmp | |
67+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:7:88:27 | (bool)... | |
68+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:14:88:17 | (const char *)... | |
69+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:14:88:17 | copy | |
70+
| test.cpp:100:12:100:15 | call to gets | test.cpp:98:8:98:14 | pointer | |
71+
| test.cpp:100:12:100:15 | call to gets | test.cpp:100:2:100:8 | pointer | |
72+
| test.cpp:100:12:100:15 | call to gets | test.cpp:100:12:100:15 | call to gets | |
73+
| test.cpp:100:17:100:22 | buffer | test.cpp:93:18:93:18 | s | |
74+
| test.cpp:100:17:100:22 | buffer | test.cpp:97:7:97:12 | buffer | |
75+
| test.cpp:100:17:100:22 | buffer | test.cpp:100:17:100:22 | buffer | |

cpp/ql/test/library-tests/dataflow/security-taint/tainted_diff.expected

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
| test.cpp:68:28:68:33 | call to getenv | test.cpp:69:10:69:13 | copy | AST only |
99
| test.cpp:68:28:68:33 | call to getenv | test.cpp:70:12:70:15 | copy | AST only |
1010
| test.cpp:68:28:68:33 | call to getenv | test.cpp:71:12:71:15 | copy | AST only |
11-
| test.cpp:87:12:87:15 | call to gets | test.cpp:87:2:87:8 | pointer | AST only |
12-
| test.cpp:87:17:87:22 | buffer | test.cpp:84:7:84:12 | buffer | AST only |
13-
| test.cpp:87:17:87:22 | buffer | test.cpp:87:17:87:22 | array to pointer conversion | IR only |
11+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:11:20:11:21 | s1 | AST only |
12+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:85:8:85:11 | copy | AST only |
13+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:86:9:86:12 | copy | AST only |
14+
| test.cpp:100:12:100:15 | call to gets | test.cpp:100:2:100:8 | pointer | AST only |
15+
| test.cpp:100:17:100:22 | buffer | test.cpp:97:7:97:12 | buffer | AST only |
16+
| test.cpp:100:17:100:22 | buffer | test.cpp:100:17:100:22 | array to pointer conversion | IR only |

cpp/ql/test/library-tests/dataflow/security-taint/tainted_ir.expected

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,20 @@
4040
| test.cpp:75:20:75:25 | call to getenv | test.cpp:75:15:75:18 | call to atoi | |
4141
| test.cpp:75:20:75:25 | call to getenv | test.cpp:75:20:75:25 | call to getenv | |
4242
| test.cpp:75:20:75:25 | call to getenv | test.cpp:75:20:75:45 | (const char *)... | |
43-
| test.cpp:87:12:87:15 | call to gets | test.cpp:85:8:85:14 | pointer | |
44-
| test.cpp:87:12:87:15 | call to gets | test.cpp:87:12:87:15 | call to gets | |
45-
| test.cpp:87:17:87:22 | buffer | test.cpp:80:18:80:18 | s | |
46-
| test.cpp:87:17:87:22 | buffer | test.cpp:87:17:87:22 | array to pointer conversion | |
47-
| test.cpp:87:17:87:22 | buffer | test.cpp:87:17:87:22 | buffer | |
43+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:8:24:8:25 | s1 | |
44+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:11:36:11:37 | s2 | |
45+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:83:17:83:24 | userName | |
46+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:83:28:83:33 | call to getenv | |
47+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:83:28:83:46 | (const char *)... | |
48+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:86:2:86:7 | call to strcpy | |
49+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:86:15:86:22 | userName | |
50+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:6:88:27 | ! ... | |
51+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:7:88:12 | call to strcmp | |
52+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:7:88:27 | (bool)... | |
53+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:14:88:17 | (const char *)... | |
54+
| test.cpp:83:28:83:33 | call to getenv | test.cpp:88:14:88:17 | copy | |
55+
| test.cpp:100:12:100:15 | call to gets | test.cpp:98:8:98:14 | pointer | |
56+
| test.cpp:100:12:100:15 | call to gets | test.cpp:100:12:100:15 | call to gets | |
57+
| test.cpp:100:17:100:22 | buffer | test.cpp:93:18:93:18 | s | |
58+
| test.cpp:100:17:100:22 | buffer | test.cpp:100:17:100:22 | array to pointer conversion | |
59+
| test.cpp:100:17:100:22 | buffer | test.cpp:100:17:100:22 | buffer | |

0 commit comments

Comments
 (0)