nx_fnptr_kat.nx
buildroot/runtime/nx_fnptr_kat.nx
about
KAT for stage 1 (func type + function-address). Expect: AMP_OK / BARE_OK / SAME_OK.
Proves &fn and a BARE function name both yield the function's real (non-zero) code address,
and they agree -- the fix for __thread_clone's NULL-entry SIGSEGV.
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
| none |
functions
| 6 | func worker(x: i64) -> i64 { return x * 2 } |
| 8 | func main() -> i64 |