Skip to content

Commit

Permalink
Sanitize UB in backend DB
Browse files Browse the repository at this point in the history
  • Loading branch information
plajjan committed Nov 8, 2022
1 parent 03f6aef commit 7b21b12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ DIST_ZIG=dist/zig


CFLAGS_DB = -I. -Ideps -I$(TD)/deps/instdir/include -DLOG_USE_COLOR -g
# TODO: enable sanitization of undefined behavior!
CFLAGS_DB+= -fno-sanitize=undefined -Werror
CFLAGS_DB+= -fsanitize=undefined -Werror
# TODO: clean up casts and remove this!
CFLAGS_DB+= -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast
# /backend ----------------------------------------------
Expand Down

0 comments on commit 7b21b12

Please sign in to comment.