mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Enable UBSan in addition to ASan
UBSan is a useful tool, so we enable it for `--enable-sanitizer` in addition to ASan.
This commit is contained in:
parent
4130fe437a
commit
ea3afcbae3
2 changed files with 2 additions and 2 deletions
|
@ -3706,7 +3706,7 @@ function add_asan_opts(cflags_name, libs_name, ldflags_name)
|
|||
}
|
||||
|
||||
if (!!cflags_name) {
|
||||
ADD_FLAG(cflags_name, "-fsanitize=address");
|
||||
ADD_FLAG(cflags_name, "-fsanitize=address,undefined");
|
||||
}
|
||||
if (!!libs_name) {
|
||||
if (X64) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue