summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-06 00:18:16 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-06 00:18:16 +0300
commit93af795aaf20c0936e59c88237cab850f5fcfb9b (patch)
tree63fa55790dec0a45c06f7c8c39694fa0a35cefe0 /tools
parentc5de1bb55720240eb644c184b5d303700ce42360 (diff)
downloadmanaplus-93af795aaf20c0936e59c88237cab850f5fcfb9b.tar.gz
manaplus-93af795aaf20c0936e59c88237cab850f5fcfb9b.tar.bz2
manaplus-93af795aaf20c0936e59c88237cab850f5fcfb9b.tar.xz
manaplus-93af795aaf20c0936e59c88237cab850f5fcfb9b.zip
Add new asan flags into gcc-8 ci scripts.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/jobs/gcc8_sanitize.sh1
-rwxr-xr-xtools/ci/jobs/gcc8_sanitize_tests.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/ci/jobs/gcc8_sanitize.sh b/tools/ci/jobs/gcc8_sanitize.sh
index dca481380..2c9434e94 100755
--- a/tools/ci/jobs/gcc8_sanitize.sh
+++ b/tools/ci/jobs/gcc8_sanitize.sh
@@ -26,6 +26,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-fsanitize=leak \
-fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=bounds-strict \
-fsanitize-address-use-after-scope \
+-fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=builtin -fsanitize=pointer-overflow \
-std=gnu++2a -Wformat=1 \
-Wno-attributes -fno-omit-frame-pointer"
diff --git a/tools/ci/jobs/gcc8_sanitize_tests.sh b/tools/ci/jobs/gcc8_sanitize_tests.sh
index 7bd2002f8..991052a5b 100755
--- a/tools/ci/jobs/gcc8_sanitize_tests.sh
+++ b/tools/ci/jobs/gcc8_sanitize_tests.sh
@@ -27,6 +27,7 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -Wstrict-aliasing=2 \
-fsanitize=leak \
-fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=bounds-strict \
-fsanitize-address-use-after-scope \
+-fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=builtin -fsanitize=pointer-overflow \
-std=gnu++2a -Wformat=1 \
-Wno-attributes"