介绍:
https://www.cnblogs.com/zlz099/p/6924879.html

下载组件,5个:
https://github.com/secure-software-engineering/soot-infoflow-android/wiki
安装配置:
https://traceflight.github.io/tech/build-and-run-flowdroid-in-eclipse.html
注意使用较新版本的 eclipse ,不然会出现 override 的问题。
问题小结
1、配置Maven:https://www.cnblogs.com/juncaoit/p/5899994.html、
run - 》maven clean -》maven install -》
https://blog.csdn.net/u013534120/article/details/49000037
I'd rather suggest to add the JRE using the "Add" button then manipulating a JRE entry to become a JDK entry! And after adding the JDK click the checkbox beside the JDK entry. This should already solve the issue(s) described in this post. – Tom Fink Apr 1 '15 at 11:18
2、soot 的 pom.xml文件添加<pluginManagement>
<build>
<pluginManagement>
<plugins>
<plugin> ... </plugin>
<plugin> ... </plugin>
....
</plugins>
</pluginManagement>
</build>
3、环境变量:
https://traceflight.github.io/tech/build-and-run-flowdroid-in-eclipse.html
(备忘: android jar 指向的是 FlowDriodTest里面的AndroidSDK 和 ……)
4、copy某个文件 && SLF4J文件重复问题:
https://traceflight.github.io/tech/build-and-run-flowdroid-in-eclipse.html
5、soot flow 的jar包问题
右键-属性-path-添加删除之类的操作,删除jre再重新添加
6、Logger, LoggerFactory
http://blog.csdn.net/hgpbt/article/details/79191895
7、lib错误
https://www.cnblogs.com/Lionel002/p/6032260.html
8、Pair错误
java-build-path 中的projects 里添加上 heros就好了!!
9、soot
方法二(终极方法:)
项目属性preferences>java build path>把右侧【libraries中的JRE System Library】删除重新导入.
https://blog.csdn.net/u013534120/article/details/49000037
10、soot flow android 中增加slf4j jar
https://www.cnblogs.com/1693977889zz/p/7043757.html
测试:
http://www.freebuf.com/sectool/137435.html
生成函数调用图:
soot 的pom 报错:

soot的pom的<finalname>报错,删掉了 <finalName>sootclasses-trunk</finalName>,在<pluginManagement>下面一行
使用代码:https://blog.csdn.net/king_gun/article/details/77840917
结果:

网友评论