Expand description
The lifter converts executable guest memory to NNIL so that the JIT stays architecture-neutral.
A lifter decodes guest instructions but does not run them. It converts each RISC-V operation to a small sequence of NNIL operations. The backend can then handle NNIL without knowledge of RISC-V bit fields.
Structs§
- Memory
View - Restricts instruction fetches to the MMU execute-permission checks.
Enums§
- RiscV
Arch - Selects the register width because decoding and word-result rules depend on XLEN.
Functions§
- lift
- Lifts a complete diagnostic byte slice from guest address zero.
- lift_
block - Lifts one control-flow region so that the runtime can compile code only when it is needed.