Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
fuzz_life_parser.cc File Reference

libFuzzer target for the Life 1.05 and Life 1.06 readers. More...

#include <cstddef>
#include <cstdint>
#include <sstream>
#include <string>
#include <ca-io.H>
Include dependency graph for fuzz_life_parser.cc:

Go to the source code of this file.

Functions

int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 

Detailed Description

libFuzzer target for the Life 1.05 and Life 1.06 readers.

The same byte buffer is fed to both read_life_105 and read_life_106. Malformed input must be rejected via exceptions; only sanitizer-detected memory errors are bugs.

Definition in file fuzz_life_parser.cc.

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  data,
size_t  size 
)