-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
10 changes: 8 additions & 2 deletions
10
rust/ql/test/library-tests/dataflow/barrier/inline-flow.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
models | ||
edges | ||
| main.rs:21:13:21:21 | CallExpr : unit | main.rs:22:10:22:10 | s | provenance | | | ||
| main.rs:32:13:32:21 | CallExpr : unit | main.rs:33:10:33:10 | s | provenance | | | ||
nodes | ||
| main.rs:17:10:17:18 | CallExpr | semmle.label | CallExpr | | ||
| main.rs:21:13:21:21 | CallExpr : unit | semmle.label | CallExpr : unit | | ||
| main.rs:22:10:22:10 | s | semmle.label | s | | ||
| main.rs:32:13:32:21 | CallExpr : unit | semmle.label | CallExpr : unit | | ||
| main.rs:33:10:33:10 | s | semmle.label | s | | ||
subpaths | ||
testFailures | ||
| main.rs:22:14:22:32 | Comment | Missing result: hasValueFlow=1 | | ||
| main.rs:33:14:33:32 | Comment | Missing result: hasValueFlow=1 | | ||
#select | ||
| main.rs:17:10:17:18 | CallExpr | main.rs:17:10:17:18 | CallExpr | main.rs:17:10:17:18 | CallExpr | $@ | main.rs:17:10:17:18 | CallExpr | CallExpr | | ||
| main.rs:22:10:22:10 | s | main.rs:21:13:21:21 | CallExpr : unit | main.rs:22:10:22:10 | s | $@ | main.rs:21:13:21:21 | CallExpr : unit | CallExpr : unit | | ||
| main.rs:33:10:33:10 | s | main.rs:32:13:32:21 | CallExpr : unit | main.rs:33:10:33:10 | s | $@ | main.rs:32:13:32:21 | CallExpr : unit | CallExpr : unit | |
4 changes: 4 additions & 0 deletions
4
rust/ql/test/library-tests/definitions/CONSISTENCY/DataFlowConsistency.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
uniqueEnclosingCallable | ||
| main.rs:5:29:5:33 | width | Node should have one enclosing callable but has 0. | | ||
| main.rs:5:36:5:44 | precision | Node should have one enclosing callable but has 0. | | ||
| main.rs:9:22:9:27 | people | Node should have one enclosing callable but has 0. | |
5 changes: 5 additions & 0 deletions
5
rust/ql/test/library-tests/formatstrings/CONSISTENCY/DataFlowConsistency.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
uniqueEnclosingCallable | ||
| main.rs:5:29:5:33 | width | Node should have one enclosing callable but has 0. | | ||
| main.rs:5:36:5:44 | precision | Node should have one enclosing callable but has 0. | | ||
| main.rs:16:22:16:27 | people | Node should have one enclosing callable but has 0. | | ||
| main.rs:27:23:27:27 | width | Node should have one enclosing callable but has 0. | |
5 changes: 5 additions & 0 deletions
5
rust/ql/test/library-tests/variables/CONSISTENCY/DataFlowConsistency.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
localFlowIsLocal | ||
| variables.rs:400:9:400:9 | x | variables.rs:402:15:404:5 | [SSA] <captured entry> x | Local flow step does not preserve enclosing callable. | | ||
| variables.rs:410:9:410:13 | x | variables.rs:412:20:414:5 | [SSA] <captured entry> x | Local flow step does not preserve enclosing callable. | | ||
| variables.rs:418:9:418:13 | y | variables.rs:421:9:421:9 | [SSA] y | Local flow step does not preserve enclosing callable. | | ||
| variables.rs:436:9:436:13 | i | variables.rs:438:9:438:9 | [SSA] i | Local flow step does not preserve enclosing callable. | |
7 changes: 7 additions & 0 deletions
7
rust/ql/test/query-tests/unusedentities/CONSISTENCY/DataFlowConsistency.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
uniqueEnclosingCallable | ||
| main.rs:194:25:194:25 | x | Node should have one enclosing callable but has 0. | | ||
| main.rs:198:28:198:28 | x | Node should have one enclosing callable but has 0. | | ||
| main.rs:202:28:202:28 | x | Node should have one enclosing callable but has 0. | | ||
| main.rs:206:28:206:28 | x | Node should have one enclosing callable but has 0. | | ||
localFlowIsLocal | ||
| main.rs:432:9:432:10 | i6 | main.rs:434:20:434:44 | [SSA] <captured entry> i6 | Local flow step does not preserve enclosing callable. | |