mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Merge pull request #18675 from hvitved/rust/struct-tuple-field
Rust: Implement data flow through tuple structs
This commit is contained in:
@@ -129,7 +129,7 @@ module ModelGeneratorInput implements ModelGeneratorInputSig<Location, RustDataF
|
||||
predicate isAdditionalContentFlowStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) { none() }
|
||||
|
||||
predicate isField(DataFlow::ContentSet c) {
|
||||
c.(SingletonContentSet).getContent() instanceof StructFieldContent
|
||||
c.(SingletonContentSet).getContent() instanceof FieldContent
|
||||
}
|
||||
|
||||
predicate isCallback(DataFlow::ContentSet cs) {
|
||||
|
||||
Reference in New Issue
Block a user