#include #include #include "lib/core/TLV.h" #include "lib/core/TLVUtilities.h" 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; }