|
1 | 1 | #select |
2 | 2 | | src/main.rs:10:5:10:22 | ...::read_to_string | src/main.rs:6:11:6:19 | file_name | src/main.rs:10:5:10:22 | ...::read_to_string | This path depends on a $@. | src/main.rs:6:11:6:19 | file_name | user-provided value | |
3 | | -| src/main.rs:22:5:22:22 | ...::read_to_string | src/main.rs:15:11:15:19 | file_name | src/main.rs:22:5:22:22 | ...::read_to_string | This path depends on a $@. | src/main.rs:15:11:15:19 | file_name | user-provided value | |
4 | | -| src/main.rs:35:5:35:22 | ...::read_to_string | src/main.rs:27:11:27:19 | file_path | src/main.rs:35:5:35:22 | ...::read_to_string | This path depends on a $@. | src/main.rs:27:11:27:19 | file_path | user-provided value | |
| 3 | +| src/main.rs:45:5:45:22 | ...::read_to_string | src/main.rs:37:11:37:19 | file_path | src/main.rs:45:5:45:22 | ...::read_to_string | This path depends on a $@. | src/main.rs:37:11:37:19 | file_path | user-provided value | |
| 4 | +| src/main.rs:59:5:59:22 | ...::read_to_string | src/main.rs:50:11:50:19 | file_path | src/main.rs:59:5:59:22 | ...::read_to_string | This path depends on a $@. | src/main.rs:50:11:50:19 | file_path | user-provided value | |
5 | 5 | edges |
6 | 6 | | src/main.rs:6:11:6:19 | file_name | src/main.rs:8:35:8:43 | file_name | provenance | | |
7 | 7 | | src/main.rs:8:9:8:17 | file_path | src/main.rs:10:24:10:32 | file_path | provenance | | |
8 | 8 | | src/main.rs:8:21:8:44 | ...::from(...) | src/main.rs:8:9:8:17 | file_path | provenance | | |
9 | | -| src/main.rs:8:35:8:43 | file_name | src/main.rs:8:21:8:44 | ...::from(...) | provenance | MaD:3 | |
| 9 | +| src/main.rs:8:35:8:43 | file_name | src/main.rs:8:21:8:44 | ...::from(...) | provenance | MaD:4 | |
10 | 10 | | src/main.rs:10:24:10:32 | file_path | src/main.rs:10:5:10:22 | ...::read_to_string | provenance | MaD:1 Sink:MaD:1 | |
11 | | -| src/main.rs:15:11:15:19 | file_name | src/main.rs:21:35:21:43 | file_name | provenance | | |
12 | | -| src/main.rs:21:9:21:17 | file_path | src/main.rs:22:24:22:32 | file_path | provenance | | |
13 | | -| src/main.rs:21:21:21:44 | ...::from(...) | src/main.rs:21:9:21:17 | file_path | provenance | | |
14 | | -| src/main.rs:21:35:21:43 | file_name | src/main.rs:21:21:21:44 | ...::from(...) | provenance | MaD:3 | |
15 | | -| src/main.rs:22:24:22:32 | file_path | src/main.rs:22:5:22:22 | ...::read_to_string | provenance | MaD:1 Sink:MaD:1 | |
16 | | -| src/main.rs:27:11:27:19 | file_path | src/main.rs:30:52:30:60 | file_path | provenance | | |
17 | | -| src/main.rs:30:9:30:17 | file_path | src/main.rs:35:24:35:32 | file_path | provenance | | |
18 | | -| src/main.rs:30:21:30:62 | public_path.join(...) | src/main.rs:30:9:30:17 | file_path | provenance | | |
19 | | -| src/main.rs:30:38:30:61 | ...::from(...) | src/main.rs:30:21:30:62 | public_path.join(...) | provenance | MaD:2 | |
20 | | -| src/main.rs:30:52:30:60 | file_path | src/main.rs:30:38:30:61 | ...::from(...) | provenance | MaD:3 | |
21 | | -| src/main.rs:35:24:35:32 | file_path | src/main.rs:35:5:35:22 | ...::read_to_string | provenance | MaD:1 Sink:MaD:1 | |
| 11 | +| src/main.rs:37:11:37:19 | file_path | src/main.rs:40:52:40:60 | file_path | provenance | | |
| 12 | +| src/main.rs:40:9:40:17 | file_path | src/main.rs:45:24:45:32 | file_path | provenance | | |
| 13 | +| src/main.rs:40:21:40:62 | public_path.join(...) | src/main.rs:40:9:40:17 | file_path | provenance | | |
| 14 | +| src/main.rs:40:38:40:61 | ...::from(...) | src/main.rs:40:21:40:62 | public_path.join(...) | provenance | MaD:3 | |
| 15 | +| src/main.rs:40:52:40:60 | file_path | src/main.rs:40:38:40:61 | ...::from(...) | provenance | MaD:4 | |
| 16 | +| src/main.rs:45:24:45:32 | file_path | src/main.rs:45:5:45:22 | ...::read_to_string | provenance | MaD:1 Sink:MaD:1 | |
| 17 | +| src/main.rs:50:11:50:19 | file_path | src/main.rs:53:52:53:60 | file_path | provenance | | |
| 18 | +| src/main.rs:53:9:53:17 | file_path | src/main.rs:54:21:54:29 | file_path | provenance | | |
| 19 | +| src/main.rs:53:21:53:62 | public_path.join(...) | src/main.rs:53:9:53:17 | file_path | provenance | | |
| 20 | +| src/main.rs:53:38:53:61 | ...::from(...) | src/main.rs:53:21:53:62 | public_path.join(...) | provenance | MaD:3 | |
| 21 | +| src/main.rs:53:52:53:60 | file_path | src/main.rs:53:38:53:61 | ...::from(...) | provenance | MaD:4 | |
| 22 | +| src/main.rs:54:9:54:17 | file_path | src/main.rs:59:24:59:32 | file_path | provenance | | |
| 23 | +| src/main.rs:54:21:54:29 | file_path | src/main.rs:54:21:54:44 | file_path.canonicalize(...) | provenance | Config | |
| 24 | +| src/main.rs:54:21:54:44 | file_path.canonicalize(...) | src/main.rs:54:21:54:53 | ... .unwrap(...) | provenance | MaD:2 | |
| 25 | +| src/main.rs:54:21:54:53 | ... .unwrap(...) | src/main.rs:54:9:54:17 | file_path | provenance | | |
| 26 | +| src/main.rs:59:24:59:32 | file_path | src/main.rs:59:5:59:22 | ...::read_to_string | provenance | MaD:1 Sink:MaD:1 | |
22 | 27 | models |
23 | 28 | | 1 | Sink: lang:std; crate::fs::read_to_string; path-injection; Argument[0] | |
24 | | -| 2 | Summary: lang:std; <crate::path::Path>::join; Argument[0]; ReturnValue; taint | |
25 | | -| 3 | Summary: lang:std; <crate::path::PathBuf as crate::convert::From>::from; Argument[0]; ReturnValue; taint | |
| 29 | +| 2 | Summary: lang:core; <crate::result::Result>::unwrap; Argument[self]; ReturnValue; taint | |
| 30 | +| 3 | Summary: lang:std; <crate::path::Path>::join; Argument[0]; ReturnValue; taint | |
| 31 | +| 4 | Summary: lang:std; <crate::path::PathBuf as crate::convert::From>::from; Argument[0]; ReturnValue; taint | |
26 | 32 | nodes |
27 | 33 | | src/main.rs:6:11:6:19 | file_name | semmle.label | file_name | |
28 | 34 | | src/main.rs:8:9:8:17 | file_path | semmle.label | file_path | |
29 | 35 | | src/main.rs:8:21:8:44 | ...::from(...) | semmle.label | ...::from(...) | |
30 | 36 | | src/main.rs:8:35:8:43 | file_name | semmle.label | file_name | |
31 | 37 | | src/main.rs:10:5:10:22 | ...::read_to_string | semmle.label | ...::read_to_string | |
32 | 38 | | src/main.rs:10:24:10:32 | file_path | semmle.label | file_path | |
33 | | -| src/main.rs:15:11:15:19 | file_name | semmle.label | file_name | |
34 | | -| src/main.rs:21:9:21:17 | file_path | semmle.label | file_path | |
35 | | -| src/main.rs:21:21:21:44 | ...::from(...) | semmle.label | ...::from(...) | |
36 | | -| src/main.rs:21:35:21:43 | file_name | semmle.label | file_name | |
37 | | -| src/main.rs:22:5:22:22 | ...::read_to_string | semmle.label | ...::read_to_string | |
38 | | -| src/main.rs:22:24:22:32 | file_path | semmle.label | file_path | |
39 | | -| src/main.rs:27:11:27:19 | file_path | semmle.label | file_path | |
40 | | -| src/main.rs:30:9:30:17 | file_path | semmle.label | file_path | |
41 | | -| src/main.rs:30:21:30:62 | public_path.join(...) | semmle.label | public_path.join(...) | |
42 | | -| src/main.rs:30:38:30:61 | ...::from(...) | semmle.label | ...::from(...) | |
43 | | -| src/main.rs:30:52:30:60 | file_path | semmle.label | file_path | |
44 | | -| src/main.rs:35:5:35:22 | ...::read_to_string | semmle.label | ...::read_to_string | |
45 | | -| src/main.rs:35:24:35:32 | file_path | semmle.label | file_path | |
| 39 | +| src/main.rs:37:11:37:19 | file_path | semmle.label | file_path | |
| 40 | +| src/main.rs:40:9:40:17 | file_path | semmle.label | file_path | |
| 41 | +| src/main.rs:40:21:40:62 | public_path.join(...) | semmle.label | public_path.join(...) | |
| 42 | +| src/main.rs:40:38:40:61 | ...::from(...) | semmle.label | ...::from(...) | |
| 43 | +| src/main.rs:40:52:40:60 | file_path | semmle.label | file_path | |
| 44 | +| src/main.rs:45:5:45:22 | ...::read_to_string | semmle.label | ...::read_to_string | |
| 45 | +| src/main.rs:45:24:45:32 | file_path | semmle.label | file_path | |
| 46 | +| src/main.rs:50:11:50:19 | file_path | semmle.label | file_path | |
| 47 | +| src/main.rs:53:9:53:17 | file_path | semmle.label | file_path | |
| 48 | +| src/main.rs:53:21:53:62 | public_path.join(...) | semmle.label | public_path.join(...) | |
| 49 | +| src/main.rs:53:38:53:61 | ...::from(...) | semmle.label | ...::from(...) | |
| 50 | +| src/main.rs:53:52:53:60 | file_path | semmle.label | file_path | |
| 51 | +| src/main.rs:54:9:54:17 | file_path | semmle.label | file_path | |
| 52 | +| src/main.rs:54:21:54:29 | file_path | semmle.label | file_path | |
| 53 | +| src/main.rs:54:21:54:44 | file_path.canonicalize(...) | semmle.label | file_path.canonicalize(...) | |
| 54 | +| src/main.rs:54:21:54:53 | ... .unwrap(...) | semmle.label | ... .unwrap(...) | |
| 55 | +| src/main.rs:59:5:59:22 | ...::read_to_string | semmle.label | ...::read_to_string | |
| 56 | +| src/main.rs:59:24:59:32 | file_path | semmle.label | file_path | |
46 | 57 | subpaths |
0 commit comments