1specific_fuzz_ss.add(files('fuzz.c', 'fork_fuzz.c', 'qos_fuzz.c', 2 'qtest_wrappers.c'), qos) 3 4# Targets 5specific_fuzz_ss.add(when: 'CONFIG_I440FX', if_true: files('i440fx_fuzz.c')) 6specific_fuzz_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('virtio_net_fuzz.c')) 7specific_fuzz_ss.add(when: 'CONFIG_VIRTIO_SCSI', if_true: files('virtio_scsi_fuzz.c')) 8 9fork_fuzz = declare_dependency( 10 link_args: config_host['FUZZ_EXE_LDFLAGS'].split() + 11 ['-Wl,-wrap,qtest_inb', 12 '-Wl,-wrap,qtest_inw', 13 '-Wl,-wrap,qtest_inl', 14 '-Wl,-wrap,qtest_outb', 15 '-Wl,-wrap,qtest_outw', 16 '-Wl,-wrap,qtest_outl', 17 '-Wl,-wrap,qtest_readb', 18 '-Wl,-wrap,qtest_readw', 19 '-Wl,-wrap,qtest_readl', 20 '-Wl,-wrap,qtest_readq', 21 '-Wl,-wrap,qtest_writeb', 22 '-Wl,-wrap,qtest_writew', 23 '-Wl,-wrap,qtest_writel', 24 '-Wl,-wrap,qtest_writeq', 25 '-Wl,-wrap,qtest_memread', 26 '-Wl,-wrap,qtest_bufread', 27 '-Wl,-wrap,qtest_memwrite', 28 '-Wl,-wrap,qtest_bufwrite', 29 '-Wl,-wrap,qtest_memset'] 30) 31 32specific_fuzz_ss.add(fork_fuzz) 33