5#ifndef RUNTIME_BIN_ELF_LOADER_H_
6#define RUNTIME_BIN_ELF_LOADER_H_
8#include "../include/dart_api.h"
29#if defined(__Fuchsia__) || defined(__linux__) || defined(__FreeBSD__)
34 const uint8_t** vm_snapshot_instrs,
35 const uint8_t** vm_isolate_data,
36 const uint8_t** vm_isolate_instrs);
39#if !defined(__Fuchsia__)
45 const uint8_t** vm_snapshot_instrs,
46 const uint8_t** vm_isolate_data,
47 const uint8_t** vm_isolate_instrs);
52 const uint8_t* snapshot,
53 uint64_t snapshot_size,
56 const uint8_t** vm_snapshot_instrs,
57 const uint8_t** vm_isolate_data,
58 const uint8_t** vm_isolate_instrs);
const uint8_t uint32_t uint32_t GError ** error
const uint8_t * vm_snapshot_data
DART_EXPORT Dart_LoadedElf * Dart_LoadELF_Memory(const uint8_t *snapshot, uint64_t snapshot_size, const char **error, const uint8_t **vm_snapshot_data, const uint8_t **vm_snapshot_instrs, const uint8_t **vm_isolate_data, const uint8_t **vm_isolate_instrs)
Please see documentation for Dart_LoadElf_Fd.
DART_EXPORT Dart_LoadedElf * Dart_LoadELF(const char *filename, uint64_t file_offset, const char **error, const uint8_t **vm_snapshot_data, const uint8_t **vm_snapshot_instrs, const uint8_t **vm_isolate_data, const uint8_t **vm_isolate_instrs)
Please see documentation for Dart_LoadElf_Fd.
DART_EXPORT void Dart_UnloadELF(Dart_LoadedElf *loaded)