Skip to content

Commit

Permalink
Add example of CFI build
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonev committed Feb 26, 2024
1 parent 196738b commit d88785e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# make NO_FLTO=1
# and this to enable verbose mode:
# make V=1
# an example how to build with CFI (https://en.wikipedia.org/wiki/Control-flow_integrity)
# CC=clang-17 CFLAGS="-fsanitize=cfi -fno-sanitize-trap -fvisibility=hidden" make

#
# SPDX-License-Identifier: GPL-2.0-or-later
Expand Down

0 comments on commit d88785e

Please sign in to comment.