Files
LowganDev--PlayfinPS4/fuzz/fuzz_models.cpp
T
2026-10-17 05:23:01 +02:00

25 lines
706 B
C++

#include <cstddef>
#include <cstdint>
#include <string_view>
#include "jellyfin/models.hpp"
extern "C" int LLVMFuzzerTestOneInput(const std::uint8_t* data, std::size_t size) {
const std::string_view text(reinterpret_cast<const char*>(data), size);
using namespace playfin::jellyfin;
(void)parseItemPage(text);
(void)parseItem(text);
(void)parseServerInfo(text);
(void)parsePublicUsers(text);
(void)parseUser(text);
(void)parseAuth(text);
(void)parseQuickConnect(text);
(void)parseBool(text);
(void)parseVersion(text);
(void)parsePlaybackInfo(text);
(void)parseMediaSegments(text);
(void)parseTimers(text);
(void)parseUtc(text);
return 0;
}