Memory-Safe Elimination of Side Channels
Description
This is an artifact evaluation release for the paper "Memory-Safe Elimination of Side Channels" (CGO 21). It consists of a docker image that contains all the binaries and scripts necessary to run the experiments described in the paper.
# How to use
After downloading the docker image, you will first need to load it:
$ docker load -i lif-cgo.tar.gz
Then, you will need to login into the docker container, using a volume in order to have access to the charts that will be generated:
$ docker run \
-v $(pwd)/figures:/lif/llvm/bench/figures \
-it luigidcsoares/lif:cgo /bin/bash
Once inside the container, build all the benchmarks as follows:
$ ./run.sh -b
Then, run the following commands to collect data from all of them and move the generated charts to the shared folder figures:
$ ./run.sh -c && ./run.sh -p
$ cp results/pass_time.pdf figures/crypto_passtime.pdf \
&& cp results/exec_time.pdf figures/crypto_exectime.pdf \
&& cp results/size.pdf figures/crypto_size.pdf \
&& cp comp/results/pass_time.pdf figures/comp_passtime.pdf \
&& cp comp/results/exec_time.pdf figures/comp_exectime.pdf \
&& cp comp/results/size.pdf figures/comp_size.pdf
You can also access the files inside the container. In this case, you have access to all files generated for each benchmark. For instance, you can check the read/write hits and misses for a benchmark as follows:
vim meng/chronos/aes/results/cachegrind.csv
Files
Files
(994.4 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:931a0ec58419efb65108ad3e01cf9239
|
994.4 MB | Download |