Rust: Implement data flow through tuple structs

This commit is contained in:
Tom Hvitved
2025-01-30 10:27:02 +01:00
parent 22f6f4e46b
commit e4d9e29368
19 changed files with 247 additions and 162 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) {