add doc to download images instead of building

This commit is contained in:
Jean-Marie Mineau 2024-04-17 14:52:57 +02:00
parent 63183d4cea
commit c66927898f
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,15 @@
#!/usr/bin/env bash
SIF_DIR=$1
if [[ -z "${SIF_DIR}" ]]; then
echo MISSING SIF_DIR parameter
exit 1
fi
[[ -d "${SIF_DIR}" ]] || mkdir "${SIF_DIR}"
tools="androguard androguard_dad didfail adagio anadroid blueseal didfail flowdroid mallodroid redexer saaf wognsen_et_al iccta ic3 ic3_fork gator droidsafe apparecium amandroid dialdroid"
for tool in ${tools}; do
curl -L -o "${SIF_DIR}/rasta-${tool}.sif" "https://zenodo.org/records/10980349/files/rasta-${tool}.sif?download=1"
done;