summaryrefslogtreecommitdiff
path: root/test/fuzz/Makefile
diff options
context:
space:
mode:
authorAndrew Scull <[email protected]>2022-05-30 10:00:13 +0000
committerTom Rini <[email protected]>2022-06-23 12:58:19 -0400
commita73f3ba91f15e08d6a7ec8cf0408aed517d22bb1 (patch)
tree7a942f93d9884d9c1fd7b905c1a2078f8207d18b /test/fuzz/Makefile
parent0518e7a28fdbaf27cda7a43d1a52d457536e1d9b (diff)
fuzz: virtio: Add fuzzer for vring
Add a fuzzer to test the vring handling code against unexpected mutations from the virtio device. After building the sandbox with CONFIG_FUZZ=y, the fuzzer can be invoked with by: UBOOT_SB_FUZZ_TEST=fuzz_vring ./u-boot This fuzzer finds unvalidated inputs in the vring driver that allow a buggy or malicious device to make the driver chase wild pointers. Signed-off-by: Andrew Scull <[email protected]>
Diffstat (limited to 'test/fuzz/Makefile')
-rw-r--r--test/fuzz/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzz/Makefile b/test/fuzz/Makefile
index 03eeeeb4979..663b79ce80b 100644
--- a/test/fuzz/Makefile
+++ b/test/fuzz/Makefile
@@ -5,3 +5,4 @@
#
obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_fuzz.o
+obj-$(CONFIG_VIRTIO_SANDBOX) += virtio.o