ASANManualPoisoning/build.sh

10 lines
228 B
Bash
Raw Normal View History

2023-08-28 12:24:25 +00:00
#!/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