Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 803 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 803 Bytes

Fuzzing example

Prerequisites

  • Linux (preferably Arch Linux or an Arch Linux based distribution such as Manjaro) or MacOS

Instructions using juCi++

  1. Clone this repository
  2. Run juCi++ with the following arguments from a terminal:
    • Linux: CC=clang juci fuzzing-example
    • MacOS: CC=/usr/local/opt/llvm/bin/clang juci fuzzing-example
  3. Open tests/utility_fuzzer_test.c and run using either:
    • Compile and Run in the Project menu
    • Start/Continue in the Debug menu

Instructions using a terminal on Linux

git clone https://gitlab.com/ntnu-tdat3020/fuzzing-example
mkdir fuzzing-example/build
cd fuzzing-example/build
CC=clang cmake ..
make
./tests/utility_fuzzer_test -max_total_time=60  # Cancel fuzzing after 60 seconds