Skip to content

Commit ae24d68

Browse files
committed
C/C++/C#/Java/Python/Ruby/Swift: Adjust expected output.
1 parent 941aa7a commit ae24d68

File tree

21 files changed

+463
-117
lines changed

21 files changed

+463
-117
lines changed

cpp/ql/test/library-tests/dataflow/fields/ir-path-flow.expected

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ edges
1212
| A.cpp:31:14:31:21 | call to B [c] | A.cpp:29:15:29:18 | make indirection [c] |
1313
| A.cpp:31:20:31:20 | c | A.cpp:23:10:23:10 | c |
1414
| A.cpp:31:20:31:20 | c | A.cpp:31:14:31:21 | call to B [c] |
15-
| A.cpp:41:15:41:21 | new | A.cpp:43:10:43:12 | & ... indirection |
16-
| A.cpp:41:15:41:21 | new | A.cpp:43:10:43:12 | & ... indirection |
15+
| A.cpp:41:5:41:6 | insert output argument | A.cpp:43:10:43:12 | & ... indirection |
16+
| A.cpp:41:15:41:21 | new | A.cpp:41:5:41:6 | insert output argument |
17+
| A.cpp:41:15:41:21 | new | A.cpp:41:5:41:6 | insert output argument |
18+
| A.cpp:41:15:41:21 | new | A.cpp:41:15:41:21 | new |
1719
| A.cpp:47:12:47:18 | new | A.cpp:48:20:48:20 | c |
1820
| A.cpp:48:12:48:18 | call to make indirection [c] | A.cpp:49:10:49:10 | b indirection [c] |
1921
| A.cpp:48:20:48:20 | c | A.cpp:29:23:29:23 | c |
@@ -1049,6 +1051,7 @@ nodes
10491051
| A.cpp:29:23:29:23 | c | semmle.label | c |
10501052
| A.cpp:31:14:31:21 | call to B [c] | semmle.label | call to B [c] |
10511053
| A.cpp:31:20:31:20 | c | semmle.label | c |
1054+
| A.cpp:41:5:41:6 | insert output argument | semmle.label | insert output argument |
10521055
| A.cpp:41:15:41:21 | new | semmle.label | new |
10531056
| A.cpp:41:15:41:21 | new | semmle.label | new |
10541057
| A.cpp:43:10:43:12 | & ... indirection | semmle.label | & ... indirection |

cpp/ql/test/library-tests/dataflow/fields/path-flow.expected

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ edges
99
| A.cpp:31:14:31:21 | call to B [c] | A.cpp:31:14:31:21 | new [c] |
1010
| A.cpp:31:20:31:20 | c | A.cpp:23:10:23:10 | c |
1111
| A.cpp:31:20:31:20 | c | A.cpp:31:14:31:21 | call to B [c] |
12-
| A.cpp:41:15:41:21 | new | A.cpp:43:10:43:12 | & ... |
12+
| A.cpp:41:5:41:6 | ref arg ct | A.cpp:43:11:43:12 | ct |
13+
| A.cpp:41:15:41:21 | new | A.cpp:41:5:41:6 | ref arg ct |
14+
| A.cpp:43:11:43:12 | ct | A.cpp:43:10:43:12 | & ... |
1315
| A.cpp:47:12:47:18 | new | A.cpp:48:20:48:20 | c |
1416
| A.cpp:48:12:48:18 | call to make [c] | A.cpp:49:10:49:10 | b [c] |
1517
| A.cpp:48:20:48:20 | c | A.cpp:29:23:29:23 | c |
@@ -207,11 +209,12 @@ edges
207209
| E.cpp:28:21:28:23 | ref arg raw | E.cpp:31:10:31:12 | raw |
208210
| E.cpp:29:21:29:21 | b [post update] [buffer] | E.cpp:32:10:32:10 | b [buffer] |
209211
| E.cpp:29:24:29:29 | ref arg buffer | E.cpp:29:21:29:21 | b [post update] [buffer] |
210-
| E.cpp:30:21:30:21 | p [post update] [data, buffer] | E.cpp:33:18:33:19 | & ... [data, buffer] |
212+
| E.cpp:30:21:30:21 | p [post update] [data, buffer] | E.cpp:33:19:33:19 | p [data, buffer] |
211213
| E.cpp:30:23:30:26 | data [post update] [buffer] | E.cpp:30:21:30:21 | p [post update] [data, buffer] |
212214
| E.cpp:30:28:30:33 | ref arg buffer | E.cpp:30:23:30:26 | data [post update] [buffer] |
213215
| E.cpp:32:10:32:10 | b [buffer] | E.cpp:32:13:32:18 | buffer |
214216
| E.cpp:33:18:33:19 | & ... [data, buffer] | E.cpp:19:27:19:27 | p [data, buffer] |
217+
| E.cpp:33:19:33:19 | p [data, buffer] | E.cpp:33:18:33:19 | & ... [data, buffer] |
215218
| aliasing.cpp:8:23:8:23 | s [m1] | aliasing.cpp:25:17:25:19 | ref arg & ... [m1] |
216219
| aliasing.cpp:9:3:9:3 | s [post update] [m1] | aliasing.cpp:8:23:8:23 | s [m1] |
217220
| aliasing.cpp:9:3:9:3 | s [post update] [m1] | aliasing.cpp:25:17:25:19 | ref arg & ... [m1] |
@@ -362,11 +365,12 @@ edges
362365
| by_reference.cpp:62:25:62:34 | call to user_input | by_reference.cpp:62:3:62:3 | ref arg s [a] |
363366
| by_reference.cpp:63:8:63:8 | s [a] | by_reference.cpp:43:9:43:27 | this [a] |
364367
| by_reference.cpp:63:8:63:8 | s [a] | by_reference.cpp:63:10:63:28 | call to getThroughNonMember |
365-
| by_reference.cpp:68:17:68:18 | ref arg & ... [a] | by_reference.cpp:69:22:69:23 | & ... [a] |
368+
| by_reference.cpp:68:17:68:18 | ref arg & ... [a] | by_reference.cpp:69:23:69:23 | s [a] |
366369
| by_reference.cpp:68:21:68:30 | call to user_input | by_reference.cpp:11:48:11:52 | value |
367370
| by_reference.cpp:68:21:68:30 | call to user_input | by_reference.cpp:68:17:68:18 | ref arg & ... [a] |
368371
| by_reference.cpp:69:22:69:23 | & ... [a] | by_reference.cpp:31:46:31:46 | s [a] |
369372
| by_reference.cpp:69:22:69:23 | & ... [a] | by_reference.cpp:69:8:69:20 | call to nonMemberGetA |
373+
| by_reference.cpp:69:23:69:23 | s [a] | by_reference.cpp:69:22:69:23 | & ... [a] |
370374
| by_reference.cpp:83:31:83:35 | inner [a] | by_reference.cpp:102:21:102:39 | ref arg & ... [a] |
371375
| by_reference.cpp:83:31:83:35 | inner [a] | by_reference.cpp:103:27:103:35 | ref arg inner_ptr [a] |
372376
| by_reference.cpp:83:31:83:35 | inner [a] | by_reference.cpp:106:21:106:41 | ref arg & ... [a] |
@@ -701,25 +705,27 @@ edges
701705
| struct_init.c:15:12:15:12 | a | struct_init.c:15:12:15:12 | ref arg a |
702706
| struct_init.c:15:12:15:12 | ref arg a | struct_init.c:15:8:15:9 | ab [post update] [a] |
703707
| struct_init.c:20:17:20:36 | {...} [a] | struct_init.c:22:8:22:9 | ab [a] |
704-
| struct_init.c:20:17:20:36 | {...} [a] | struct_init.c:24:10:24:12 | & ... [a] |
705-
| struct_init.c:20:17:20:36 | {...} [a] | struct_init.c:28:5:28:7 | & ... [a] |
708+
| struct_init.c:20:17:20:36 | {...} [a] | struct_init.c:24:11:24:12 | ab [a] |
709+
| struct_init.c:20:17:20:36 | {...} [a] | struct_init.c:28:6:28:7 | ab [a] |
706710
| struct_init.c:20:20:20:29 | call to user_input | struct_init.c:20:17:20:36 | {...} [a] |
707711
| struct_init.c:22:8:22:9 | ab [a] | struct_init.c:22:11:22:11 | a |
708712
| struct_init.c:22:8:22:9 | ab [a] | struct_init.c:22:11:22:11 | a |
709-
| struct_init.c:22:8:22:9 | ab [post update] [a] | struct_init.c:24:10:24:12 | & ... [a] |
710-
| struct_init.c:22:8:22:9 | ab [post update] [a] | struct_init.c:28:5:28:7 | & ... [a] |
713+
| struct_init.c:22:8:22:9 | ab [post update] [a] | struct_init.c:24:11:24:12 | ab [a] |
714+
| struct_init.c:22:8:22:9 | ab [post update] [a] | struct_init.c:28:6:28:7 | ab [a] |
711715
| struct_init.c:22:11:22:11 | a | realistic.cpp:41:17:41:17 | o |
712716
| struct_init.c:22:11:22:11 | a | struct_init.c:22:11:22:11 | ref arg a |
713717
| struct_init.c:22:11:22:11 | ref arg a | struct_init.c:22:8:22:9 | ab [post update] [a] |
714718
| struct_init.c:24:10:24:12 | & ... [a] | struct_init.c:14:24:14:25 | ab [a] |
715719
| struct_init.c:24:10:24:12 | & ... [a] | struct_init.c:24:10:24:12 | ref arg & ... [a] |
716-
| struct_init.c:24:10:24:12 | ref arg & ... [a] | struct_init.c:28:5:28:7 | & ... [a] |
720+
| struct_init.c:24:10:24:12 | ref arg & ... [a] | struct_init.c:28:6:28:7 | ab [a] |
721+
| struct_init.c:24:11:24:12 | ab [a] | struct_init.c:24:10:24:12 | & ... [a] |
717722
| struct_init.c:26:23:29:3 | {...} [nestedAB, a] | struct_init.c:31:8:31:12 | outer [nestedAB, a] |
718723
| struct_init.c:26:23:29:3 | {...} [nestedAB, a] | struct_init.c:36:11:36:15 | outer [nestedAB, a] |
719724
| struct_init.c:26:23:29:3 | {...} [pointerAB, a] | struct_init.c:33:8:33:12 | outer [pointerAB, a] |
720725
| struct_init.c:27:5:27:23 | {...} [a] | struct_init.c:26:23:29:3 | {...} [nestedAB, a] |
721726
| struct_init.c:27:7:27:16 | call to user_input | struct_init.c:27:5:27:23 | {...} [a] |
722727
| struct_init.c:28:5:28:7 | & ... [a] | struct_init.c:26:23:29:3 | {...} [pointerAB, a] |
728+
| struct_init.c:28:6:28:7 | ab [a] | struct_init.c:28:5:28:7 | & ... [a] |
723729
| struct_init.c:31:8:31:12 | outer [nestedAB, a] | struct_init.c:31:14:31:21 | nestedAB [a] |
724730
| struct_init.c:31:8:31:12 | outer [post update] [nestedAB, a] | struct_init.c:36:11:36:15 | outer [nestedAB, a] |
725731
| struct_init.c:31:14:31:21 | nestedAB [a] | struct_init.c:31:23:31:23 | a |
@@ -733,10 +739,11 @@ edges
733739
| struct_init.c:36:10:36:24 | & ... [a] | struct_init.c:14:24:14:25 | ab [a] |
734740
| struct_init.c:36:11:36:15 | outer [nestedAB, a] | struct_init.c:36:17:36:24 | nestedAB [a] |
735741
| struct_init.c:36:17:36:24 | nestedAB [a] | struct_init.c:36:10:36:24 | & ... [a] |
736-
| struct_init.c:40:17:40:36 | {...} [a] | struct_init.c:43:5:43:7 | & ... [a] |
742+
| struct_init.c:40:17:40:36 | {...} [a] | struct_init.c:43:6:43:7 | ab [a] |
737743
| struct_init.c:40:20:40:29 | call to user_input | struct_init.c:40:17:40:36 | {...} [a] |
738744
| struct_init.c:41:23:44:3 | {...} [pointerAB, a] | struct_init.c:46:10:46:14 | outer [pointerAB, a] |
739745
| struct_init.c:43:5:43:7 | & ... [a] | struct_init.c:41:23:44:3 | {...} [pointerAB, a] |
746+
| struct_init.c:43:6:43:7 | ab [a] | struct_init.c:43:5:43:7 | & ... [a] |
740747
| struct_init.c:46:10:46:14 | outer [pointerAB, a] | struct_init.c:46:16:46:24 | pointerAB [a] |
741748
| struct_init.c:46:16:46:24 | pointerAB [a] | struct_init.c:14:24:14:25 | ab [a] |
742749
nodes
@@ -753,8 +760,10 @@ nodes
753760
| A.cpp:31:14:31:21 | call to B [c] | semmle.label | call to B [c] |
754761
| A.cpp:31:14:31:21 | new [c] | semmle.label | new [c] |
755762
| A.cpp:31:20:31:20 | c | semmle.label | c |
763+
| A.cpp:41:5:41:6 | ref arg ct | semmle.label | ref arg ct |
756764
| A.cpp:41:15:41:21 | new | semmle.label | new |
757765
| A.cpp:43:10:43:12 | & ... | semmle.label | & ... |
766+
| A.cpp:43:11:43:12 | ct | semmle.label | ct |
758767
| A.cpp:47:12:47:18 | new | semmle.label | new |
759768
| A.cpp:48:12:48:18 | call to make [c] | semmle.label | call to make [c] |
760769
| A.cpp:48:20:48:20 | c | semmle.label | c |
@@ -963,6 +972,7 @@ nodes
963972
| E.cpp:32:10:32:10 | b [buffer] | semmle.label | b [buffer] |
964973
| E.cpp:32:13:32:18 | buffer | semmle.label | buffer |
965974
| E.cpp:33:18:33:19 | & ... [data, buffer] | semmle.label | & ... [data, buffer] |
975+
| E.cpp:33:19:33:19 | p [data, buffer] | semmle.label | p [data, buffer] |
966976
| aliasing.cpp:8:23:8:23 | s [m1] | semmle.label | s [m1] |
967977
| aliasing.cpp:9:3:9:3 | s [post update] [m1] | semmle.label | s [post update] [m1] |
968978
| aliasing.cpp:9:3:9:22 | ... = ... | semmle.label | ... = ... |
@@ -1116,6 +1126,7 @@ nodes
11161126
| by_reference.cpp:68:21:68:30 | call to user_input | semmle.label | call to user_input |
11171127
| by_reference.cpp:69:8:69:20 | call to nonMemberGetA | semmle.label | call to nonMemberGetA |
11181128
| by_reference.cpp:69:22:69:23 | & ... [a] | semmle.label | & ... [a] |
1129+
| by_reference.cpp:69:23:69:23 | s [a] | semmle.label | s [a] |
11191130
| by_reference.cpp:83:31:83:35 | inner [a] | semmle.label | inner [a] |
11201131
| by_reference.cpp:84:3:84:7 | inner [post update] [a] | semmle.label | inner [post update] [a] |
11211132
| by_reference.cpp:84:3:84:25 | ... = ... | semmle.label | ... = ... |
@@ -1474,11 +1485,13 @@ nodes
14741485
| struct_init.c:22:11:22:11 | ref arg a | semmle.label | ref arg a |
14751486
| struct_init.c:24:10:24:12 | & ... [a] | semmle.label | & ... [a] |
14761487
| struct_init.c:24:10:24:12 | ref arg & ... [a] | semmle.label | ref arg & ... [a] |
1488+
| struct_init.c:24:11:24:12 | ab [a] | semmle.label | ab [a] |
14771489
| struct_init.c:26:23:29:3 | {...} [nestedAB, a] | semmle.label | {...} [nestedAB, a] |
14781490
| struct_init.c:26:23:29:3 | {...} [pointerAB, a] | semmle.label | {...} [pointerAB, a] |
14791491
| struct_init.c:27:5:27:23 | {...} [a] | semmle.label | {...} [a] |
14801492
| struct_init.c:27:7:27:16 | call to user_input | semmle.label | call to user_input |
14811493
| struct_init.c:28:5:28:7 | & ... [a] | semmle.label | & ... [a] |
1494+
| struct_init.c:28:6:28:7 | ab [a] | semmle.label | ab [a] |
14821495
| struct_init.c:31:8:31:12 | outer [nestedAB, a] | semmle.label | outer [nestedAB, a] |
14831496
| struct_init.c:31:8:31:12 | outer [post update] [nestedAB, a] | semmle.label | outer [post update] [nestedAB, a] |
14841497
| struct_init.c:31:14:31:21 | nestedAB [a] | semmle.label | nestedAB [a] |
@@ -1496,6 +1509,7 @@ nodes
14961509
| struct_init.c:40:20:40:29 | call to user_input | semmle.label | call to user_input |
14971510
| struct_init.c:41:23:44:3 | {...} [pointerAB, a] | semmle.label | {...} [pointerAB, a] |
14981511
| struct_init.c:43:5:43:7 | & ... [a] | semmle.label | & ... [a] |
1512+
| struct_init.c:43:6:43:7 | ab [a] | semmle.label | ab [a] |
14991513
| struct_init.c:46:10:46:14 | outer [pointerAB, a] | semmle.label | outer [pointerAB, a] |
15001514
| struct_init.c:46:16:46:24 | pointerAB [a] | semmle.label | pointerAB [a] |
15011515
subpaths

cpp/ql/test/query-tests/Security/CWE/CWE-078/semmle/ExecTainted/ExecTainted.expected

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ edges
2222
| test.cpp:113:20:113:25 | call to getenv | test.cpp:114:19:114:22 | path indirection |
2323
| test.cpp:113:20:113:38 | call to getenv indirection | test.cpp:114:19:114:22 | path indirection |
2424
| test.cpp:114:10:114:23 | call to operator+ | test.cpp:114:25:114:29 | call to c_str indirection |
25-
| test.cpp:114:17:114:17 | call to operator+ | test.cpp:114:25:114:29 | call to c_str indirection |
25+
| test.cpp:114:10:114:23 | call to operator+ | test.cpp:114:25:114:29 | call to c_str indirection |
26+
| test.cpp:114:17:114:17 | call to operator+ | test.cpp:114:10:114:23 | call to operator+ |
2627
| test.cpp:114:19:114:22 | path indirection | test.cpp:114:10:114:23 | call to operator+ |
2728
| test.cpp:114:19:114:22 | path indirection | test.cpp:114:17:114:17 | call to operator+ |
2829
| test.cpp:119:20:119:25 | call to getenv | test.cpp:120:19:120:22 | path indirection |
@@ -33,31 +34,41 @@ edges
3334
| test.cpp:142:11:142:17 | sprintf output argument | test.cpp:143:10:143:16 | command indirection |
3435
| test.cpp:142:31:142:33 | str indirection | test.cpp:142:11:142:17 | sprintf output argument |
3536
| test.cpp:174:9:174:16 | fread output argument | test.cpp:177:20:177:27 | filename indirection |
36-
| test.cpp:174:9:174:16 | fread output argument | test.cpp:178:22:178:26 | flags indirection |
3737
| test.cpp:174:9:174:16 | fread output argument | test.cpp:180:22:180:29 | filename indirection |
38-
| test.cpp:177:13:177:17 | strncat output argument | test.cpp:183:32:183:38 | command indirection |
38+
| test.cpp:177:13:177:17 | strncat output argument | test.cpp:178:22:178:26 | flags indirection |
39+
| test.cpp:177:13:177:17 | strncat output argument | test.cpp:178:22:178:26 | flags indirection |
40+
| test.cpp:177:20:177:27 | filename indirection | test.cpp:177:13:177:17 | strncat output argument |
3941
| test.cpp:177:20:177:27 | filename indirection | test.cpp:177:13:177:17 | strncat output argument |
4042
| test.cpp:178:13:178:19 | strncat output argument | test.cpp:183:32:183:38 | command indirection |
43+
| test.cpp:178:13:178:19 | strncat output argument | test.cpp:183:32:183:38 | command indirection |
44+
| test.cpp:178:22:178:26 | flags indirection | test.cpp:178:13:178:19 | strncat output argument |
4145
| test.cpp:178:22:178:26 | flags indirection | test.cpp:178:13:178:19 | strncat output argument |
4246
| test.cpp:180:13:180:19 | strncat output argument | test.cpp:183:32:183:38 | command indirection |
4347
| test.cpp:180:22:180:29 | filename indirection | test.cpp:180:13:180:19 | strncat output argument |
4448
| test.cpp:186:47:186:54 | filename indirection | test.cpp:187:18:187:25 | filename indirection |
45-
| test.cpp:186:47:186:54 | filename indirection | test.cpp:188:20:188:24 | flags indirection |
46-
| test.cpp:187:11:187:15 | strncat output argument | test.cpp:188:11:188:17 | strncat output argument |
49+
| test.cpp:187:11:187:15 | strncat output argument | test.cpp:188:20:188:24 | flags indirection |
50+
| test.cpp:187:11:187:15 | strncat output argument | test.cpp:188:20:188:24 | flags indirection |
51+
| test.cpp:187:18:187:25 | filename indirection | test.cpp:187:11:187:15 | strncat output argument |
4752
| test.cpp:187:18:187:25 | filename indirection | test.cpp:187:11:187:15 | strncat output argument |
4853
| test.cpp:188:20:188:24 | flags indirection | test.cpp:188:11:188:17 | strncat output argument |
54+
| test.cpp:188:20:188:24 | flags indirection | test.cpp:188:11:188:17 | strncat output argument |
4955
| test.cpp:194:9:194:16 | fread output argument | test.cpp:196:26:196:33 | filename indirection |
5056
| test.cpp:196:10:196:16 | concat output argument | test.cpp:198:32:198:38 | command indirection |
5157
| test.cpp:196:10:196:16 | concat output argument | test.cpp:198:32:198:38 | command indirection |
5258
| test.cpp:196:26:196:33 | filename indirection | test.cpp:186:47:186:54 | filename indirection |
5359
| test.cpp:196:26:196:33 | filename indirection | test.cpp:196:10:196:16 | concat output argument |
5460
| test.cpp:196:26:196:33 | filename indirection | test.cpp:196:10:196:16 | concat output argument |
5561
| test.cpp:218:9:218:16 | fread output argument | test.cpp:220:19:220:26 | filename indirection |
56-
| test.cpp:218:9:218:16 | fread output argument | test.cpp:220:19:220:26 | filename indirection |
62+
| test.cpp:220:10:220:16 | strncat output argument | test.cpp:220:10:220:16 | strncat output argument |
63+
| test.cpp:220:10:220:16 | strncat output argument | test.cpp:220:10:220:16 | strncat output argument |
64+
| test.cpp:220:10:220:16 | strncat output argument | test.cpp:220:10:220:16 | strncat output argument |
65+
| test.cpp:220:10:220:16 | strncat output argument | test.cpp:222:32:222:38 | command indirection |
66+
| test.cpp:220:10:220:16 | strncat output argument | test.cpp:222:32:222:38 | command indirection |
5767
| test.cpp:220:10:220:16 | strncat output argument | test.cpp:222:32:222:38 | command indirection |
5868
| test.cpp:220:10:220:16 | strncat output argument | test.cpp:222:32:222:38 | command indirection |
5969
| test.cpp:220:19:220:26 | filename indirection | test.cpp:220:10:220:16 | strncat output argument |
6070
| test.cpp:220:19:220:26 | filename indirection | test.cpp:220:10:220:16 | strncat output argument |
71+
| test.cpp:220:19:220:26 | filename indirection | test.cpp:220:19:220:26 | filename indirection |
6172
nodes
6273
| test.cpp:15:27:15:30 | argv indirection | semmle.label | argv indirection |
6374
| test.cpp:15:27:15:30 | argv indirection | semmle.label | argv indirection |
@@ -88,6 +99,7 @@ nodes
8899
| test.cpp:113:20:113:25 | call to getenv | semmle.label | call to getenv |
89100
| test.cpp:113:20:113:38 | call to getenv indirection | semmle.label | call to getenv indirection |
90101
| test.cpp:114:10:114:23 | call to operator+ | semmle.label | call to operator+ |
102+
| test.cpp:114:10:114:23 | call to operator+ | semmle.label | call to operator+ |
91103
| test.cpp:114:17:114:17 | call to operator+ | semmle.label | call to operator+ |
92104
| test.cpp:114:19:114:22 | path indirection | semmle.label | path indirection |
93105
| test.cpp:114:25:114:29 | call to c_str indirection | semmle.label | call to c_str indirection |
@@ -103,8 +115,11 @@ nodes
103115
| test.cpp:143:10:143:16 | command indirection | semmle.label | command indirection |
104116
| test.cpp:174:9:174:16 | fread output argument | semmle.label | fread output argument |
105117
| test.cpp:177:13:177:17 | strncat output argument | semmle.label | strncat output argument |
118+
| test.cpp:177:13:177:17 | strncat output argument | semmle.label | strncat output argument |
106119
| test.cpp:177:20:177:27 | filename indirection | semmle.label | filename indirection |
107120
| test.cpp:178:13:178:19 | strncat output argument | semmle.label | strncat output argument |
121+
| test.cpp:178:13:178:19 | strncat output argument | semmle.label | strncat output argument |
122+
| test.cpp:178:22:178:26 | flags indirection | semmle.label | flags indirection |
108123
| test.cpp:178:22:178:26 | flags indirection | semmle.label | flags indirection |
109124
| test.cpp:180:13:180:19 | strncat output argument | semmle.label | strncat output argument |
110125
| test.cpp:180:22:180:29 | filename indirection | semmle.label | filename indirection |
@@ -113,10 +128,12 @@ nodes
113128
| test.cpp:183:32:183:38 | command indirection | semmle.label | command indirection |
114129
| test.cpp:186:47:186:54 | filename indirection | semmle.label | filename indirection |
115130
| test.cpp:187:11:187:15 | strncat output argument | semmle.label | strncat output argument |
131+
| test.cpp:187:11:187:15 | strncat output argument | semmle.label | strncat output argument |
116132
| test.cpp:187:18:187:25 | filename indirection | semmle.label | filename indirection |
117133
| test.cpp:188:11:188:17 | strncat output argument | semmle.label | strncat output argument |
118134
| test.cpp:188:11:188:17 | strncat output argument | semmle.label | strncat output argument |
119135
| test.cpp:188:20:188:24 | flags indirection | semmle.label | flags indirection |
136+
| test.cpp:188:20:188:24 | flags indirection | semmle.label | flags indirection |
120137
| test.cpp:194:9:194:16 | fread output argument | semmle.label | fread output argument |
121138
| test.cpp:196:10:196:16 | concat output argument | semmle.label | concat output argument |
122139
| test.cpp:196:10:196:16 | concat output argument | semmle.label | concat output argument |
@@ -126,6 +143,8 @@ nodes
126143
| test.cpp:218:9:218:16 | fread output argument | semmle.label | fread output argument |
127144
| test.cpp:220:10:220:16 | strncat output argument | semmle.label | strncat output argument |
128145
| test.cpp:220:10:220:16 | strncat output argument | semmle.label | strncat output argument |
146+
| test.cpp:220:10:220:16 | strncat output argument | semmle.label | strncat output argument |
147+
| test.cpp:220:10:220:16 | strncat output argument | semmle.label | strncat output argument |
129148
| test.cpp:220:19:220:26 | filename indirection | semmle.label | filename indirection |
130149
| test.cpp:220:19:220:26 | filename indirection | semmle.label | filename indirection |
131150
| test.cpp:222:32:222:38 | command indirection | semmle.label | command indirection |

0 commit comments

Comments
 (0)