[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 03/20] fuzz: Add FUZZ_TARGET module type
From: |
Oleinik, Alexander |
Subject: |
[PATCH v4 03/20] fuzz: Add FUZZ_TARGET module type |
Date: |
Wed, 30 Oct 2019 14:49:50 +0000 |
From: Alexander Oleinik <address@hidden>
Signed-off-by: Alexander Oleinik <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 v4 00/20] Add virtual device fuzzing support, Oleinik, Alexander, 2019/10/30
- [PATCH v4 01/20] softmmu: split off vl.c:main() into main.c, Oleinik, Alexander, 2019/10/30
- [PATCH v4 03/20] fuzz: Add FUZZ_TARGET module type,
Oleinik, Alexander <=
- [PATCH v4 04/20] qtest: add qtest_server_send abstraction, Oleinik, Alexander, 2019/10/30
- [PATCH v4 11/20] libqtest: make qtest_bufwrite send "atomic", Oleinik, Alexander, 2019/10/30
- [PATCH v4 09/20] libqos: split qos-test and libqos makefile vars, Oleinik, Alexander, 2019/10/30
- [PATCH v4 06/20] module: check module wasn't already initialized, Oleinik, Alexander, 2019/10/30
- [PATCH v4 05/20] libqtest: Add a layer of abstraciton to send/recv, Oleinik, Alexander, 2019/10/30
- [PATCH v4 07/20] qtest: add in-process incoming command handler, Oleinik, Alexander, 2019/10/30
- [PATCH v4 02/20] libqos: Rename i2c_send and i2c_recv, Oleinik, Alexander, 2019/10/30
- [PATCH v4 08/20] tests: provide test variables to other targets, Oleinik, Alexander, 2019/10/30
- [PATCH v4 13/20] fuzz: add configure flag --enable-fuzzing, Oleinik, Alexander, 2019/10/30
- [PATCH v4 12/20] libqtest: add in-process qtest.c tx/rx handlers, Oleinik, Alexander, 2019/10/30