Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 460 Bytes

README.rst

File metadata and controls

21 lines (16 loc) · 460 Bytes

Fuzz Test

Build the test:

CXX=clang++ cmake -B build
cd build/fuzz/cpu
make -j
./cpu-fuzz -max_len=16

The command asserts when it finds an error. Otherwise it runs forever so kill it to stop testing. When it finds an error, it writes the input to a file in the current directory. To run again for just that input:

./cpu-fuzz . .