Skip to content

Commit 16ea0b3

Browse files
committed
Python: Update expected test output
1 parent 8773072 commit 16ea0b3

24 files changed

Lines changed: 2949 additions & 24 deletions

File tree

python/ql/test/experimental/dataflow/basic/dataflow-consistency.expected

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ uniqueType
44
uniqueNodeLocation
55
missingLocation
66
uniqueNodeToString
7-
missingToString
87
parameterCallable
98
localFlowIsLocal
109
readStepIsLocal
@@ -24,3 +23,7 @@ uniqueParameterNodeAtPosition
2423
uniqueParameterNodePosition
2524
uniqueContentApprox
2625
identityLocalStep
26+
missingArgumentCall
27+
multipleArgumentCall
28+
| test.py:7:19:7:19 | ControlFlowNode for a | test.py:7:5:7:20 | obfuscated_id() | Multiple calls for argument node. |
29+
| test.py:7:19:7:19 | ControlFlowNode for a | test.py:7:5:7:20 | obfuscated_id() | Multiple calls for argument node. |

python/ql/test/experimental/dataflow/callgraph_crosstalk/dataflow-consistency.expected

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ uniqueType
44
uniqueNodeLocation
55
missingLocation
66
uniqueNodeToString
7-
missingToString
87
parameterCallable
98
localFlowIsLocal
109
readStepIsLocal
@@ -24,3 +23,14 @@ uniqueParameterNodeAtPosition
2423
uniqueParameterNodePosition
2524
uniqueContentApprox
2625
identityLocalStep
26+
missingArgumentCall
27+
multipleArgumentCall
28+
| test.py:43:6:43:7 | ControlFlowNode for IntegerLiteral | test.py:43:1:43:8 | func() | Multiple calls for argument node. |
29+
| test.py:43:6:43:7 | ControlFlowNode for IntegerLiteral | test.py:43:1:43:8 | func() | Multiple calls for argument node. |
30+
| test.py:43:6:43:7 | ControlFlowNode for IntegerLiteral | test.py:43:1:43:8 | func() | Multiple calls for argument node. |
31+
| test.py:51:6:51:7 | ControlFlowNode for IntegerLiteral | test.py:51:1:51:8 | func() | Multiple calls for argument node. |
32+
| test.py:51:6:51:7 | ControlFlowNode for IntegerLiteral | test.py:51:1:51:8 | func() | Multiple calls for argument node. |
33+
| test.py:51:6:51:7 | ControlFlowNode for IntegerLiteral | test.py:51:1:51:8 | func() | Multiple calls for argument node. |
34+
| test.py:70:6:70:7 | ControlFlowNode for IntegerLiteral | test.py:70:1:70:8 | func() | Multiple calls for argument node. |
35+
| test.py:70:6:70:7 | ControlFlowNode for IntegerLiteral | test.py:70:1:70:8 | func() | Multiple calls for argument node. |
36+
| test.py:70:6:70:7 | ControlFlowNode for IntegerLiteral | test.py:70:1:70:8 | func() | Multiple calls for argument node. |

python/ql/test/experimental/dataflow/calls/dataflow-consistency.expected

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ uniqueType
88
uniqueNodeLocation
99
missingLocation
1010
uniqueNodeToString
11-
missingToString
1211
parameterCallable
1312
localFlowIsLocal
1413
readStepIsLocal
@@ -28,3 +27,65 @@ uniqueParameterNodeAtPosition
2827
uniqueParameterNodePosition
2928
uniqueContentApprox
3029
identityLocalStep
30+
missingArgumentCall
31+
multipleArgumentCall
32+
| new_cls_param.py:12:9:12:11 | ControlFlowNode for cls | new_cls_param.py:12:9:12:17 | Attribute() | Multiple calls for argument node. |
33+
| new_cls_param.py:12:9:12:11 | ControlFlowNode for cls | new_cls_param.py:12:9:12:17 | Attribute() | Multiple calls for argument node. |
34+
| test.py:18:9:18:12 | ControlFlowNode for self | test.py:18:9:18:26 | Attribute() | Multiple calls for argument node. |
35+
| test.py:18:9:18:12 | ControlFlowNode for self | test.py:18:9:18:26 | Attribute() | Multiple calls for argument node. |
36+
| test.py:18:24:18:25 | ControlFlowNode for IntegerLiteral | test.py:18:9:18:26 | Attribute() | Multiple calls for argument node. |
37+
| test.py:18:24:18:25 | ControlFlowNode for IntegerLiteral | test.py:18:9:18:26 | Attribute() | Multiple calls for argument node. |
38+
| test.py:19:17:19:18 | ControlFlowNode for IntegerLiteral | test.py:19:9:19:19 | Attribute() | Multiple calls for argument node. |
39+
| test.py:19:17:19:18 | ControlFlowNode for IntegerLiteral | test.py:19:9:19:19 | Attribute() | Multiple calls for argument node. |
40+
| test.py:31:9:31:11 | ControlFlowNode for cls | test.py:31:9:31:18 | Attribute() | Multiple calls for argument node. |
41+
| test.py:31:9:31:11 | ControlFlowNode for cls | test.py:31:9:31:18 | Attribute() | Multiple calls for argument node. |
42+
| test.py:31:16:31:17 | ControlFlowNode for IntegerLiteral | test.py:31:9:31:18 | Attribute() | Multiple calls for argument node. |
43+
| test.py:31:16:31:17 | ControlFlowNode for IntegerLiteral | test.py:31:9:31:18 | Attribute() | Multiple calls for argument node. |
44+
| test.py:32:16:32:17 | ControlFlowNode for IntegerLiteral | test.py:32:9:32:18 | Attribute() | Multiple calls for argument node. |
45+
| test.py:32:16:32:17 | ControlFlowNode for IntegerLiteral | test.py:32:9:32:18 | Attribute() | Multiple calls for argument node. |
46+
| test.py:37:6:37:6 | ControlFlowNode for IntegerLiteral | test.py:37:1:37:7 | func() | Multiple calls for argument node. |
47+
| test.py:37:6:37:6 | ControlFlowNode for IntegerLiteral | test.py:37:1:37:7 | func() | Multiple calls for argument node. |
48+
| test.py:39:13:39:13 | ControlFlowNode for IntegerLiteral | test.py:39:5:39:14 | MyClass() | Multiple calls for argument node. |
49+
| test.py:39:13:39:13 | ControlFlowNode for IntegerLiteral | test.py:39:5:39:14 | MyClass() | Multiple calls for argument node. |
50+
| test.py:41:1:41:1 | ControlFlowNode for x | test.py:41:1:41:14 | Attribute() | Multiple calls for argument node. |
51+
| test.py:41:1:41:1 | ControlFlowNode for x | test.py:41:1:41:14 | Attribute() | Multiple calls for argument node. |
52+
| test.py:41:13:41:13 | ControlFlowNode for IntegerLiteral | test.py:41:1:41:14 | Attribute() | Multiple calls for argument node. |
53+
| test.py:41:13:41:13 | ControlFlowNode for IntegerLiteral | test.py:41:1:41:14 | Attribute() | Multiple calls for argument node. |
54+
| test.py:43:4:43:4 | ControlFlowNode for IntegerLiteral | test.py:43:1:43:5 | mm() | Multiple calls for argument node. |
55+
| test.py:43:4:43:4 | ControlFlowNode for IntegerLiteral | test.py:43:1:43:5 | mm() | Multiple calls for argument node. |
56+
| test.py:44:19:44:19 | ControlFlowNode for x | test.py:44:1:44:23 | Attribute() | Multiple calls for argument node. |
57+
| test.py:44:19:44:19 | ControlFlowNode for x | test.py:44:1:44:23 | Attribute() | Multiple calls for argument node. |
58+
| test.py:44:22:44:22 | ControlFlowNode for IntegerLiteral | test.py:44:1:44:23 | Attribute() | Multiple calls for argument node. |
59+
| test.py:44:22:44:22 | ControlFlowNode for IntegerLiteral | test.py:44:1:44:23 | Attribute() | Multiple calls for argument node. |
60+
| test.py:46:6:46:6 | ControlFlowNode for IntegerLiteral | test.py:46:1:46:7 | Attribute() | Multiple calls for argument node. |
61+
| test.py:46:6:46:6 | ControlFlowNode for IntegerLiteral | test.py:46:1:46:7 | Attribute() | Multiple calls for argument node. |
62+
| test.py:47:12:47:12 | ControlFlowNode for IntegerLiteral | test.py:47:1:47:13 | Attribute() | Multiple calls for argument node. |
63+
| test.py:47:12:47:12 | ControlFlowNode for IntegerLiteral | test.py:47:1:47:13 | Attribute() | Multiple calls for argument node. |
64+
| test.py:49:6:49:6 | ControlFlowNode for IntegerLiteral | test.py:49:1:49:7 | Attribute() | Multiple calls for argument node. |
65+
| test.py:49:6:49:6 | ControlFlowNode for IntegerLiteral | test.py:49:1:49:7 | Attribute() | Multiple calls for argument node. |
66+
| test.py:50:1:50:7 | ControlFlowNode for MyClass | test.py:50:1:50:13 | Attribute() | Multiple calls for argument node. |
67+
| test.py:50:1:50:7 | ControlFlowNode for MyClass | test.py:50:1:50:13 | Attribute() | Multiple calls for argument node. |
68+
| test.py:50:12:50:12 | ControlFlowNode for IntegerLiteral | test.py:50:1:50:13 | Attribute() | Multiple calls for argument node. |
69+
| test.py:50:12:50:12 | ControlFlowNode for IntegerLiteral | test.py:50:1:50:13 | Attribute() | Multiple calls for argument node. |
70+
| test.py:58:14:58:14 | ControlFlowNode for IntegerLiteral | test.py:58:5:58:15 | Subclass() | Multiple calls for argument node. |
71+
| test.py:58:14:58:14 | ControlFlowNode for IntegerLiteral | test.py:58:5:58:15 | Subclass() | Multiple calls for argument node. |
72+
| test.py:60:1:60:1 | ControlFlowNode for y | test.py:60:1:60:14 | Attribute() | Multiple calls for argument node. |
73+
| test.py:60:1:60:1 | ControlFlowNode for y | test.py:60:1:60:14 | Attribute() | Multiple calls for argument node. |
74+
| test.py:60:13:60:13 | ControlFlowNode for IntegerLiteral | test.py:60:1:60:14 | Attribute() | Multiple calls for argument node. |
75+
| test.py:60:13:60:13 | ControlFlowNode for IntegerLiteral | test.py:60:1:60:14 | Attribute() | Multiple calls for argument node. |
76+
| test.py:62:4:62:4 | ControlFlowNode for IntegerLiteral | test.py:62:1:62:5 | mm() | Multiple calls for argument node. |
77+
| test.py:62:4:62:4 | ControlFlowNode for IntegerLiteral | test.py:62:1:62:5 | mm() | Multiple calls for argument node. |
78+
| test.py:63:20:63:20 | ControlFlowNode for y | test.py:63:1:63:24 | Attribute() | Multiple calls for argument node. |
79+
| test.py:63:20:63:20 | ControlFlowNode for y | test.py:63:1:63:24 | Attribute() | Multiple calls for argument node. |
80+
| test.py:63:23:63:23 | ControlFlowNode for IntegerLiteral | test.py:63:1:63:24 | Attribute() | Multiple calls for argument node. |
81+
| test.py:63:23:63:23 | ControlFlowNode for IntegerLiteral | test.py:63:1:63:24 | Attribute() | Multiple calls for argument node. |
82+
| test.py:65:6:65:6 | ControlFlowNode for IntegerLiteral | test.py:65:1:65:7 | Attribute() | Multiple calls for argument node. |
83+
| test.py:65:6:65:6 | ControlFlowNode for IntegerLiteral | test.py:65:1:65:7 | Attribute() | Multiple calls for argument node. |
84+
| test.py:66:13:66:13 | ControlFlowNode for IntegerLiteral | test.py:66:1:66:14 | Attribute() | Multiple calls for argument node. |
85+
| test.py:66:13:66:13 | ControlFlowNode for IntegerLiteral | test.py:66:1:66:14 | Attribute() | Multiple calls for argument node. |
86+
| test.py:68:6:68:6 | ControlFlowNode for IntegerLiteral | test.py:68:1:68:7 | Attribute() | Multiple calls for argument node. |
87+
| test.py:68:6:68:6 | ControlFlowNode for IntegerLiteral | test.py:68:1:68:7 | Attribute() | Multiple calls for argument node. |
88+
| test.py:69:1:69:8 | ControlFlowNode for Subclass | test.py:69:1:69:14 | Attribute() | Multiple calls for argument node. |
89+
| test.py:69:1:69:8 | ControlFlowNode for Subclass | test.py:69:1:69:14 | Attribute() | Multiple calls for argument node. |
90+
| test.py:69:13:69:13 | ControlFlowNode for IntegerLiteral | test.py:69:1:69:14 | Attribute() | Multiple calls for argument node. |
91+
| test.py:69:13:69:13 | ControlFlowNode for IntegerLiteral | test.py:69:1:69:14 | Attribute() | Multiple calls for argument node. |

python/ql/test/experimental/dataflow/consistency/dataflow-consistency.expected

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ uniqueType
44
uniqueNodeLocation
55
missingLocation
66
uniqueNodeToString
7-
missingToString
87
parameterCallable
98
localFlowIsLocal
109
readStepIsLocal
@@ -24,3 +23,43 @@ uniqueParameterNodeAtPosition
2423
uniqueParameterNodePosition
2524
uniqueContentApprox
2625
identityLocalStep
26+
missingArgumentCall
27+
multipleArgumentCall
28+
| test.py:25:10:25:10 | ControlFlowNode for t | test.py:25:5:25:11 | sink() | Multiple calls for argument node. |
29+
| test.py:25:10:25:10 | ControlFlowNode for t | test.py:25:5:25:11 | sink() | Multiple calls for argument node. |
30+
| test.py:29:10:29:10 | ControlFlowNode for t | test.py:29:5:29:11 | sink() | Multiple calls for argument node. |
31+
| test.py:29:10:29:10 | ControlFlowNode for t | test.py:29:5:29:11 | sink() | Multiple calls for argument node. |
32+
| test.py:48:19:48:21 | ControlFlowNode for arg | test.py:48:12:48:22 | source() | Multiple calls for argument node. |
33+
| test.py:48:19:48:21 | ControlFlowNode for arg | test.py:48:12:48:22 | source() | Multiple calls for argument node. |
34+
| test.py:51:10:51:12 | ControlFlowNode for arg | test.py:51:5:51:13 | sink() | Multiple calls for argument node. |
35+
| test.py:51:10:51:12 | ControlFlowNode for arg | test.py:51:5:51:13 | sink() | Multiple calls for argument node. |
36+
| test.py:55:14:55:16 | ControlFlowNode for arg | test.py:55:9:55:17 | sink() | Multiple calls for argument node. |
37+
| test.py:55:14:55:16 | ControlFlowNode for arg | test.py:55:9:55:17 | sink() | Multiple calls for argument node. |
38+
| test.py:59:11:59:11 | ControlFlowNode for t | test.py:59:5:59:12 | sink2() | Multiple calls for argument node. |
39+
| test.py:59:11:59:11 | ControlFlowNode for t | test.py:59:5:59:12 | sink2() | Multiple calls for argument node. |
40+
| test.py:67:11:67:14 | ControlFlowNode for cond | test.py:67:5:67:18 | sink3() | Multiple calls for argument node. |
41+
| test.py:67:11:67:14 | ControlFlowNode for cond | test.py:67:5:67:18 | sink3() | Multiple calls for argument node. |
42+
| test.py:67:17:67:17 | ControlFlowNode for t | test.py:67:5:67:18 | sink3() | Multiple calls for argument node. |
43+
| test.py:67:17:67:17 | ControlFlowNode for t | test.py:67:5:67:18 | sink3() | Multiple calls for argument node. |
44+
| test.py:74:11:74:14 | ControlFlowNode for cond | test.py:74:5:74:18 | sink3() | Multiple calls for argument node. |
45+
| test.py:74:11:74:14 | ControlFlowNode for cond | test.py:74:5:74:18 | sink3() | Multiple calls for argument node. |
46+
| test.py:74:17:74:17 | ControlFlowNode for t | test.py:74:5:74:18 | sink3() | Multiple calls for argument node. |
47+
| test.py:74:17:74:17 | ControlFlowNode for t | test.py:74:5:74:18 | sink3() | Multiple calls for argument node. |
48+
| test.py:81:13:81:13 | ControlFlowNode for t | test.py:81:9:81:14 | hub() | Multiple calls for argument node. |
49+
| test.py:81:13:81:13 | ControlFlowNode for t | test.py:81:9:81:14 | hub() | Multiple calls for argument node. |
50+
| test.py:86:13:86:13 | ControlFlowNode for t | test.py:86:9:86:14 | hub() | Multiple calls for argument node. |
51+
| test.py:86:13:86:13 | ControlFlowNode for t | test.py:86:9:86:14 | hub() | Multiple calls for argument node. |
52+
| test.py:120:13:120:13 | ControlFlowNode for t | test.py:120:9:120:14 | hub() | Multiple calls for argument node. |
53+
| test.py:120:13:120:13 | ControlFlowNode for t | test.py:120:9:120:14 | hub() | Multiple calls for argument node. |
54+
| test.py:121:12:121:12 | ControlFlowNode for t | test.py:121:5:121:13 | x_sink() | Multiple calls for argument node. |
55+
| test.py:121:12:121:12 | ControlFlowNode for t | test.py:121:5:121:13 | x_sink() | Multiple calls for argument node. |
56+
| test.py:125:13:125:29 | ControlFlowNode for TAINT_FROM_ARG() | test.py:125:9:125:30 | hub() | Multiple calls for argument node. |
57+
| test.py:125:13:125:29 | ControlFlowNode for TAINT_FROM_ARG() | test.py:125:9:125:30 | hub() | Multiple calls for argument node. |
58+
| test.py:245:20:245:21 | ControlFlowNode for IntegerLiteral | test.py:245:5:245:22 | overflowCallee() | Multiple calls for argument node. |
59+
| test.py:245:20:245:21 | ControlFlowNode for IntegerLiteral | test.py:245:5:245:22 | overflowCallee() | Multiple calls for argument node. |
60+
| test.py:248:5:248:26 | SynthDictSplatArgumentNode | test.py:248:5:248:26 | overflowCallee() | Multiple calls for argument node. |
61+
| test.py:248:5:248:26 | SynthDictSplatArgumentNode | test.py:248:5:248:26 | overflowCallee() | Multiple calls for argument node. |
62+
| test.py:248:24:248:25 | ControlFlowNode for IntegerLiteral | test.py:248:5:248:26 | overflowCallee() | Multiple calls for argument node. |
63+
| test.py:248:24:248:25 | ControlFlowNode for IntegerLiteral | test.py:248:5:248:26 | overflowCallee() | Multiple calls for argument node. |
64+
| test.py:251:22:251:32 | ControlFlowNode for Dict | test.py:251:5:251:33 | overflowCallee() | Multiple calls for argument node. |
65+
| test.py:251:22:251:32 | ControlFlowNode for Dict | test.py:251:5:251:33 | overflowCallee() | Multiple calls for argument node. |

0 commit comments

Comments
 (0)