Skip to content

Commit

Permalink
test with -fsanitize option
Browse files Browse the repository at this point in the history
  • Loading branch information
butterunderflow committed Aug 24, 2024
1 parent e622030 commit 0a48806
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/cram/ff_wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

ff $1 -o $1.cpp

g++ $1.cpp -o $1.out -I $DUNE_SOURCEROOT/_build/default/runtime/ \
$DUNE_SOURCEROOT/_build/default/runtime/libfun_rt.a
g++ $1.cpp -o $1.out -fsanitize=undefined \
-fsanitize=return \
-fsanitize=bounds \
-fsanitize=bounds-strict \
-I $DUNE_SOURCEROOT/_build/default/runtime/ \
$DUNE_SOURCEROOT/_build/default/runtime/libfun_rt.a

0 comments on commit 0a48806

Please sign in to comment.