Flutter Engine
vmo.cc File Reference
#include "vmo.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <fuchsia/io/cpp/fidl.h>
#include <fuchsia/mem/cpp/fidl.h>
#include <lib/fdio/directory.h>
#include <lib/fdio/io.h>
#include <lib/syslog/global.h>
#include <zircon/status.h>
#include "logging.h"

Go to the source code of this file.

Namespaces

 dart_utils
 

Functions

bool dart_utils::VmoFromFilename (const std::string &filename, bool executable, fuchsia::mem::Buffer *buffer)
 
bool dart_utils::VmoFromFilenameAt (int dirfd, const std::string &filename, bool executable, fuchsia::mem::Buffer *buffer)
 
zx_status_t dart_utils::IsSizeValid (const fuchsia::mem::Buffer &buffer, bool *is_valid)