Skip to content

Commit 0ea06ac

Browse files
committed
Rust: Introduce more functions in Axum test
1 parent d709343 commit 0ea06ac

File tree

3 files changed

+172
-192
lines changed

3 files changed

+172
-192
lines changed

rust/ql/test/library-tests/dataflow/sources/web_frameworks/InlineFlow.expected

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,36 @@ edges
2020
| test.rs:58:14:58:15 | ms | test.rs:60:14:60:17 | ms.a | provenance | |
2121
| test.rs:58:14:58:15 | ms | test.rs:61:14:61:17 | ms.b | provenance | |
2222
| test.rs:68:15:68:15 | a | test.rs:70:14:70:14 | a | provenance | |
23-
| test.rs:98:9:98:31 | ...: ...::Path::<...> | test.rs:100:17:100:20 | path | provenance | |
24-
| test.rs:100:13:100:13 | a | test.rs:101:14:101:14 | a | provenance | |
25-
| test.rs:100:13:100:13 | a | test.rs:102:14:102:14 | a | provenance | |
26-
| test.rs:100:13:100:13 | a | test.rs:103:14:103:14 | a | provenance | |
27-
| test.rs:100:17:100:20 | path | test.rs:100:17:100:33 | path.into_inner() | provenance | MaD:6 |
28-
| test.rs:100:17:100:33 | path.into_inner() | test.rs:100:13:100:13 | a | provenance | |
29-
| test.rs:101:14:101:14 | a | test.rs:101:14:101:23 | a.as_str() | provenance | MaD:8 |
30-
| test.rs:102:14:102:14 | a | test.rs:102:14:102:25 | a.as_bytes() | provenance | MaD:7 |
31-
| test.rs:109:9:109:41 | ...: ...::Path::<...> | test.rs:111:22:111:25 | path | provenance | |
32-
| test.rs:111:13:111:18 | TuplePat | test.rs:113:14:113:14 | a | provenance | |
33-
| test.rs:111:13:111:18 | TuplePat | test.rs:114:14:114:14 | b | provenance | |
34-
| test.rs:111:22:111:25 | path | test.rs:111:22:111:38 | path.into_inner() | provenance | MaD:6 |
35-
| test.rs:111:22:111:38 | path.into_inner() | test.rs:111:13:111:18 | TuplePat | provenance | |
36-
| test.rs:120:9:120:41 | ...: ...::Query::<...> | test.rs:122:14:122:14 | a | provenance | |
37-
| test.rs:127:5:127:20 | to | test.rs:129:9:129:31 | ...: ...::Path::<...> | provenance | Src:MaD:4 |
38-
| test.rs:129:9:129:31 | ...: ...::Path::<...> | test.rs:131:17:131:20 | path | provenance | |
39-
| test.rs:131:13:131:13 | a | test.rs:132:14:132:14 | a | provenance | |
40-
| test.rs:131:17:131:20 | path | test.rs:131:17:131:33 | path.into_inner() | provenance | MaD:6 |
41-
| test.rs:131:17:131:33 | path.into_inner() | test.rs:131:13:131:13 | a | provenance | |
42-
| test.rs:139:41:139:42 | to | test.rs:98:9:98:31 | ...: ...::Path::<...> | provenance | Src:MaD:5 |
43-
| test.rs:140:45:140:46 | to | test.rs:109:9:109:41 | ...: ...::Path::<...> | provenance | Src:MaD:5 |
44-
| test.rs:141:41:141:42 | to | test.rs:120:9:120:41 | ...: ...::Query::<...> | provenance | Src:MaD:5 |
45-
| test.rs:242:33:242:35 | map | test.rs:242:38:242:46 | ...: String | provenance | Src:MaD:2 |
46-
| test.rs:242:38:242:46 | ...: String | test.rs:244:18:244:18 | a | provenance | |
47-
| test.rs:250:46:250:49 | then | test.rs:251:25:251:33 | ...: String | provenance | Src:MaD:3 |
48-
| test.rs:251:25:251:33 | ...: String | test.rs:252:22:252:22 | a | provenance | |
49-
| test.rs:259:50:259:57 | and_then | test.rs:260:26:260:32 | ...: u64 | provenance | Src:MaD:1 |
50-
| test.rs:260:26:260:32 | ...: u64 | test.rs:263:22:263:23 | id | provenance | |
51-
| test.rs:272:75:272:77 | map | test.rs:273:15:273:23 | ...: String | provenance | Src:MaD:2 |
52-
| test.rs:273:15:273:23 | ...: String | test.rs:275:22:275:22 | a | provenance | |
23+
| test.rs:97:33:97:55 | ...: ...::Path::<...> | test.rs:98:17:98:20 | path | provenance | |
24+
| test.rs:98:13:98:13 | a | test.rs:99:14:99:14 | a | provenance | |
25+
| test.rs:98:13:98:13 | a | test.rs:100:14:100:14 | a | provenance | |
26+
| test.rs:98:13:98:13 | a | test.rs:101:14:101:14 | a | provenance | |
27+
| test.rs:98:17:98:20 | path | test.rs:98:17:98:33 | path.into_inner() | provenance | MaD:6 |
28+
| test.rs:98:17:98:33 | path.into_inner() | test.rs:98:13:98:13 | a | provenance | |
29+
| test.rs:99:14:99:14 | a | test.rs:99:14:99:23 | a.as_str() | provenance | MaD:8 |
30+
| test.rs:100:14:100:14 | a | test.rs:100:14:100:25 | a.as_bytes() | provenance | MaD:7 |
31+
| test.rs:106:33:106:65 | ...: ...::Path::<...> | test.rs:107:22:107:25 | path | provenance | |
32+
| test.rs:107:13:107:18 | TuplePat | test.rs:109:14:109:14 | a | provenance | |
33+
| test.rs:107:13:107:18 | TuplePat | test.rs:110:14:110:14 | b | provenance | |
34+
| test.rs:107:22:107:25 | path | test.rs:107:22:107:38 | path.into_inner() | provenance | MaD:6 |
35+
| test.rs:107:22:107:38 | path.into_inner() | test.rs:107:13:107:18 | TuplePat | provenance | |
36+
| test.rs:115:33:115:65 | ...: ...::Query::<...> | test.rs:116:14:116:14 | a | provenance | |
37+
| test.rs:121:5:121:20 | to | test.rs:122:33:122:55 | ...: ...::Path::<...> | provenance | Src:MaD:4 |
38+
| test.rs:122:33:122:55 | ...: ...::Path::<...> | test.rs:123:17:123:20 | path | provenance | |
39+
| test.rs:123:13:123:13 | a | test.rs:124:14:124:14 | a | provenance | |
40+
| test.rs:123:17:123:20 | path | test.rs:123:17:123:33 | path.into_inner() | provenance | MaD:6 |
41+
| test.rs:123:17:123:33 | path.into_inner() | test.rs:123:13:123:13 | a | provenance | |
42+
| test.rs:131:41:131:42 | to | test.rs:97:33:97:55 | ...: ...::Path::<...> | provenance | Src:MaD:5 |
43+
| test.rs:132:45:132:46 | to | test.rs:106:33:106:65 | ...: ...::Path::<...> | provenance | Src:MaD:5 |
44+
| test.rs:133:41:133:42 | to | test.rs:115:33:115:65 | ...: ...::Query::<...> | provenance | Src:MaD:5 |
45+
| test.rs:222:33:222:35 | map | test.rs:222:38:222:46 | ...: String | provenance | Src:MaD:2 |
46+
| test.rs:222:38:222:46 | ...: String | test.rs:224:18:224:18 | a | provenance | |
47+
| test.rs:230:46:230:49 | then | test.rs:231:25:231:33 | ...: String | provenance | Src:MaD:3 |
48+
| test.rs:231:25:231:33 | ...: String | test.rs:232:22:232:22 | a | provenance | |
49+
| test.rs:239:50:239:57 | and_then | test.rs:240:26:240:32 | ...: u64 | provenance | Src:MaD:1 |
50+
| test.rs:240:26:240:32 | ...: u64 | test.rs:243:22:243:23 | id | provenance | |
51+
| test.rs:252:75:252:77 | map | test.rs:253:15:253:23 | ...: String | provenance | Src:MaD:2 |
52+
| test.rs:253:15:253:23 | ...: String | test.rs:255:22:255:22 | a | provenance | |
5353
nodes
5454
| test.rs:11:31:11:31 | a | semmle.label | a |
5555
| test.rs:13:14:13:14 | a | semmle.label | a |
@@ -68,44 +68,44 @@ nodes
6868
| test.rs:61:14:61:17 | ms.b | semmle.label | ms.b |
6969
| test.rs:68:15:68:15 | a | semmle.label | a |
7070
| test.rs:70:14:70:14 | a | semmle.label | a |
71-
| test.rs:98:9:98:31 | ...: ...::Path::<...> | semmle.label | ...: ...::Path::<...> |
72-
| test.rs:100:13:100:13 | a | semmle.label | a |
73-
| test.rs:100:17:100:20 | path | semmle.label | path |
74-
| test.rs:100:17:100:33 | path.into_inner() | semmle.label | path.into_inner() |
71+
| test.rs:97:33:97:55 | ...: ...::Path::<...> | semmle.label | ...: ...::Path::<...> |
72+
| test.rs:98:13:98:13 | a | semmle.label | a |
73+
| test.rs:98:17:98:20 | path | semmle.label | path |
74+
| test.rs:98:17:98:33 | path.into_inner() | semmle.label | path.into_inner() |
75+
| test.rs:99:14:99:14 | a | semmle.label | a |
76+
| test.rs:99:14:99:23 | a.as_str() | semmle.label | a.as_str() |
77+
| test.rs:100:14:100:14 | a | semmle.label | a |
78+
| test.rs:100:14:100:25 | a.as_bytes() | semmle.label | a.as_bytes() |
7579
| test.rs:101:14:101:14 | a | semmle.label | a |
76-
| test.rs:101:14:101:23 | a.as_str() | semmle.label | a.as_str() |
77-
| test.rs:102:14:102:14 | a | semmle.label | a |
78-
| test.rs:102:14:102:25 | a.as_bytes() | semmle.label | a.as_bytes() |
79-
| test.rs:103:14:103:14 | a | semmle.label | a |
80-
| test.rs:109:9:109:41 | ...: ...::Path::<...> | semmle.label | ...: ...::Path::<...> |
81-
| test.rs:111:13:111:18 | TuplePat | semmle.label | TuplePat |
82-
| test.rs:111:22:111:25 | path | semmle.label | path |
83-
| test.rs:111:22:111:38 | path.into_inner() | semmle.label | path.into_inner() |
84-
| test.rs:113:14:113:14 | a | semmle.label | a |
85-
| test.rs:114:14:114:14 | b | semmle.label | b |
86-
| test.rs:120:9:120:41 | ...: ...::Query::<...> | semmle.label | ...: ...::Query::<...> |
87-
| test.rs:122:14:122:14 | a | semmle.label | a |
88-
| test.rs:127:5:127:20 | to | semmle.label | to |
89-
| test.rs:129:9:129:31 | ...: ...::Path::<...> | semmle.label | ...: ...::Path::<...> |
90-
| test.rs:131:13:131:13 | a | semmle.label | a |
91-
| test.rs:131:17:131:20 | path | semmle.label | path |
92-
| test.rs:131:17:131:33 | path.into_inner() | semmle.label | path.into_inner() |
93-
| test.rs:132:14:132:14 | a | semmle.label | a |
94-
| test.rs:139:41:139:42 | to | semmle.label | to |
95-
| test.rs:140:45:140:46 | to | semmle.label | to |
96-
| test.rs:141:41:141:42 | to | semmle.label | to |
97-
| test.rs:242:33:242:35 | map | semmle.label | map |
98-
| test.rs:242:38:242:46 | ...: String | semmle.label | ...: String |
99-
| test.rs:244:18:244:18 | a | semmle.label | a |
100-
| test.rs:250:46:250:49 | then | semmle.label | then |
101-
| test.rs:251:25:251:33 | ...: String | semmle.label | ...: String |
102-
| test.rs:252:22:252:22 | a | semmle.label | a |
103-
| test.rs:259:50:259:57 | and_then | semmle.label | and_then |
104-
| test.rs:260:26:260:32 | ...: u64 | semmle.label | ...: u64 |
105-
| test.rs:263:22:263:23 | id | semmle.label | id |
106-
| test.rs:272:75:272:77 | map | semmle.label | map |
107-
| test.rs:273:15:273:23 | ...: String | semmle.label | ...: String |
108-
| test.rs:275:22:275:22 | a | semmle.label | a |
80+
| test.rs:106:33:106:65 | ...: ...::Path::<...> | semmle.label | ...: ...::Path::<...> |
81+
| test.rs:107:13:107:18 | TuplePat | semmle.label | TuplePat |
82+
| test.rs:107:22:107:25 | path | semmle.label | path |
83+
| test.rs:107:22:107:38 | path.into_inner() | semmle.label | path.into_inner() |
84+
| test.rs:109:14:109:14 | a | semmle.label | a |
85+
| test.rs:110:14:110:14 | b | semmle.label | b |
86+
| test.rs:115:33:115:65 | ...: ...::Query::<...> | semmle.label | ...: ...::Query::<...> |
87+
| test.rs:116:14:116:14 | a | semmle.label | a |
88+
| test.rs:121:5:121:20 | to | semmle.label | to |
89+
| test.rs:122:33:122:55 | ...: ...::Path::<...> | semmle.label | ...: ...::Path::<...> |
90+
| test.rs:123:13:123:13 | a | semmle.label | a |
91+
| test.rs:123:17:123:20 | path | semmle.label | path |
92+
| test.rs:123:17:123:33 | path.into_inner() | semmle.label | path.into_inner() |
93+
| test.rs:124:14:124:14 | a | semmle.label | a |
94+
| test.rs:131:41:131:42 | to | semmle.label | to |
95+
| test.rs:132:45:132:46 | to | semmle.label | to |
96+
| test.rs:133:41:133:42 | to | semmle.label | to |
97+
| test.rs:222:33:222:35 | map | semmle.label | map |
98+
| test.rs:222:38:222:46 | ...: String | semmle.label | ...: String |
99+
| test.rs:224:18:224:18 | a | semmle.label | a |
100+
| test.rs:230:46:230:49 | then | semmle.label | then |
101+
| test.rs:231:25:231:33 | ...: String | semmle.label | ...: String |
102+
| test.rs:232:22:232:22 | a | semmle.label | a |
103+
| test.rs:239:50:239:57 | and_then | semmle.label | and_then |
104+
| test.rs:240:26:240:32 | ...: u64 | semmle.label | ...: u64 |
105+
| test.rs:243:22:243:23 | id | semmle.label | id |
106+
| test.rs:252:75:252:77 | map | semmle.label | map |
107+
| test.rs:253:15:253:23 | ...: String | semmle.label | ...: String |
108+
| test.rs:255:22:255:22 | a | semmle.label | a |
109109
subpaths
110110
testFailures
111111
#select
@@ -119,14 +119,14 @@ testFailures
119119
| test.rs:60:14:60:17 | ms.a | test.rs:58:14:58:15 | ms | test.rs:60:14:60:17 | ms.a | $@ | test.rs:58:14:58:15 | ms | ms |
120120
| test.rs:61:14:61:17 | ms.b | test.rs:58:14:58:15 | ms | test.rs:61:14:61:17 | ms.b | $@ | test.rs:58:14:58:15 | ms | ms |
121121
| test.rs:70:14:70:14 | a | test.rs:68:15:68:15 | a | test.rs:70:14:70:14 | a | $@ | test.rs:68:15:68:15 | a | a |
122-
| test.rs:101:14:101:23 | a.as_str() | test.rs:139:41:139:42 | to | test.rs:101:14:101:23 | a.as_str() | $@ | test.rs:139:41:139:42 | to | to |
123-
| test.rs:102:14:102:25 | a.as_bytes() | test.rs:139:41:139:42 | to | test.rs:102:14:102:25 | a.as_bytes() | $@ | test.rs:139:41:139:42 | to | to |
124-
| test.rs:103:14:103:14 | a | test.rs:139:41:139:42 | to | test.rs:103:14:103:14 | a | $@ | test.rs:139:41:139:42 | to | to |
125-
| test.rs:113:14:113:14 | a | test.rs:140:45:140:46 | to | test.rs:113:14:113:14 | a | $@ | test.rs:140:45:140:46 | to | to |
126-
| test.rs:114:14:114:14 | b | test.rs:140:45:140:46 | to | test.rs:114:14:114:14 | b | $@ | test.rs:140:45:140:46 | to | to |
127-
| test.rs:122:14:122:14 | a | test.rs:141:41:141:42 | to | test.rs:122:14:122:14 | a | $@ | test.rs:141:41:141:42 | to | to |
128-
| test.rs:132:14:132:14 | a | test.rs:127:5:127:20 | to | test.rs:132:14:132:14 | a | $@ | test.rs:127:5:127:20 | to | to |
129-
| test.rs:244:18:244:18 | a | test.rs:242:33:242:35 | map | test.rs:244:18:244:18 | a | $@ | test.rs:242:33:242:35 | map | map |
130-
| test.rs:252:22:252:22 | a | test.rs:250:46:250:49 | then | test.rs:252:22:252:22 | a | $@ | test.rs:250:46:250:49 | then | then |
131-
| test.rs:263:22:263:23 | id | test.rs:259:50:259:57 | and_then | test.rs:263:22:263:23 | id | $@ | test.rs:259:50:259:57 | and_then | and_then |
132-
| test.rs:275:22:275:22 | a | test.rs:272:75:272:77 | map | test.rs:275:22:275:22 | a | $@ | test.rs:272:75:272:77 | map | map |
122+
| test.rs:99:14:99:23 | a.as_str() | test.rs:131:41:131:42 | to | test.rs:99:14:99:23 | a.as_str() | $@ | test.rs:131:41:131:42 | to | to |
123+
| test.rs:100:14:100:25 | a.as_bytes() | test.rs:131:41:131:42 | to | test.rs:100:14:100:25 | a.as_bytes() | $@ | test.rs:131:41:131:42 | to | to |
124+
| test.rs:101:14:101:14 | a | test.rs:131:41:131:42 | to | test.rs:101:14:101:14 | a | $@ | test.rs:131:41:131:42 | to | to |
125+
| test.rs:109:14:109:14 | a | test.rs:132:45:132:46 | to | test.rs:109:14:109:14 | a | $@ | test.rs:132:45:132:46 | to | to |
126+
| test.rs:110:14:110:14 | b | test.rs:132:45:132:46 | to | test.rs:110:14:110:14 | b | $@ | test.rs:132:45:132:46 | to | to |
127+
| test.rs:116:14:116:14 | a | test.rs:133:41:133:42 | to | test.rs:116:14:116:14 | a | $@ | test.rs:133:41:133:42 | to | to |
128+
| test.rs:124:14:124:14 | a | test.rs:121:5:121:20 | to | test.rs:124:14:124:14 | a | $@ | test.rs:121:5:121:20 | to | to |
129+
| test.rs:224:18:224:18 | a | test.rs:222:33:222:35 | map | test.rs:224:18:224:18 | a | $@ | test.rs:222:33:222:35 | map | map |
130+
| test.rs:232:22:232:22 | a | test.rs:230:46:230:49 | then | test.rs:232:22:232:22 | a | $@ | test.rs:230:46:230:49 | then | then |
131+
| test.rs:243:22:243:23 | id | test.rs:239:50:239:57 | and_then | test.rs:243:22:243:23 | id | $@ | test.rs:239:50:239:57 | and_then | and_then |
132+
| test.rs:255:22:255:22 | a | test.rs:252:75:252:77 | map | test.rs:255:22:255:22 | a | $@ | test.rs:252:75:252:77 | map | map |

0 commit comments

Comments
 (0)