Expand description
PVM recompiler — compiles PVM bytecode to native x86-64 machine code.
This crate is the no_std bytes-producer: it emits x86-64 machine
code into a Vec<u8>. The runtime substrate that loads + executes
the emitted code lives in nub-arch-x86, which compiles this
crate with default-features = false and supplies its own
per-invocation page table.
Public surface:
JitContext—#[repr(C)]execution context, written by the driver before entry and read after exit. Layout is mirrored by the codegen-sideCTX_*offset constants injavm-recompiler-x86::codegen.asm,codegen— codegen pipeline.
Modules§
Structs§
- JitContext
- JIT execution context passed to compiled code via R15.
Must be
#[repr(C)]with exact field ordering matching theCTX_*offset constants incodegen.