C#/Java: Include synthetic fields in isRelevantContent.

This commit is contained in:
Michael Nebel
2022-03-09 15:07:19 +01:00
parent d881d31959
commit 5d03e510d2
2 changed files with 2 additions and 0 deletions

View File

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