Skip to main content

Crate nub_host_common

Crate nub_host_common 

Source
Expand description

Common types shared between the nub host (nub-host-kvm) and the in-sandbox guest (nub-arch-guestbin).

Forked + stripped from upstream hyperlight-common 0.15.0 (Apache-2.0). Everything related to FlatBuffers (the flatbuffer_wrappers/ module, the generated flatbuffers/ code, and the func/ param-tuple polymorphism that fed those types) is gone — those layers are replaced by rkyv-archived RPC envelopes defined in rpc.

What remains:

  • outb — OUT-port action constants the host↔guest handshake uses.
  • vmem — virtual-memory + page-table helpers used by guest paging.
  • mem — layout / PEB constants.
  • layout — sandbox memory-layout constants.
  • log_level — guest log filter.
  • version_note — ELF version-note check for guest binaries.
  • rpcRequest / Response envelope types for the rkyv-based RPC.

Modules§

layout
log_level
mem
outb
rpc
Wire envelope for the host ↔ guest RPC.
version_note
ELF note types for embedding hyperlight version metadata in guest binaries.
vmem