The scripts in tools/angr/scripts/gnu-parallel-analysis
let you run ARCUS's analysis.py
over
one or more remote hosts using GNU Parallel.
Guide:
-
Make sure the "master" host you're running these scripts on can access all the remote hosts via SSH.
-
Run
setup-host.sh
for each host. Ex:./setup-host.sh server.example.org [email protected]:user/my-repo.git
-
Write a hosts file at
tools/angr/scripts/gnu-parallel-analysis/hosts
. See GNU Parallel's documentation for more details. -
Place all the traces you want to analyze in one directory and then navigate to where you want the results to be stored (ideally, another empty directory). Note: you may want to use
tools/pt/cmppath
to filter out similar traces. -
Run
run.sh
.
run.sh <traces_dir> <git_branch> [extra_analysis_args ...]
EXAMPLES:
# basic run
./run.sh /path/to/traces-dir master
# pass additional arguments to analysis.py
./run.sh /path/to/traces-dir master --explore --logging=40