This is a simple example of fuzz test integration with Zephyr apps that displays LLVM libfuzzer's most important feature: it's ability to detect and explore deep and complicated call trees by exploiting coverage information gleaned from instrumented binaries. See README.rst and the inline comments for details Signed-off-by: Andy Ross <andyross@google.com>
9 lines
187 B
CMake
9 lines
187 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(fuzz)
|
|
|
|
target_sources(app PRIVATE src/main.c)
|