Skip to content

Commit

Permalink
Add make asan build target
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jun 19, 2023
1 parent 9e3f9f6 commit 9b6bce7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ QMAKE_FLAGS+=PREFIX=$(PREFIX)

all: iaito

asan:
export CXXFLAGS=-fsanitize=address ; \
export CFLAGS=-fsanitize=address ; \
export LDFLAGS=-fsanitize=address ; \
$(MAKE) build && $(MAKE) -C build -j4

clean:
rm -rf build

Expand Down

0 comments on commit 9b6bce7

Please sign in to comment.