You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bddisasm/prepare_fuzzing_image.sh

16 lines
448 B

#!/bin/bash
set -e
img="bddfuzz"
out="bddfuzz.tar"
rm -rf "${out}"
podman build -t ${img} -f Dockerfile.fuzzing .
podman save -o ${out} ${img}
echo "Done! Copy ${out} to the fuzzing machine and load it with 'podman load -i ${out}'"
echo "You probably want to run it like this: "
echo "'podman run --cap-add=SYS_PTRACE -it -v /host/share/:/bddfuzz/share ${img} /bin/bash'"
echo "All fuzzers are present in the image, you must start one of them"