[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 03/20] fuzz: Add FUZZ_TARGET module type
From: |
Oleinik, Alexander |
Subject: |
[PATCH v5 03/20] fuzz: Add FUZZ_TARGET module type |
Date: |
Wed, 13 Nov 2019 22:50:43 +0000 |
Signed-off-by: Alexander Bulekov <address@hidden>
---
include/qemu/module.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/qemu/module.h b/include/qemu/module.h
index 65ba596e46..684753d808 100644
--- a/include/qemu/module.h
+++ b/include/qemu/module.h
@@ -46,6 +46,7 @@ typedef enum {
MODULE_INIT_TRACE,
MODULE_INIT_XEN_BACKEND,
MODULE_INIT_LIBQOS,
+ MODULE_INIT_FUZZ_TARGET,
MODULE_INIT_MAX
} module_init_type;
@@ -56,7 +57,8 @@ typedef enum {
#define xen_backend_init(function) module_init(function, \
MODULE_INIT_XEN_BACKEND)
#define libqos_init(function) module_init(function, MODULE_INIT_LIBQOS)
-
+#define fuzz_target_init(function) module_init(function, \
+ MODULE_INIT_FUZZ_TARGET)
#define block_module_load_one(lib) module_load_one("block-", lib)
#define ui_module_load_one(lib) module_load_one("ui-", lib)
#define audio_module_load_one(lib) module_load_one("audio-", lib)
--
2.23.0
- [PATCH v5 00/20] Add virtual device fuzzing support, Oleinik, Alexander, 2019/11/13
- [PATCH v5 06/20] module: check module wasn't already initialized, Oleinik, Alexander, 2019/11/13
- [PATCH v5 01/20] softmmu: split off vl.c:main() into main.c, Oleinik, Alexander, 2019/11/13
- [PATCH v5 09/20] libqos: split qos-test and libqos makefile vars, Oleinik, Alexander, 2019/11/13
- [PATCH v5 05/20] libqtest: Add a layer of abstraciton to send/recv, Oleinik, Alexander, 2019/11/13
- [PATCH v5 13/20] fuzz: add configure flag --enable-fuzzing, Oleinik, Alexander, 2019/11/13
- [PATCH v5 03/20] fuzz: Add FUZZ_TARGET module type,
Oleinik, Alexander <=
- [PATCH v5 15/20] fuzz: add fuzzer skeleton, Oleinik, Alexander, 2019/11/13
- [PATCH v5 20/20] fuzz: add documentation to docs/devel/, Oleinik, Alexander, 2019/11/13
- [PATCH v5 08/20] tests: provide test variables to other targets, Oleinik, Alexander, 2019/11/13
- [PATCH v5 11/20] libqtest: make bufwrite rely on the TransportOps, Oleinik, Alexander, 2019/11/13
- [PATCH v5 14/20] fuzz: Add target/fuzz makefile rules, Oleinik, Alexander, 2019/11/13
- [PATCH v5 10/20] libqos: move useful qos-test funcs to qos_external, Oleinik, Alexander, 2019/11/13
- [PATCH v5 18/20] fuzz: add i440fx fuzz targets, Oleinik, Alexander, 2019/11/13
- [PATCH v5 17/20] fuzz: add support for qos-assisted fuzz targets, Oleinik, Alexander, 2019/11/13
- [PATCH v5 19/20] fuzz: add virtio-net fuzz target, Oleinik, Alexander, 2019/11/13
- [PATCH v5 07/20] qtest: add in-process incoming command handler, Oleinik, Alexander, 2019/11/13