mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
C#/Java: Include synthetic fields in isRelevantContent.
This commit is contained in:
@@ -131,6 +131,7 @@ predicate isRelevantTaintStep(DataFlow::Node node1, DataFlow::Node node2) {
|
||||
}
|
||||
|
||||
predicate isRelevantContent(DataFlow::Content f) {
|
||||
isRelevantType(f.(DataFlow::FieldContent).getField().getType()) or
|
||||
isRelevantType(f.(DataFlow::FieldContent).getField().getType()) or
|
||||
f instanceof DataFlow::ArrayContent or
|
||||
f instanceof DataFlow::CollectionContent or
|
||||
|
||||
Reference in New Issue
Block a user