blob: 265f08d31862b0bf979fd3da2a690820d2009d91 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cros-disks/mount_info.h"
#include <string>
struct Environment {
Environment() {}
};
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
static Environment env;
std::string str(reinterpret_cast<const char*>(data), size);
cros_disks::MountInfo m;
m.DecodePath(str);
return 0;
}