Reputation: 158
I am trying to test the broadcast receiver component in an android application based on the taint analysis. However, when i am using the frowdroid to test the related application, it shows:
Exception in thread "main" java.lang.NoSuchMethodError: soot.jimple.infoflow.results.InfoflowResults.getResults()Ljava/util/Map;
at soot.jimple.infoflow.android.TestApps.Test$MyResultsAvailableHandler.onResultsAvailable(Test.java:80)
at soot.jimple.infoflow.Infoflow.runAnalysis(Infoflow.java:415)
at soot.jimple.infoflow.Infoflow.computeInfoflow(Infoflow.java:137)
at soot.jimple.infoflow.android.SetupApplication.runInfoflow(SetupApplication.java:700)
at soot.jimple.infoflow.android.TestApps.Test.runAnalysis(Test.java:554)
at soot.jimple.infoflow.android.TestApps.Test.main(Test.java:217)
All the jar files are using the newest nightly version that come from the homepage, but i really have no idea for this kind problem cause I also checked the source code and there is nothing wrong for the getResult()
method. Anybody can help?
Upvotes: 0
Views: 389
Reputation: 158
Question solved, if there are any others have the same problem with java.lang.NoSuchMethodError: soot.jimple.infoflow.results.InfoflowResults.getResults()Ljava/util/Map
.
Normally if the environment setting is correct, the flowdroid should be alright for running under the nightly jar file.
Upvotes: 0