Change this folder name to be soot-infoflow-android
- Make a project directory and enter the directory:
mkdir AndroidDataFlow; cd AndroidDataFlow
- In the project directory, clone the following repositories:
git clone https://github.com/Sable/jasmin.gitgit clone https://github.com/Sable/heros.gitgit clone https://github.com/xph906/FlowDroidNew.gitgit clone https://github.com/xph906/FlowDroidInfoflowNew.gitgit clone https://github.com/xph906/SootNew.git
- Change modified respostories' names:
mv FlowDroidNew soot-infoflow-androidmv FlowDroidInfoflowNew soot-infoflowmv SootNew soot
- Install apktool, following the instructions in the following link, note its path as
apk-tool-path: - Install (all) Andrid platforms and note its path as
android-platform-pathandroid-platform-pathmight ends with .../some-path/sdk/platforms/
- Create two directories in current path, note as
decompiled-apk-file-pathandgraph-output-path:mkdir decompiled-apk-file-pathmkdir graph-output-path
- In Eclipse, select AndroidDataFlow as new workspace path.
- In Eclipse, import the five repositories.
- File -> Import.. -> Exsiting Projects into Workspace
- In Eclipse, create a new Java Application Run:
- Select Main class as
soot.jimple.infoflow.android.TestApps.Test - Enter program arguments using the following template:
apk-file-pathandroid-platform-path-pathalgo CONTEXTSENSITIVE --apktoolpathapk-tool-path--tmppathdecompiled-apk-file-path--graphoutpathgraph-output-path
- Select Main class as