48 const char*
const* host_array,
49 char*** enclave_array,
54 uint8_t reserved[4248];
55 uintptr_t (*open)(
void* context,
const char* path,
bool must_exist);
56 void (*close)(
void* context, uintptr_t handle);
57 uint64_t (*get_size)(
void* context, uintptr_t handle);
58 void (*unlink)(
void* context,
const char* path);
123 Memfs(
const std::string& devname);
129 const std::unique_ptr<memfs::Filesystem> impl_;
133 static memfs::Filesystem& to_fs(
void* context);
163 #endif // __cplusplus Definition: ert_args.h:11
const void * get_base() noexcept
Get the base address of the payload image.
This file defines the programming interface for developing enclaves.
enum _oe_result oe_result_t
This enumeration type defines return codes for Open Enclave functions.
oe_result_t ert_get_args_ocall(ert_args_t *retval)
Get pointers to commandline arguments, environment variables, and auxiliary vector from host...
uint64_t oe_load_module_custom_file_system(const char *devname, oe_customfs_t *ops, void *context)
Load a custom file system.
int emain(void)
The enclave entry point used by erthost.
void ert_copy_strings_from_host_to_enclave(const char *const *host_array, char ***enclave_array, size_t count)
Securely deep-copy an array of strings from the host to the enclave.
void apply_relocations(void start_main(int payload_main(...)))
Apply relocations to the payload image.
In-enclave-memory filesystem.
Definition: ert.h:120