nx_smoke_mmap.nx
buildroot/runtime/nx_smoke_mmap.nx
about
smoke_mmap.nx -- verify sys_mmap works in our RV64 ELF chain.
If this exits 7, sys_mmap returned a valid pointer + the
memory is writeable + readable. If it segfaults / exits
non-zero, the chain has a sys_mmap bug.
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 14 | const K_MAGIC_4096: i64 = 4096 |
functions
| 16 | func main() -> i64 calls 1: sys_mmap |