Skip to content

Commit 8b98e2a

Browse files
committed
Rust: accept test changes
1 parent 55096a3 commit 8b98e2a

File tree

2 files changed

+24
-10
lines changed

2 files changed

+24
-10
lines changed

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

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
11
multiplePathResolutions
22
| main.rs:218:14:218:17 | libc | file://:0:0:0:0 | Crate([email protected]) |
3-
| main.rs:218:14:218:17 | libc | file://:0:0:0:0 | Crate([email protected]) |
4-
| main.rs:219:13:219:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
3+
| main.rs:218:14:218:17 | libc | file://:0:0:0:0 | Crate([email protected]) |
4+
| main.rs:218:14:218:25 | ...::malloc | file://:0:0:0:0 | fn malloc |
5+
| main.rs:218:14:218:25 | ...::malloc | file://:0:0:0:0 | fn malloc |
56
| main.rs:219:13:219:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
7+
| main.rs:219:13:219:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
8+
| main.rs:219:13:219:24 | ...::malloc | file://:0:0:0:0 | fn malloc |
9+
| main.rs:219:13:219:24 | ...::malloc | file://:0:0:0:0 | fn malloc |
610
| main.rs:220:13:220:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
7-
| main.rs:220:13:220:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
8-
| main.rs:221:13:221:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
11+
| main.rs:220:13:220:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
12+
| main.rs:220:13:220:31 | ...::aligned_alloc | file://:0:0:0:0 | fn aligned_alloc |
13+
| main.rs:220:13:220:31 | ...::aligned_alloc | file://:0:0:0:0 | fn aligned_alloc |
914
| main.rs:221:13:221:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
15+
| main.rs:221:13:221:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
16+
| main.rs:221:13:221:31 | ...::aligned_alloc | file://:0:0:0:0 | fn aligned_alloc |
17+
| main.rs:221:13:221:31 | ...::aligned_alloc | file://:0:0:0:0 | fn aligned_alloc |
1018
| main.rs:222:13:222:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
11-
| main.rs:222:13:222:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
12-
| main.rs:223:13:223:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
19+
| main.rs:222:13:222:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
20+
| main.rs:222:13:222:24 | ...::calloc | file://:0:0:0:0 | fn calloc |
21+
| main.rs:222:13:222:24 | ...::calloc | file://:0:0:0:0 | fn calloc |
1322
| main.rs:223:13:223:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
23+
| main.rs:223:13:223:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
24+
| main.rs:223:13:223:24 | ...::calloc | file://:0:0:0:0 | fn calloc |
25+
| main.rs:223:13:223:24 | ...::calloc | file://:0:0:0:0 | fn calloc |
1426
| main.rs:224:13:224:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
15-
| main.rs:224:13:224:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
27+
| main.rs:224:13:224:16 | libc | file://:0:0:0:0 | Crate([email protected]) |
28+
| main.rs:224:13:224:25 | ...::realloc | file://:0:0:0:0 | fn realloc |
29+
| main.rs:224:13:224:25 | ...::realloc | file://:0:0:0:0 | fn realloc |
1630
| main.rs:229:13:229:37 | ...::with_capacity | file://:0:0:0:0 | fn with_capacity |
1731
| main.rs:229:13:229:37 | ...::with_capacity | file://:0:0:0:0 | fn with_capacity |
1832
| main.rs:233:18:233:42 | ...::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].172) |
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].172) |
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].172) |
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)