nx_emu_rv64_main.nx
buildroot/runtime/nx_emu_rv64_main.nx
about
nx_emu_rv64_main.nx -- CLI for NX-EMU: load + run a static RV64 ELF.
Usage: nx_emu_rv64 <prog.elf> (exit code = guest's exit status)
Reads the ELF, loads its PT_LOAD segments into a flat guest image, and
runs it on the sovereign RV64 interpreter -- NO qemu. Used by the
differential harness (gate_nx_emu_diff.sh) which runs the SAME ELF on
qemu-riscv64-static (oracle) and asserts identical exit codes.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_emu_rv64.nxnx_syscalls_x86_64.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 15 | func main(argc: i64, argv: *i64) -> i64 calls 1: emu_rv64_load_elf |