We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c47ad3 + fac07f5 commit dceadc6Copy full SHA for dceadc6
soot-infoflow-summaries/src/soot/jimple/infoflow/methodSummary/postProcessor/SummaryFlowCompactor.java
@@ -58,13 +58,18 @@ private void compactFlowSet() {
58
MethodFlow flow = flowIt.next();
59
60
// Check if there is a more precise flow
61
- for (MethodFlow flow2 : summaries)
62
- if (flow != flow2 && flow.isCoarserThan(flow2)) {
+ for (MethodFlow flow2 : summaries) {
+ if (flow == flow2)
63
+ continue;
64
+
65
+ if (flow.isCoarserThan(flow2)
66
+ || (flow.isAlias() && flow2.isAlias() && flow.reverse().isCoarserThan(flow2))) {
67
flowIt.remove();
68
flowsRemoved++;
69
hasChanged = true;
70
break;
71
}
72
+ }
73
74
if (hasChanged)
75
0 commit comments