[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 03/20] fuzz: add FUZZ_TARGET module type
From: |
Bulekov, Alexander |
Subject: |
[PATCH v7 03/20] fuzz: add FUZZ_TARGET module type |
Date: |
Mon, 20 Jan 2020 05:54:43 +0000 |
Signed-off-by: Alexander Bulekov <address@hidden>
Reviewed-by: Stefan Hajnoczi <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 v7 00/20] Add virtual device fuzzing support, Bulekov, Alexander, 2020/01/20
- [PATCH v7 01/20] softmmu: split off vl.c:main() into main.c, Bulekov, Alexander, 2020/01/20
- [PATCH v7 02/20] libqos: rename i2c_send and i2c_recv, Bulekov, Alexander, 2020/01/20
- [PATCH v7 02/20] module: check module wasn't already initialized, Bulekov, Alexander, 2020/01/20
- [PATCH v7 03/20] fuzz: add FUZZ_TARGET module type,
Bulekov, Alexander <=
- [PATCH v7 04/20] qtest: add qtest_server_send abstraction, Bulekov, Alexander, 2020/01/20
- [PATCH v7 06/20] libqtest: make bufwrite rely on the TransportOps, Bulekov, Alexander, 2020/01/20
- [PATCH v7 05/20] libqtest: add a layer of abstraction to send/recv, Bulekov, Alexander, 2020/01/20
- [PATCH v7 06/20] module: check module wasn't already initialized, Bulekov, Alexander, 2020/01/20
- [PATCH v7 07/20] qtest: add in-process incoming command handler, Bulekov, Alexander, 2020/01/20
- [PATCH v7 08/20] libqos: rename i2c_send and i2c_recv, Bulekov, Alexander, 2020/01/20
- [PATCH v7 08/20] libqos: split qos-test and libqos makefile vars, Bulekov, Alexander, 2020/01/20
- [PATCH v7 09/20] libqos: split qos-test and libqos makefile vars, Bulekov, Alexander, 2020/01/20
- [PATCH v7 09/20] libqos: move useful qos-test funcs to qos_external, Bulekov, Alexander, 2020/01/20
- [PATCH v7 10/20] libqtest: make bufwrite rely on the TransportOps, Bulekov, Alexander, 2020/01/20