Merge pull request #18675 from hvitved/rust/struct-tuple-field

Rust: Implement data flow through tuple structs
This commit is contained in:
Tom Hvitved
2025-02-06 19:17:53 +01:00
committed by GitHub
22 changed files with 981 additions and 870 deletions

View File

@@ -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) {