Skip to content

Commit

Permalink
Use -fsanitize=leak and -fsanitize=undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Dec 30, 2024
1 parent 5197e6b commit 38a4299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ develop:
-Wno-format-nonliteral -Wno-strict-overflow -Wno-unused-but-set-variable \
-Wno-type-limits -Wno-tautological-constant-out-of-range-compare -Wvla \
-D_GLIBCXX_ASSERTIONS \
-fsanitize=shift -fsanitize=integer-divide-by-zero \
-fsanitize=unreachable -fsanitize=vla-bound \
-fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=leak \
-fsanitize=undefined -fsanitize=unreachable -fsanitize=vla-bound \
-fsanitize=signed-integer-overflow -fsanitize=bounds \
-fsanitize=object-size -fsanitize=bool -fsanitize=enum \
-fsanitize=alignment -fsanitize=null -fsanitize=address" \
Expand Down

0 comments on commit 38a4299

Please sign in to comment.