Skip to content

Commit

Permalink
fix(spgroup#31): add stmt.getType() when assignStmt.containsInvokeExp…
Browse files Browse the repository at this point in the history
…r() is true
  • Loading branch information
barbosamaatheus committed Dec 22, 2020
1 parent a2ccfa0 commit 75957e8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ private void runAnalyze(SootMethod sm, List<SootMethod> traversed, Statement.Typ

// TODO Check case: x = foo() + foo
if (assignStmt.containsInvokeExpr()) {
traverse(assignStmt.getInvokeExpr().getMethod(), traversed, changeTag);
Statement stmt = getStatementAssociatedWithUnit(sm, unit, changeTag);
traverse(assignStmt.getInvokeExpr().getMethod(), traversed, stmt.getType());
}

// TODO rename Statement. (UnitWithExtraInformations)
Expand Down

0 comments on commit 75957e8

Please sign in to comment.