This is necessary to make use of compiler features such as UBSAN.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
libelf-fuzzer-all: libelf.a libelf-fuzzer.o
afl-libelf-fuzzer: afl-libelf-fuzzer.o libelf-fuzzer.o $(ELF_LIB_OBJS)
+ $(CC) $(CFLAGS) $^ -o $@
# Common targets
.PHONY: all
$(AR) rc $@ $^
afl-x86-insn-emulator-fuzzer: afl-x86-insn-emulator-fuzzer.o x86-insn-emulator-fuzzer.o x86_emulate.o
+ $(CC) $(CFLAGS) $^ -o $@
# Common targets
.PHONY: all