Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -e # abort on error
- export didfail=~/didfail
- if [ ! -d $didfail ]; then mkdir $didfail; fi
- if [ ! -d $didfail/epicc ]; then mkdir $didfail/epicc; fi
- if [ ! -d $didfail/workspace ]; then mkdir $didfail/workspace; fi
- cd $didfail
- #sudo apt-get update
- sudo apt-get install openjdk-7-jdk openjdk-7-jre-headless
- sudo apt-get install gcc-4.6-multilib lib32stdc++6 zlib1g-dev:i386
- wget -nc http://siis.cse.psu.edu/epicc/downloads/epicc-0.1.tgz
- wget -nc https://github.com/dare-android/platform_dalvik/releases/download/dare-1.1.0/dare-1.1.0-linux.tgz
- wget -nc http://www.cs.cmu.edu/~wklieber/didfail/didfail.zip
- wget -nc http://www.cs.cmu.edu/~wklieber/didfail/workspace.tar.bz2
- wget -nc http://www.cs.cmu.edu/~wklieber/didfail/platform-16.zip
- wget -nc http://www.cs.cmu.edu/~wklieber/didfail/toyapps-2014-04-28.zip
- tar xzf epicc-0.1.tgz -C epicc
- tar xzf dare-1.1.0-linux.tgz
- unzip -q -d $didfail/cert didfail.zip
- cp cert/paths.distrib.sh cert/paths.local.sh
- #cp cert/dare.sh $didfail/dare-1.1.0-linux/dare
- unzip platform-16.zip
- unzip -q toyapps-2014-04-28.zip
- tar xjf workspace.tar.bz2 -C workspace
- echo "To run analysis on provided toy apps:"
- echo " $didfail/cert/run-didfail.sh $didfail/toyapps/out/ $didfail/toyapps/*.apk"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement