5#ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_VMO_H_
6#define FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_VMO_H_
10#include <fuchsia/mem/cpp/fidl.h>
16 fuchsia::mem::Buffer* buffer);
19 const std::string& filename,
21 fuchsia::mem::Buffer* buffer);
23zx_status_t
IsSizeValid(
const fuchsia::mem::Buffer& buffer,
bool* is_valid);
bool VmoFromFilenameAt(int dirfd, const std::string &filename, bool executable, fuchsia::mem::Buffer *buffer)
bool VmoFromFilename(const std::string &filename, bool executable, fuchsia::mem::Buffer *buffer)
zx_status_t IsSizeValid(const fuchsia::mem::Buffer &buffer, bool *is_valid)