[Soot-list] Flowdroid with Stubdroid not working

Kazuki Hatayama komakomaillusion at gmail.com
Thu Jul 14 08:28:53 EDT 2016


Hi Steven,

Thanks for your reply.
> Have you put the StubDroid JAR file on the classpath?
Yes. I built soot-infoflow-summaries.jar and soot-infoflow-android.jar 
from source codes on your Github repository.
And I run the following command.

java -Xms10g -Xmx12g -cp 
guava-18.0.jar:soot-trunk.jar:soot-infoflow.jar:soot-infoflow-android.jar:soot-infoflow-summaries.jar:slf4j-api-1.7.5.jar:slf4j-simple-1.7.5.jar:axml-2.0.jar 
soot.jimple.infoflow.android.TestApps.MyTest test.apk 
/usr/local/opt/android-sdk/platforms --pathalgo contextsensitive 
--summarypath /Users/hatayama/Desktop/FlowDroid/summaries


Did I make some mistakes?

Best regards,
Kazuki

On 2016/07/14 20:07, Steven Arzt wrote:
> Hi Kazuki,
>
> Have you put the StubDroid JAR file on the classpath? FlowDroid apparently
> can't find the StubDroid implementation. Note that StubDroid is a separate
> project, so it has its own repository on Github and its own JAR file on our
> nightly build server.
>
> Best regards,
>    Steven
>
> -----Ursprüngliche Nachricht-----
> Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA]
> Im Auftrag von Kazuki Hatayama
> Gesendet: Donnerstag, 14. Juli 2016 11:58
> An: soot-list at CS.McGill.CA
> Betreff: [Soot-list] Flowdroid with Stubdroid not working
>
> Hi all,
>
> I tried to use FlowDroid with StubDroid, but I faced a same situation as
> following issue.
> https://github.com/secure-software-engineering/soot-infoflow-android/issues/
> 125
>
> Where can I get source codes of
> soot.jimple.infoflow.methodSummary.data.summary.LazySummary?
>
> Snapshot of errors are as follows:
> -------------
> Using the StubDroid taint wrapper
> Could not find library summary classes:
> soot.jimple.infoflow.methodSummary.data.summary.LazySummary
> java.lang.ClassNotFoundException:
> soot.jimple.infoflow.methodSummary.data.summary.LazySummary
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:191)
>       at
> soot.jimple.infoflow.android.TestApps.MyTest.createLibrarySummaryTW(MyTest.j
> ava:672)
>       at
> soot.jimple.infoflow.android.TestApps.MyTest.runAnalysis(MyTest.java:608)
>       at soot.jimple.infoflow.android.TestApps.MyTest.main(MyTest.java:241)
> Could not initialize StubDroid
> -------------
>
> thanks,
>
> --
> Kazuki
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>


More information about the Soot-list mailing list