2020-02-20 07:11:08 +03:00
|
|
|
QEMU_PROG_FUZZ=qemu-fuzz-$(TARGET_NAME)$(EXESUF)
|
|
|
|
|
|
|
|
fuzz-obj-y += tests/qtest/libqtest.o
|
2020-02-20 07:11:12 +03:00
|
|
|
fuzz-obj-y += $(libqos-obj-y)
|
2020-02-20 07:11:08 +03:00
|
|
|
fuzz-obj-y += tests/qtest/fuzz/fuzz.o # Fuzzer skeleton
|
2020-02-20 07:11:11 +03:00
|
|
|
fuzz-obj-y += tests/qtest/fuzz/fork_fuzz.o
|
2020-02-20 07:11:12 +03:00
|
|
|
fuzz-obj-y += tests/qtest/fuzz/qos_fuzz.o
|
2020-02-20 07:11:08 +03:00
|
|
|
|
2020-02-20 07:11:15 +03:00
|
|
|
# Targets
|
|
|
|
fuzz-obj-y += tests/qtest/fuzz/i440fx_fuzz.o
|
2020-02-20 07:11:16 +03:00
|
|
|
fuzz-obj-y += tests/qtest/fuzz/virtio_net_fuzz.o
|
2020-02-20 07:11:17 +03:00
|
|
|
fuzz-obj-y += tests/qtest/fuzz/virtio_scsi_fuzz.o
|
2020-02-20 07:11:15 +03:00
|
|
|
|
2020-02-20 07:11:08 +03:00
|
|
|
FUZZ_CFLAGS += -I$(SRC_PATH)/tests -I$(SRC_PATH)/tests/qtest
|
2020-02-20 07:11:11 +03:00
|
|
|
|
|
|
|
# Linker Script to force coverage-counters into known regions which we can mark
|
|
|
|
# shared
|
|
|
|
FUZZ_LDFLAGS += -Xlinker -T$(SRC_PATH)/tests/qtest/fuzz/fork_fuzz.ld
|