summaryrefslogtreecommitdiff
path: root/drivers/fuzz/Kconfig
diff options
context:
space:
mode:
authorAndrew Scull <ascull@google.com>2022-05-30 13:00:12 +0300
committerTom Rini <trini@konsulko.com>2022-06-23 19:58:19 +0300
commit0518e7a28fdbaf27cda7a43d1a52d457536e1d9b (patch)
tree2309dcfddb3c19b0cec341a504fceec6de487198 /drivers/fuzz/Kconfig
parentd9962b12f200156238a4c825c0b540a203c72042 (diff)
downloadu-boot-0518e7a28fdbaf27cda7a43d1a52d457536e1d9b.tar.xz
sandbox: Implement fuzzing engine driver
Add a fuzzing engine driver for the sandbox to take inputs from libfuzzer and expose them to the fuzz tests. Signed-off-by: Andrew Scull <ascull@google.com>
Diffstat (limited to 'drivers/fuzz/Kconfig')
-rw-r--r--drivers/fuzz/Kconfig16
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/fuzz/Kconfig b/drivers/fuzz/Kconfig
index a03120f63a..6311385222 100644
--- a/drivers/fuzz/Kconfig
+++ b/drivers/fuzz/Kconfig
@@ -3,7 +3,15 @@ config DM_FUZZING_ENGINE
depends on DM
help
Enable driver model for fuzzing engine devices. This interface is
- used to get successive inputs from a fuzzing engine that aims to
- explore different code paths in a fuzz test. The fuzzing engine may
- be instrumenting the execution in order to more effectively generate
- inputs that explore different code paths.
+ used to get fuzzing inputs from a fuzzing engine.
+
+if DM_FUZZING_ENGINE
+
+config FUZZING_ENGINE_SANDBOX
+ bool "Sanbox fuzzing engine"
+ depends on SANDBOX
+ default y
+ help
+ Enable fuzzing engine for sandbox.
+
+endif