-
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.
Merge pull request #18056 from paldepind/rust-df-global
Rust: Extend data flow library instantiation for global data flow
- Loading branch information
Showing
10 changed files
with
259 additions
and
69 deletions.
There are no files selected for viewing
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
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
4 changes: 3 additions & 1 deletion
4
rust/ql/test/extractor-tests/generated/MacroItems/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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
uniqueNodeLocation | ||
| file://:0:0:0:0 | ... .parent(...) | Node should have one location but has 0. | | ||
| file://:0:0:0:0 | ... .parent(...) | Node should have one location but has 0. | | ||
| file://:0:0:0:0 | ... .unwrap(...) | Node should have one location but has 0. | | ||
| file://:0:0:0:0 | BlockExpr | Node should have one location but has 0. | | ||
| file://:0:0:0:0 | Param | Node should have one location but has 0. | | ||
| file://:0:0:0:0 | path | Node should have one location but has 0. | | ||
| file://:0:0:0:0 | path | Node should have one location but has 0. | | ||
| file://:0:0:0:0 | path | Node should have one location but has 0. | | ||
missingLocation | ||
| Nodes without location: 6 | | ||
| Nodes without location: 8 | |
13 changes: 13 additions & 0 deletions
13
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,16 +1,29 @@ | ||
models | ||
edges | ||
| main.rs:9:13:9:19 | Param : unit | main.rs:9:30:14:1 | BlockExpr : unit | provenance | | | ||
| main.rs:21:13:21:21 | CallExpr : unit | main.rs:22:10:22:10 | s | provenance | | | ||
| main.rs:26:13:26:21 | CallExpr : unit | main.rs:27:22:27:22 | s : unit | provenance | | | ||
| main.rs:27:13:27:23 | CallExpr : unit | main.rs:28:10:28:10 | s | provenance | | | ||
| main.rs:27:22:27:22 | s : unit | main.rs:9:13:9:19 | Param : unit | provenance | | | ||
| main.rs:27:22:27:22 | s : unit | main.rs:27:13:27:23 | CallExpr : unit | provenance | | | ||
| main.rs:32:13:32:21 | CallExpr : unit | main.rs:33:10:33:10 | s | provenance | | | ||
nodes | ||
| main.rs:9:13:9:19 | Param : unit | semmle.label | Param : unit | | ||
| main.rs:9:30:14:1 | BlockExpr : unit | semmle.label | BlockExpr : unit | | ||
| 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:26:13:26:21 | CallExpr : unit | semmle.label | CallExpr : unit | | ||
| main.rs:27:13:27:23 | CallExpr : unit | semmle.label | CallExpr : unit | | ||
| main.rs:27:22:27:22 | s : unit | semmle.label | s : unit | | ||
| main.rs:28:10:28: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 | ||
| main.rs:27:22:27:22 | s : unit | main.rs:9:13:9:19 | Param : unit | main.rs:9:30:14:1 | BlockExpr : unit | main.rs:27:13:27:23 | CallExpr : unit | | ||
testFailures | ||
#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:28:10:28:10 | s | main.rs:26:13:26:21 | CallExpr : unit | main.rs:28:10:28:10 | s | $@ | main.rs:26:13:26: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 | |
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
Oops, something went wrong.