[PATCH 08/11] sandbox: Add libfuzzer integration

Simon Glass sjg at chromium.org
Mon Apr 11 20:35:42 CEST 2022


On Thu, 7 Apr 2022 at 03:41, Andrew Scull <ascull at google.com> wrote:
>
> 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 at google.com>
> ---
>  arch/sandbox/config.mk                    |  3 +
>  arch/sandbox/cpu/os.c                     | 70 +++++++++++++++++++++++
>  arch/sandbox/include/asm/fuzzing_engine.h | 25 ++++++++
>  3 files changed, 98 insertions(+)
>  create mode 100644 arch/sandbox/include/asm/fuzzing_engine.h

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list