Skip to content

Commit ed9bb74

Browse files
hvitvedCopilot
andcommitted
Update Rust CFG baselines
Regenerate affected CFG expectations for the shared value-propagation behavior. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent cafa4bf commit ed9bb74

2 files changed

Lines changed: 45 additions & 123 deletions

File tree

‎rust/ql/test/library-tests/controlflow-unstable/Cfg.expected‎

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
11
edges
2-
| test.rs:5:5:11:5 | Entry | test.rs:5:24:5:30 | Before ...: bool | |
2+
| test.rs:5:5:11:5 | Entry | test.rs:5:24:5:24 | Before a | |
33
| test.rs:5:5:11:5 | Normal Exit | test.rs:5:5:11:5 | Exit | |
4-
| test.rs:5:24:5:24 | After a [match] | test.rs:5:24:5:30 | ...: bool | |
4+
| test.rs:5:24:5:24 | After a [match] | test.rs:5:33:5:33 | Before b | |
55
| test.rs:5:24:5:24 | Before a | test.rs:5:24:5:24 | a | |
66
| test.rs:5:24:5:24 | a | test.rs:5:24:5:24 | After a [match] | match |
77
| test.rs:5:24:5:24 | a | test.rs:5:24:5:24 | a | |
8-
| test.rs:5:24:5:30 | ...: bool | test.rs:5:24:5:30 | After ...: bool | |
9-
| test.rs:5:24:5:30 | After ...: bool | test.rs:5:33:5:47 | Before ...: Option::<...> | |
10-
| test.rs:5:24:5:30 | Before ...: bool | test.rs:5:24:5:24 | Before a | |
11-
| test.rs:5:33:5:33 | After b [match] | test.rs:5:33:5:47 | ...: Option::<...> | |
8+
| test.rs:5:33:5:33 | After b [match] | test.rs:5:50:5:50 | Before c | |
129
| test.rs:5:33:5:33 | Before b | test.rs:5:33:5:33 | b | |
1310
| test.rs:5:33:5:33 | b | test.rs:5:33:5:33 | After b [match] | match |
1411
| test.rs:5:33:5:33 | b | test.rs:5:33:5:33 | b | |
15-
| test.rs:5:33:5:47 | ...: Option::<...> | test.rs:5:33:5:47 | After ...: Option::<...> | |
16-
| test.rs:5:33:5:47 | After ...: Option::<...> | test.rs:5:50:5:56 | Before ...: bool | |
17-
| test.rs:5:33:5:47 | Before ...: Option::<...> | test.rs:5:33:5:33 | Before b | |
18-
| test.rs:5:50:5:50 | After c [match] | test.rs:5:50:5:56 | ...: bool | |
12+
| test.rs:5:50:5:50 | After c [match] | test.rs:5:67:11:5 | { ... } | |
1913
| test.rs:5:50:5:50 | Before c | test.rs:5:50:5:50 | c | |
2014
| test.rs:5:50:5:50 | c | test.rs:5:50:5:50 | After c [match] | match |
2115
| test.rs:5:50:5:50 | c | test.rs:5:50:5:50 | c | |
22-
| test.rs:5:50:5:56 | ...: bool | test.rs:5:50:5:56 | After ...: bool | |
23-
| test.rs:5:50:5:56 | After ...: bool | test.rs:5:67:11:5 | { ... } | |
24-
| test.rs:5:50:5:56 | Before ...: bool | test.rs:5:50:5:50 | Before c | |
2516
| test.rs:5:67:11:5 | After { ... } | test.rs:5:5:11:5 | Normal Exit | |
2617
| test.rs:5:67:11:5 | { ... } | test.rs:6:9:10:9 | if ... {...} else {...} | |
2718
| test.rs:6:9:10:9 | After if ... {...} else {...} | test.rs:5:67:11:5 | After { ... } | |
@@ -52,29 +43,20 @@ edges
5243
| test.rs:8:16:10:9 | After { ... } | test.rs:6:9:10:9 | After if ... {...} else {...} | |
5344
| test.rs:8:16:10:9 | { ... } | test.rs:9:13:9:17 | false | |
5445
| test.rs:9:13:9:17 | false | test.rs:8:16:10:9 | After { ... } | |
55-
| test.rs:13:5:21:5 | Entry | test.rs:13:25:13:31 | Before ...: bool | |
46+
| test.rs:13:5:21:5 | Entry | test.rs:13:25:13:25 | Before a | |
5647
| test.rs:13:5:21:5 | Normal Exit | test.rs:13:5:21:5 | Exit | |
57-
| test.rs:13:25:13:25 | After a [match] | test.rs:13:25:13:31 | ...: bool | |
48+
| test.rs:13:25:13:25 | After a [match] | test.rs:13:34:13:34 | Before b | |
5849
| test.rs:13:25:13:25 | Before a | test.rs:13:25:13:25 | a | |
5950
| test.rs:13:25:13:25 | a | test.rs:13:25:13:25 | After a [match] | match |
6051
| test.rs:13:25:13:25 | a | test.rs:13:25:13:25 | a | |
61-
| test.rs:13:25:13:31 | ...: bool | test.rs:13:25:13:31 | After ...: bool | |
62-
| test.rs:13:25:13:31 | After ...: bool | test.rs:13:34:13:39 | Before ...: i64 | |
63-
| test.rs:13:25:13:31 | Before ...: bool | test.rs:13:25:13:25 | Before a | |
64-
| test.rs:13:34:13:34 | After b [match] | test.rs:13:34:13:39 | ...: i64 | |
52+
| test.rs:13:34:13:34 | After b [match] | test.rs:13:42:13:42 | Before c | |
6553
| test.rs:13:34:13:34 | Before b | test.rs:13:34:13:34 | b | |
6654
| test.rs:13:34:13:34 | b | test.rs:13:34:13:34 | After b [match] | match |
6755
| test.rs:13:34:13:34 | b | test.rs:13:34:13:34 | b | |
68-
| test.rs:13:34:13:39 | ...: i64 | test.rs:13:34:13:39 | After ...: i64 | |
69-
| test.rs:13:34:13:39 | After ...: i64 | test.rs:13:42:13:48 | Before ...: bool | |
70-
| test.rs:13:34:13:39 | Before ...: i64 | test.rs:13:34:13:34 | Before b | |
71-
| test.rs:13:42:13:42 | After c [match] | test.rs:13:42:13:48 | ...: bool | |
56+
| test.rs:13:42:13:42 | After c [match] | test.rs:13:59:21:5 | { ... } | |
7257
| test.rs:13:42:13:42 | Before c | test.rs:13:42:13:42 | c | |
7358
| test.rs:13:42:13:42 | c | test.rs:13:42:13:42 | After c [match] | match |
7459
| test.rs:13:42:13:42 | c | test.rs:13:42:13:42 | c | |
75-
| test.rs:13:42:13:48 | ...: bool | test.rs:13:42:13:48 | After ...: bool | |
76-
| test.rs:13:42:13:48 | After ...: bool | test.rs:13:59:21:5 | { ... } | |
77-
| test.rs:13:42:13:48 | Before ...: bool | test.rs:13:42:13:42 | Before c | |
7860
| test.rs:13:59:21:5 | After { ... } | test.rs:13:5:21:5 | Normal Exit | |
7961
| test.rs:13:59:21:5 | { ... } | test.rs:14:9:20:9 | if ... {...} else {...} | |
8062
| test.rs:14:9:20:9 | After if ... {...} else {...} | test.rs:13:59:21:5 | After { ... } | |

0 commit comments

Comments
 (0)