Skip to content

Commit 4b7c7c1

Browse files
committed
Rust: Accept consistency check changes (again).
1 parent 64d0e17 commit 4b7c7c1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

rust/ql/test/query-tests/security/CWE-770/CONSISTENCY/PathResolutionConsistency.expected

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@ multipleMethodCallTargets
1515
| main.rs:213:17:213:53 | ...::System.shrink(...) | file://:0:0:0:0 | fn shrink |
1616
multiplePathResolutions
1717
| main.rs:218:14:218:17 | libc | file://:0:0:0:0 | Crate([email protected]) |
18-
| main.rs:218:14:218:17 | libc | file://:0:0:0:0 | Crate([email protected].174) |
18+
| main.rs:218:14:218:17 | libc | file://:0:0:0:0 | Crate([email protected].173) |
1919
| main.rs:218:14:218:25 | ...::malloc | file://:0:0:0:0 | fn malloc |
2020
| main.rs:218:14:218:25 | ...::malloc | file://:0:0:0:0 | fn malloc |
2121
| main.rs:219:13:219:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
22-
| main.rs:219:13:219:16 | libc | file://:0:0:0:0 | Crate([email protected].174) |
22+
| main.rs:219:13:219:16 | libc | file://:0:0:0:0 | Crate([email protected].173) |
2323
| main.rs:219:13:219:24 | ...::malloc | file://:0:0:0:0 | fn malloc |
2424
| main.rs:219:13:219:24 | ...::malloc | file://:0:0:0:0 | fn malloc |
2525
| main.rs:220:13:220:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
26-
| main.rs:220:13:220:16 | libc | file://:0:0:0:0 | Crate([email protected].174) |
26+
| main.rs:220:13:220:16 | libc | file://:0:0:0:0 | Crate([email protected].173) |
2727
| main.rs:220:13:220:31 | ...::aligned_alloc | file://:0:0:0:0 | fn aligned_alloc |
2828
| main.rs:220:13:220:31 | ...::aligned_alloc | file://:0:0:0:0 | fn aligned_alloc |
2929
| main.rs:221:13:221:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
30-
| main.rs:221:13:221:16 | libc | file://:0:0:0:0 | Crate([email protected].174) |
30+
| main.rs:221:13:221:16 | libc | file://:0:0:0:0 | Crate([email protected].173) |
3131
| main.rs:221:13:221:31 | ...::aligned_alloc | file://:0:0:0:0 | fn aligned_alloc |
3232
| main.rs:221:13:221:31 | ...::aligned_alloc | file://:0:0:0:0 | fn aligned_alloc |
3333
| main.rs:222:13:222:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
34-
| main.rs:222:13:222:16 | libc | file://:0:0:0:0 | Crate([email protected].174) |
34+
| main.rs:222:13:222:16 | libc | file://:0:0:0:0 | Crate([email protected].173) |
3535
| main.rs:222:13:222:24 | ...::calloc | file://:0:0:0:0 | fn calloc |
3636
| main.rs:222:13:222:24 | ...::calloc | file://:0:0:0:0 | fn calloc |
3737
| main.rs:223:13:223:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
38-
| main.rs:223:13:223:16 | libc | file://:0:0:0:0 | Crate([email protected].174) |
38+
| main.rs:223:13:223:16 | libc | file://:0:0:0:0 | Crate([email protected].173) |
3939
| main.rs:223:13:223:24 | ...::calloc | file://:0:0:0:0 | fn calloc |
4040
| main.rs:223:13:223:24 | ...::calloc | file://:0:0:0:0 | fn calloc |
4141
| main.rs:224:13:224:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
42-
| main.rs:224:13:224:16 | libc | file://:0:0:0:0 | Crate([email protected].174) |
42+
| main.rs:224:13:224:16 | libc | file://:0:0:0:0 | Crate([email protected].173) |
4343
| main.rs:224:13:224:25 | ...::realloc | file://:0:0:0:0 | fn realloc |
4444
| main.rs:224:13:224:25 | ...::realloc | file://:0:0:0:0 | fn realloc |
4545
| main.rs:229:13:229:37 | ...::with_capacity | file://:0:0:0:0 | fn with_capacity |

rust/ql/test/query-tests/security/CWE-825/CONSISTENCY/PathResolutionConsistency.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
multiplePathResolutions
22
| deallocation.rs:106:16:106:19 | libc | file://:0:0:0:0 | Crate([email protected]) |
3-
| deallocation.rs:106:16:106:19 | libc | file://:0:0:0:0 | Crate([email protected].174) |
3+
| deallocation.rs:106:16:106:19 | libc | file://:0:0:0:0 | Crate([email protected].173) |
44
| deallocation.rs:106:16:106:27 | ...::malloc | file://:0:0:0:0 | fn malloc |
55
| deallocation.rs:106:16:106:27 | ...::malloc | file://:0:0:0:0 | fn malloc |
66
| deallocation.rs:112:3:112:6 | libc | file://:0:0:0:0 | Crate([email protected]) |
7-
| deallocation.rs:112:3:112:6 | libc | file://:0:0:0:0 | Crate([email protected].174) |
7+
| deallocation.rs:112:3:112:6 | libc | file://:0:0:0:0 | Crate([email protected].173) |
88
| deallocation.rs:112:3:112:12 | ...::free | file://:0:0:0:0 | fn free |
99
| deallocation.rs:112:3:112:12 | ...::free | file://:0:0:0:0 | fn free |
1010
| deallocation.rs:112:29:112:32 | libc | file://:0:0:0:0 | Crate([email protected]) |
11-
| deallocation.rs:112:29:112:32 | libc | file://:0:0:0:0 | Crate([email protected].174) |
11+
| deallocation.rs:112:29:112:32 | libc | file://:0:0:0:0 | Crate([email protected].173) |
1212
| deallocation.rs:260:11:260:22 | ...::from | file://:0:0:0:0 | fn from |
1313
| deallocation.rs:260:11:260:22 | ...::from | file://:0:0:0:0 | fn from |
1414
| deallocation.rs:260:11:260:22 | ...::from | file://:0:0:0:0 | fn from |

0 commit comments

Comments
 (0)