blob: 2628d661e7c53cbce0f9fd2e6560c3ad595b520a [file] [log] [blame]
#include <cstddef>
#include <cstdint>
#include "lib/core/CHIPTLV.h"
#include "lib/core/CHIPTLVUtilities.hpp"
using chip::TLV::TLVReader;
static CHIP_ERROR FuzzIterator(const TLVReader & aReader, size_t aDepth, void * aContext)
{
return CHIP_NO_ERROR;
}
extern "C" int LLVMFuzzerTestOneInput(const uint8_t * data, size_t len)
{
TLVReader reader;
reader.Init(data, len);
chip::TLV::Utilities::Iterate(reader, FuzzIterator, nullptr);
return 0;
}