diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..3a75ee5 --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash +script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) + +mkdir -p ${script_dir}/Build +pushd ${script_dir}/Build +gcc ${script_dir}/asan_example.cpp -g -fsanitize=address -o asan_example +popd + +