]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: Add libfuzzer integration
authorAndrew Scull <ascull@google.com>
Mon, 30 May 2022 10:00:11 +0000 (10:00 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jun 2022 16:58:18 +0000 (12:58 -0400)
commitda42a46c3f2b1616902ecc1a506719da389b937e
treeea68ecbb377e9e69aa3a7974b01e2313318e3e5c
parent9dbcaf98276d0b30534c35f782d756e90169b646
sandbox: Add libfuzzer integration

Add an implementation of LLVMFuzzerTestOneInput() that starts the
sandbox on a secondary thread and exposes a function to synchronize the
generation of fuzzing inputs with their consumption by the sandbox.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/config.mk
arch/sandbox/cpu/os.c
arch/sandbox/include/asm/fuzzing_engine.h [new file with mode: 0644]