first commit
This commit is contained in:
commit
cd1e91bb99
287 changed files with 86425 additions and 0 deletions
21
rasta_exp/docker/blueseal/home_build/Dockerfile
Normal file
21
rasta_exp/docker/blueseal/home_build/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM ubuntu:14.04
|
||||
|
||||
# RUN sed -i -e "s/archive.ubuntu.com/old-releases.ubuntu.com/g" /etc/apt/sources.list
|
||||
RUN apt-get update && apt-get install -y git time
|
||||
|
||||
RUN mkdir /workspace
|
||||
RUN git clone https://github.com/ub-rms/blueseal.git /workspace/blueseal && \
|
||||
cd /workspace/blueseal && git checkout 95e820049f9ded681019724d0b4a86dc028bd78b
|
||||
|
||||
RUN rm -rf /workspace/blueseal/BlueSeal/android-jars && \
|
||||
git clone https://github.com/Sable/android-platforms.git /workspace/blueseal/BlueSeal/android-jars && \
|
||||
cd /workspace/blueseal/BlueSeal/android-jars && git checkout 74c993c02160cdeb1d52e46017a2ecd536ea1d5d
|
||||
|
||||
|
||||
RUN apt-get update && apt-get install -y openjdk-7-jdk ant
|
||||
|
||||
RUN cd /workspace/blueseal/BlueSeal && mkdir /workspace/blueseal/BlueSeal/bin && \
|
||||
ant build
|
||||
|
||||
RUN sed -i 's#^exec java# exec java -Duser.home=/tmp/user/#' /workspace/blueseal/BlueSeal/tools/apktool
|
||||
COPY run.sh /
|
29
rasta_exp/docker/blueseal/home_build/run.sh
Executable file
29
rasta_exp/docker/blueseal/home_build/run.sh
Executable file
|
@ -0,0 +1,29 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# params: APK_FILENAME
|
||||
|
||||
APK_FILENAME=$1
|
||||
|
||||
export TIME="time: %e
|
||||
kernel-cpu-time: %S
|
||||
user-cpu-time: %U
|
||||
max-rss-mem: %M
|
||||
avg-rss-mem: %t
|
||||
avg-total-mem: %K
|
||||
page-size: %Z
|
||||
nb-major-page-fault: %F
|
||||
nb-minor-page-fault: %R
|
||||
nb-fs-input: %I
|
||||
nb-fs-output: %O
|
||||
nb-socket-msg-received: %r
|
||||
nb-socket-msg-sent: %s
|
||||
nb-signal-delivered: %k
|
||||
exit-status: %x"
|
||||
|
||||
|
||||
WORKDIR="/mnt"
|
||||
cd ${WORKDIR}
|
||||
ln -s /workspace/blueseal/BlueSeal/input /mnt/
|
||||
ln -s /workspace/blueseal/BlueSeal/tools /mnt/
|
||||
ln -s /workspace/blueseal/BlueSeal/android-jars /mnt/
|
||||
/usr/bin/time -o /mnt/report -q /usr/bin/timeout --kill-after=20s ${TIMEOUT} java ${JAVA_PARAM} edu.buffalo.cse.blueseal.BSFlow.InterProceduralMain /mnt/${APK_FILENAME} > /mnt/stdout 2> /mnt/stderr
|
Loading…
Add table
Add a link
Reference in a new issue