Commit 27be64f4ba0ebc451ea78384ee22198f25f985e4
1 parent
cf82384d
README-maintaner: sanitize undefined as well as adddress
gcc already warns for undefined variables, but this is in preparation for Google's oss-fuzz, which builds in this way.
Showing
1 changed file
with
3 additions
and
3 deletions
README-maintainer
| @@ -10,9 +10,9 @@ Debugging: | @@ -10,9 +10,9 @@ Debugging: | ||
| 10 | 10 | ||
| 11 | Memory checks: | 11 | Memory checks: |
| 12 | 12 | ||
| 13 | -./configure CFLAGS="-fsanitize=address -g" \ | ||
| 14 | - CXXFLAGS="-fsanitize=address -g" \ | ||
| 15 | - LDFLAGS="-fsanitize=address" \ | 13 | +./configure CFLAGS="-fsanitize=address -fsanitize=undefined -g" \ |
| 14 | + CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \ | ||
| 15 | + LDFLAGS="-fsanitize=address -fsanitize=undefined" \ | ||
| 16 | --enable-werror --disable-shared | 16 | --enable-werror --disable-shared |
| 17 | 17 | ||
| 18 | 18 |