зеркало из https://github.com/github/ruby.git
disable _FORTIFY_SOURCE
Sanitizers and fortifications do not interface, and there is currently no plan for them to work together. See also https://github.com/google/sanitizers/issues/247
This commit is contained in:
Родитель
6be0ab73c3
Коммит
8fce83339b
|
@ -198,7 +198,7 @@ env:
|
|||
env:
|
||||
- GEMS_FOR_TEST=
|
||||
- ASAN_OPTIONS=detect_leaks=0
|
||||
- cflags='-march=native -fsanitize=address -fno-omit-frame-pointer -fPIC'
|
||||
- cflags='-U_FORTIFY_SOURCE -march=native -fsanitize=address -fno-omit-frame-pointer -fPIC'
|
||||
- debugflags=-ggdb3
|
||||
- optflags=-O1
|
||||
- LD=clang-8
|
||||
|
@ -213,7 +213,7 @@ env:
|
|||
<<: *clang-8
|
||||
env:
|
||||
- GEMS_FOR_TEST=
|
||||
- cflags='-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -fPIC'
|
||||
- cflags='-U_FORTIFY_SOURCE -fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -fPIC'
|
||||
- optflags=-O1
|
||||
- LD=clang-8
|
||||
- LDFLAGS='-fsanitize=memory -fPIC'
|
||||
|
@ -227,7 +227,7 @@ env:
|
|||
<<: *clang-8
|
||||
env:
|
||||
- GEMS_FOR_TEST=
|
||||
- cflags='-fsanitize=undefined,integer,nullability -fno-sanitize=implicit-integer-sign-change,unsigned-integer-overflow'
|
||||
- cflags='-U_FORTIFY_SOURCE -fsanitize=undefined,integer,nullability -fno-sanitize=implicit-integer-sign-change,unsigned-integer-overflow'
|
||||
- cppflags=-DUNALIGNED_WORD_ACCESS=0
|
||||
- debugflags=-ggdb3
|
||||
- optflags='-O1 -march=native'
|
||||
|
|
Загрузка…
Ссылка в новой задаче