Skip to content

Commit 42a78a2

Browse files
committed
C++: Fixup spacing in tests.
1 parent dd25878 commit 42a78a2

File tree

3 files changed

+67
-93
lines changed

3 files changed

+67
-93
lines changed
Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,84 @@
11
edges
22
| tests2.cpp:20:17:20:31 | SAXParser output argument | tests2.cpp:22:2:22:2 | p |
33
| tests2.cpp:33:17:33:31 | SAXParser output argument | tests2.cpp:37:2:37:2 | p |
4-
| tests.cpp:33:23:33:43 | XercesDOMParser output argument | tests.cpp:35:2:35:2 | p |
5-
| tests.cpp:46:23:46:43 | XercesDOMParser output argument | tests.cpp:49:2:49:2 | p |
6-
| tests.cpp:53:19:53:19 | VariableAddress [post update] | tests.cpp:55:2:55:2 | p |
7-
| tests.cpp:53:23:53:43 | XercesDOMParser output argument | tests.cpp:53:19:53:19 | VariableAddress [post update] |
4+
| tests.cpp:15:23:15:43 | XercesDOMParser output argument | tests.cpp:17:2:17:2 | p |
5+
| tests.cpp:28:23:28:43 | XercesDOMParser output argument | tests.cpp:31:2:31:2 | p |
6+
| tests.cpp:35:19:35:19 | VariableAddress [post update] | tests.cpp:37:2:37:2 | p |
7+
| tests.cpp:35:23:35:43 | XercesDOMParser output argument | tests.cpp:35:19:35:19 | VariableAddress [post update] |
8+
| tests.cpp:37:2:37:2 | p | tests.cpp:38:2:38:2 | p |
9+
| tests.cpp:38:2:38:2 | p | tests.cpp:39:2:39:2 | p |
10+
| tests.cpp:51:19:51:19 | VariableAddress [post update] | tests.cpp:53:2:53:2 | p |
11+
| tests.cpp:51:23:51:43 | XercesDOMParser output argument | tests.cpp:51:19:51:19 | VariableAddress [post update] |
12+
| tests.cpp:53:2:53:2 | p | tests.cpp:54:2:54:2 | p |
13+
| tests.cpp:54:2:54:2 | p | tests.cpp:55:2:55:2 | p |
14+
| tests.cpp:55:2:55:2 | p | tests.cpp:56:2:56:2 | p |
815
| tests.cpp:55:2:55:2 | p | tests.cpp:56:2:56:2 | p |
916
| tests.cpp:56:2:56:2 | p | tests.cpp:57:2:57:2 | p |
10-
| tests.cpp:69:19:69:19 | VariableAddress [post update] | tests.cpp:71:2:71:2 | p |
11-
| tests.cpp:69:23:69:43 | XercesDOMParser output argument | tests.cpp:69:19:69:19 | VariableAddress [post update] |
12-
| tests.cpp:71:2:71:2 | p | tests.cpp:72:2:72:2 | p |
13-
| tests.cpp:72:2:72:2 | p | tests.cpp:73:2:73:2 | p |
14-
| tests.cpp:73:2:73:2 | p | tests.cpp:74:2:74:2 | p |
15-
| tests.cpp:73:2:73:2 | p | tests.cpp:74:2:74:2 | p |
16-
| tests.cpp:74:2:74:2 | p | tests.cpp:75:2:75:2 | p |
17-
| tests.cpp:75:2:75:2 | p | tests.cpp:76:2:76:2 | p |
18-
| tests.cpp:76:2:76:2 | p | tests.cpp:77:2:77:2 | p |
19-
| tests.cpp:77:2:77:2 | p | tests.cpp:78:2:78:2 | p |
20-
| tests.cpp:84:23:84:43 | XercesDOMParser output argument | tests.cpp:87:2:87:2 | p |
21-
| tests.cpp:91:23:91:43 | XercesDOMParser output argument | tests.cpp:98:2:98:2 | p |
22-
| tests.cpp:103:24:103:44 | XercesDOMParser output argument | tests.cpp:106:3:106:3 | q |
23-
| tests.cpp:118:24:118:44 | XercesDOMParser output argument | tests.cpp:122:3:122:3 | q |
24-
| tests.cpp:130:39:130:39 | p | tests.cpp:131:2:131:2 | p |
25-
| tests.cpp:134:39:134:39 | p | tests.cpp:135:2:135:2 | p |
26-
| tests.cpp:140:23:140:43 | XercesDOMParser output argument | tests.cpp:144:18:144:18 | q |
27-
| tests.cpp:140:23:140:43 | XercesDOMParser output argument | tests.cpp:146:18:146:18 | q |
28-
| tests.cpp:144:18:144:18 | q | tests.cpp:130:39:130:39 | p |
29-
| tests.cpp:146:18:146:18 | q | tests.cpp:134:39:134:39 | p |
17+
| tests.cpp:57:2:57:2 | p | tests.cpp:58:2:58:2 | p |
18+
| tests.cpp:58:2:58:2 | p | tests.cpp:59:2:59:2 | p |
19+
| tests.cpp:59:2:59:2 | p | tests.cpp:60:2:60:2 | p |
20+
| tests.cpp:66:23:66:43 | XercesDOMParser output argument | tests.cpp:69:2:69:2 | p |
21+
| tests.cpp:73:23:73:43 | XercesDOMParser output argument | tests.cpp:80:2:80:2 | p |
22+
| tests.cpp:85:24:85:44 | XercesDOMParser output argument | tests.cpp:88:3:88:3 | q |
23+
| tests.cpp:100:24:100:44 | XercesDOMParser output argument | tests.cpp:104:3:104:3 | q |
24+
| tests.cpp:112:39:112:39 | p | tests.cpp:113:2:113:2 | p |
25+
| tests.cpp:116:39:116:39 | p | tests.cpp:117:2:117:2 | p |
26+
| tests.cpp:122:23:122:43 | XercesDOMParser output argument | tests.cpp:126:18:126:18 | q |
27+
| tests.cpp:122:23:122:43 | XercesDOMParser output argument | tests.cpp:128:18:128:18 | q |
28+
| tests.cpp:126:18:126:18 | q | tests.cpp:112:39:112:39 | p |
29+
| tests.cpp:128:18:128:18 | q | tests.cpp:116:39:116:39 | p |
3030
nodes
3131
| tests2.cpp:20:17:20:31 | SAXParser output argument | semmle.label | SAXParser output argument |
3232
| tests2.cpp:22:2:22:2 | p | semmle.label | p |
3333
| tests2.cpp:33:17:33:31 | SAXParser output argument | semmle.label | SAXParser output argument |
3434
| tests2.cpp:37:2:37:2 | p | semmle.label | p |
35-
| tests.cpp:33:23:33:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
36-
| tests.cpp:35:2:35:2 | p | semmle.label | p |
37-
| tests.cpp:46:23:46:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
38-
| tests.cpp:49:2:49:2 | p | semmle.label | p |
39-
| tests.cpp:53:19:53:19 | VariableAddress [post update] | semmle.label | VariableAddress [post update] |
40-
| tests.cpp:53:23:53:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
35+
| tests.cpp:15:23:15:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
36+
| tests.cpp:17:2:17:2 | p | semmle.label | p |
37+
| tests.cpp:28:23:28:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
38+
| tests.cpp:31:2:31:2 | p | semmle.label | p |
39+
| tests.cpp:35:19:35:19 | VariableAddress [post update] | semmle.label | VariableAddress [post update] |
40+
| tests.cpp:35:23:35:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
41+
| tests.cpp:37:2:37:2 | p | semmle.label | p |
42+
| tests.cpp:38:2:38:2 | p | semmle.label | p |
43+
| tests.cpp:39:2:39:2 | p | semmle.label | p |
44+
| tests.cpp:51:19:51:19 | VariableAddress [post update] | semmle.label | VariableAddress [post update] |
45+
| tests.cpp:51:23:51:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
46+
| tests.cpp:53:2:53:2 | p | semmle.label | p |
47+
| tests.cpp:54:2:54:2 | p | semmle.label | p |
4148
| tests.cpp:55:2:55:2 | p | semmle.label | p |
4249
| tests.cpp:56:2:56:2 | p | semmle.label | p |
50+
| tests.cpp:56:2:56:2 | p | semmle.label | p |
4351
| tests.cpp:57:2:57:2 | p | semmle.label | p |
44-
| tests.cpp:69:19:69:19 | VariableAddress [post update] | semmle.label | VariableAddress [post update] |
45-
| tests.cpp:69:23:69:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
46-
| tests.cpp:71:2:71:2 | p | semmle.label | p |
47-
| tests.cpp:72:2:72:2 | p | semmle.label | p |
48-
| tests.cpp:73:2:73:2 | p | semmle.label | p |
49-
| tests.cpp:74:2:74:2 | p | semmle.label | p |
50-
| tests.cpp:74:2:74:2 | p | semmle.label | p |
51-
| tests.cpp:75:2:75:2 | p | semmle.label | p |
52-
| tests.cpp:76:2:76:2 | p | semmle.label | p |
53-
| tests.cpp:77:2:77:2 | p | semmle.label | p |
54-
| tests.cpp:78:2:78:2 | p | semmle.label | p |
55-
| tests.cpp:84:23:84:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
56-
| tests.cpp:87:2:87:2 | p | semmle.label | p |
57-
| tests.cpp:91:23:91:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
58-
| tests.cpp:98:2:98:2 | p | semmle.label | p |
59-
| tests.cpp:103:24:103:44 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
60-
| tests.cpp:106:3:106:3 | q | semmle.label | q |
61-
| tests.cpp:118:24:118:44 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
62-
| tests.cpp:122:3:122:3 | q | semmle.label | q |
63-
| tests.cpp:130:39:130:39 | p | semmle.label | p |
64-
| tests.cpp:131:2:131:2 | p | semmle.label | p |
65-
| tests.cpp:134:39:134:39 | p | semmle.label | p |
66-
| tests.cpp:135:2:135:2 | p | semmle.label | p |
67-
| tests.cpp:140:23:140:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
68-
| tests.cpp:144:18:144:18 | q | semmle.label | q |
69-
| tests.cpp:146:18:146:18 | q | semmle.label | q |
52+
| tests.cpp:58:2:58:2 | p | semmle.label | p |
53+
| tests.cpp:59:2:59:2 | p | semmle.label | p |
54+
| tests.cpp:60:2:60:2 | p | semmle.label | p |
55+
| tests.cpp:66:23:66:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
56+
| tests.cpp:69:2:69:2 | p | semmle.label | p |
57+
| tests.cpp:73:23:73:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
58+
| tests.cpp:80:2:80:2 | p | semmle.label | p |
59+
| tests.cpp:85:24:85:44 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
60+
| tests.cpp:88:3:88:3 | q | semmle.label | q |
61+
| tests.cpp:100:24:100:44 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
62+
| tests.cpp:104:3:104:3 | q | semmle.label | q |
63+
| tests.cpp:112:39:112:39 | p | semmle.label | p |
64+
| tests.cpp:113:2:113:2 | p | semmle.label | p |
65+
| tests.cpp:116:39:116:39 | p | semmle.label | p |
66+
| tests.cpp:117:2:117:2 | p | semmle.label | p |
67+
| tests.cpp:122:23:122:43 | XercesDOMParser output argument | semmle.label | XercesDOMParser output argument |
68+
| tests.cpp:126:18:126:18 | q | semmle.label | q |
69+
| tests.cpp:128:18:128:18 | q | semmle.label | q |
7070
subpaths
7171
#select
7272
| tests2.cpp:22:2:22:2 | p | tests2.cpp:20:17:20:31 | SAXParser output argument | tests2.cpp:22:2:22:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests2.cpp:20:17:20:31 | SAXParser output argument | XML parser |
7373
| tests2.cpp:37:2:37:2 | p | tests2.cpp:33:17:33:31 | SAXParser output argument | tests2.cpp:37:2:37:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests2.cpp:33:17:33:31 | SAXParser output argument | XML parser |
74-
| tests.cpp:35:2:35:2 | p | tests.cpp:33:23:33:43 | XercesDOMParser output argument | tests.cpp:35:2:35:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:33:23:33:43 | XercesDOMParser output argument | XML parser |
75-
| tests.cpp:49:2:49:2 | p | tests.cpp:46:23:46:43 | XercesDOMParser output argument | tests.cpp:49:2:49:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:46:23:46:43 | XercesDOMParser output argument | XML parser |
76-
| tests.cpp:57:2:57:2 | p | tests.cpp:53:23:53:43 | XercesDOMParser output argument | tests.cpp:57:2:57:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:53:23:53:43 | XercesDOMParser output argument | XML parser |
77-
| tests.cpp:74:2:74:2 | p | tests.cpp:69:23:69:43 | XercesDOMParser output argument | tests.cpp:74:2:74:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:69:23:69:43 | XercesDOMParser output argument | XML parser |
78-
| tests.cpp:78:2:78:2 | p | tests.cpp:69:23:69:43 | XercesDOMParser output argument | tests.cpp:78:2:78:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:69:23:69:43 | XercesDOMParser output argument | XML parser |
79-
| tests.cpp:87:2:87:2 | p | tests.cpp:84:23:84:43 | XercesDOMParser output argument | tests.cpp:87:2:87:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:84:23:84:43 | XercesDOMParser output argument | XML parser |
80-
| tests.cpp:98:2:98:2 | p | tests.cpp:91:23:91:43 | XercesDOMParser output argument | tests.cpp:98:2:98:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:91:23:91:43 | XercesDOMParser output argument | XML parser |
81-
| tests.cpp:106:3:106:3 | q | tests.cpp:103:24:103:44 | XercesDOMParser output argument | tests.cpp:106:3:106:3 | q | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:103:24:103:44 | XercesDOMParser output argument | XML parser |
82-
| tests.cpp:122:3:122:3 | q | tests.cpp:118:24:118:44 | XercesDOMParser output argument | tests.cpp:122:3:122:3 | q | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:118:24:118:44 | XercesDOMParser output argument | XML parser |
83-
| tests.cpp:131:2:131:2 | p | tests.cpp:140:23:140:43 | XercesDOMParser output argument | tests.cpp:131:2:131:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:140:23:140:43 | XercesDOMParser output argument | XML parser |
84-
| tests.cpp:135:2:135:2 | p | tests.cpp:140:23:140:43 | XercesDOMParser output argument | tests.cpp:135:2:135:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:140:23:140:43 | XercesDOMParser output argument | XML parser |
74+
| tests.cpp:17:2:17:2 | p | tests.cpp:15:23:15:43 | XercesDOMParser output argument | tests.cpp:17:2:17:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:15:23:15:43 | XercesDOMParser output argument | XML parser |
75+
| tests.cpp:31:2:31:2 | p | tests.cpp:28:23:28:43 | XercesDOMParser output argument | tests.cpp:31:2:31:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:28:23:28:43 | XercesDOMParser output argument | XML parser |
76+
| tests.cpp:39:2:39:2 | p | tests.cpp:35:23:35:43 | XercesDOMParser output argument | tests.cpp:39:2:39:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:35:23:35:43 | XercesDOMParser output argument | XML parser |
77+
| tests.cpp:56:2:56:2 | p | tests.cpp:51:23:51:43 | XercesDOMParser output argument | tests.cpp:56:2:56:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:51:23:51:43 | XercesDOMParser output argument | XML parser |
78+
| tests.cpp:60:2:60:2 | p | tests.cpp:51:23:51:43 | XercesDOMParser output argument | tests.cpp:60:2:60:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:51:23:51:43 | XercesDOMParser output argument | XML parser |
79+
| tests.cpp:69:2:69:2 | p | tests.cpp:66:23:66:43 | XercesDOMParser output argument | tests.cpp:69:2:69:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:66:23:66:43 | XercesDOMParser output argument | XML parser |
80+
| tests.cpp:80:2:80:2 | p | tests.cpp:73:23:73:43 | XercesDOMParser output argument | tests.cpp:80:2:80:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:73:23:73:43 | XercesDOMParser output argument | XML parser |
81+
| tests.cpp:88:3:88:3 | q | tests.cpp:85:24:85:44 | XercesDOMParser output argument | tests.cpp:88:3:88:3 | q | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:85:24:85:44 | XercesDOMParser output argument | XML parser |
82+
| tests.cpp:104:3:104:3 | q | tests.cpp:100:24:100:44 | XercesDOMParser output argument | tests.cpp:104:3:104:3 | q | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:100:24:100:44 | XercesDOMParser output argument | XML parser |
83+
| tests.cpp:113:2:113:2 | p | tests.cpp:122:23:122:43 | XercesDOMParser output argument | tests.cpp:113:2:113:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:122:23:122:43 | XercesDOMParser output argument | XML parser |
84+
| tests.cpp:117:2:117:2 | p | tests.cpp:122:23:122:43 | XercesDOMParser output argument | tests.cpp:117:2:117:2 | p | This $@ is not configured to prevent an XML external entity (XXE) attack. | tests.cpp:122:23:122:43 | XercesDOMParser output argument | XML parser |

cpp/ql/test/query-tests/Security/CWE/CWE-611/tests.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,6 @@ class XercesDOMParser: public AbstractDOMParser {
99
XercesDOMParser();
1010
};
1111

12-
13-
14-
15-
16-
17-
18-
19-
20-
21-
22-
23-
24-
25-
26-
27-
28-
29-
3012
// ---
3113

3214
void test1(InputSource &data) {

cpp/ql/test/query-tests/Security/CWE/CWE-611/tests3.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ class XMLReaderFactory
1717
static SAX2XMLReader *createXMLReader();
1818
};
1919

20-
21-
22-
23-
24-
25-
26-
27-
2820
// ---
2921

3022
void test3_1(InputSource &data) {

0 commit comments

Comments
 (0)