-
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
3 changed files
with
299 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import codeql.rust.dataflow.DataFlow | ||
import codeql.rust.dataflow.internal.DataFlowImpl | ||
|
||
from DataFlow::Node pred, DataFlow::Node succ | ||
where DataFlow::localFlowStep(pred, succ) | ||
select pred, succ | ||
query predicate localStep = DataFlow::localFlowStep/2; | ||
|
||
query predicate storeStep = RustDataFlow::storeStep/3; | ||
|
||
query predicate readStep = RustDataFlow::readStep/3; |
Oops, something went wrong.