1
0
mirror of https://github.com/rtbrick/bngblaster.git synced 2024-05-06 15:54:57 +00:00
rtbrick-bngblaster/fuzzing/CMakeLists.txt
Christian Giese 010fc2bffa AFL Fuzzing Tests
Add AFL fuzzing tests for protocol decode
functions.
2021-02-26 14:02:06 +01:00

13 lines
341 B
CMake

cmake_minimum_required (VERSION 3.0)
project(bngbalster-fuzzing C)
set(CMAKE_C_COMPILER "afl-gcc")
set(PROPERTIES
POSITION_INDEPENDENT_CODE OFF)
include_directories("../src")
add_executable(fuzz-protocols-decode protocols_decode.c ../src/bbl_protocols.c)
target_compile_options(fuzz-protocols-decode PRIVATE -Wall -Wextra -pedantic)