ASANManualPoisoning/build.bat

9 lines
256 B
Batchfile
Raw Normal View History

2023-08-28 12:24:25 +00:00
@echo off
set script_dir_backslash=%~dp0
set script_dir=%script_dir_backslash:~0,-1%
if not exist %script_dir%\Build mkdir %script_dir%\Build
pushd %script_dir%\Build
cl %script_dir%\asan_example.cpp -Zi -fsanitize=address -nologo -link || exit /b 1
popd