-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2347b3
commit a79ad5e
Showing
8 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
user=li | ||
password=changeme | ||
characterEncoding=ISO-8859-1 | ||
useUnicode=true |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mysql -uli -pchangeme -e 'drop database cc; create database cc'; | ||
mysql -uli -pchangeme cc < ../../res/schema; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#! /bin/sh | ||
|
||
appPath=$1 | ||
forceAndroidJar=/Users/li.li/Project/github/android-platforms/android-18/android.jar | ||
|
||
rm -rf testspace | ||
mkdir testspace | ||
|
||
appName=`basename $appPath .apk` | ||
retargetedPath=testspace/$appName.apk/retargeted/retargeted/$appName | ||
|
||
rm -rf output/ic3/$appName.txt | ||
|
||
java -Xmx8192m -jar RetargetedApp.jar $forceAndroidJar $appPath $retargetedPath | ||
java -Xmx8192m -jar ic3-0.1.0-full.jar -apkormanifest $appPath -input $retargetedPath -cp $forceAndroidJar -db cc.properties | ||
|
||
rm -rf testspace | ||
rm -rf sootOutput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#! /bin/sh | ||
|
||
DIR=$1 | ||
DUR=600 | ||
AndroidJars=/Users/li.li/Project/github/android-platforms | ||
|
||
for app in `ls $DIR` | ||
do | ||
echo $DIR/$app | ||
|
||
gtimeout $DUR ./runIC3.sh $DIR/$app | ||
|
||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters