wasmtime_module_image_range function

  1. @Native<Void Function(Pointer<wasmtime_module_t>, Pointer<Pointer<Void>>, Pointer<Pointer<Void>>)>(ffi.Pointer<wasmtime_module_t>, ffi.Pointer<ffi.Pointer<ffi.Void>>, ffi.Pointer<ffi.Pointer<ffi.Void>>)>()
void wasmtime_module_image_range(
  1. Pointer<wasmtime_module_t> module,
  2. Pointer<Pointer<Void>> start,
  3. Pointer<Pointer<Void>> end
)

\brief Returns the range of bytes in memory where this module’s compilation image resides.

The compilation image for a module contains executable code, data, debug information, etc. This is roughly the same as the wasmtime_module_serialize but not the exact same.

For more details see: https://docs.wasmtime.dev/api/wasmtime/struct.Module.html#method.image_range

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<wasmtime_module_t>,
    ffi.Pointer<ffi.Pointer<ffi.Void>>,
    ffi.Pointer<ffi.Pointer<ffi.Void>>,
  )
>()
external void wasmtime_module_image_range(
  ffi.Pointer<wasmtime_module_t> module,
  ffi.Pointer<ffi.Pointer<ffi.Void>> start,
  ffi.Pointer<ffi.Pointer<ffi.Void>> end,
);