We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The handleMapsBackward and handleMapsForward methods ignore the handleMaps option. It doesn't look like this option is used anywhere in the code.
The text was updated successfully, but these errors were encountered:
This would do the trick:
diff --git a/boomerangPDS/src/main/java/boomerang/WeightedBoomerang.java b/boomerangPDS/src/main/java/boomerang/WeightedBoomerang.java index 13088abc..cb7b7833 100644 --- a/boomerangPDS/src/main/java/boomerang/WeightedBoomerang.java +++ b/boomerangPDS/src/main/java/boomerang/WeightedBoomerang.java @@ -178,7 +178,9 @@ public abstract class WeightedBoomerang<W extends Weight> { } addVisitedMethod(node.stmt().getStart().getMethod()); - handleMapsBackward(node); + if (options.handleMaps()) { + handleMapsBackward(node); + } if (options.trackStaticFieldAtEntryPointToClinit()) { handleStaticInitializer(node, backwardSolver); @@ -528,7 +530,9 @@ public abstract class WeightedBoomerang<W extends Weight> { } addVisitedMethod(node.stmt().getStart().getMethod()); - handleMapsForward(solver, node); + if (options.handleMaps()) { + handleMapsForward(solver, node); + } }); return solver;
Sorry, something went wrong.
Thanks for the suggested fix. I'll include the diff with my next changes.
No branches or pull requests
The handleMapsBackward and handleMapsForward methods ignore the handleMaps option. It doesn't look like this option is used anywhere in the code.
The text was updated successfully, but these errors were encountered: