Java/C++/C#: Address review comment.

This commit is contained in:
Anders Schack-Mulligen
2020-01-14 11:59:55 +01:00
parent 041bcc5812
commit 241b8a05e4
19 changed files with 19 additions and 38 deletions

View File

@@ -853,8 +853,7 @@ private predicate readStoreCandFwd2(Content f, Configuration config) {
}
private predicate summaryFwd2(Summary s, Configuration config) {
s = TSummaryTaint()
or
// No need for the `s = TSummaryTaint()` case as it is not used with `argumentFlowsThroughFwd2`.
exists(Content f | s = TSummaryReadTaint(f) | readStoreCandFwd2(f, config))
or
exists(Content f | s = TSummaryTaintStore(f) | readStoreCandFwd2(f, config))

View File

@@ -853,8 +853,7 @@ private predicate readStoreCandFwd2(Content f, Configuration config) {
}
private predicate summaryFwd2(Summary s, Configuration config) {
s = TSummaryTaint()
or
// No need for the `s = TSummaryTaint()` case as it is not used with `argumentFlowsThroughFwd2`.
exists(Content f | s = TSummaryReadTaint(f) | readStoreCandFwd2(f, config))
or
exists(Content f | s = TSummaryTaintStore(f) | readStoreCandFwd2(f, config))

View File

@@ -853,8 +853,7 @@ private predicate readStoreCandFwd2(Content f, Configuration config) {
}
private predicate summaryFwd2(Summary s, Configuration config) {
s = TSummaryTaint()
or
// No need for the `s = TSummaryTaint()` case as it is not used with `argumentFlowsThroughFwd2`.
exists(Content f | s = TSummaryReadTaint(f) | readStoreCandFwd2(f, config))
or
exists(Content f | s = TSummaryTaintStore(f) | readStoreCandFwd2(f, config))

View File

@@ -853,8 +853,7 @@ private predicate readStoreCandFwd2(Content f, Configuration config) {
}
private predicate summaryFwd2(Summary s, Configuration config) {
s = TSummaryTaint()
or
// No need for the `s = TSummaryTaint()` case as it is not used with `argumentFlowsThroughFwd2`.
exists(Content f | s = TSummaryReadTaint(f) | readStoreCandFwd2(f, config))
or
exists(Content f | s = TSummaryTaintStore(f) | readStoreCandFwd2(f, config))

View File

@@ -853,8 +853,7 @@ private predicate readStoreCandFwd2(Content f, Configuration config) {
}
private predicate summaryFwd2(Summary s, Configuration config) {
s = TSummaryTaint()
or
// No need for the `s = TSummaryTaint()` case as it is not used with `argumentFlowsThroughFwd2`.
exists(Content f | s = TSummaryReadTaint(f) | readStoreCandFwd2(f, config))
or
exists(Content f | s = TSummaryTaintStore(f) | readStoreCandFwd2(f, config))