nx_optenforce_gate.nx
buildroot/runtime/nx_optenforce_gate.nx
about
nx_optenforce_gate.nx -- GATE for LN2 option / null enforcement (lang.plan rung LN2, symbol
opt_enforce_unwrap). The rung's done-rule: a pointer or Option value must be unwrapped through a
checked path before deref in checked mode; the sentinel-zero deref class is REFUSED at compile
time on a fixture, and the stdlib still builds. Subjects: the toolchain compiler (argv[1],
default the live builder) + runtime/nx_option_enforce.nx (hazard) + nx_option_enforce_ok.nx
(every narrowing idiom, the positive control) + nx_option_enforce_reassign.nx (un-narrowing).
Driver = nx_ccgate_lib. Data captures in /tmp/nxoe/, RUNNABLES under _build/ (NAS /tmp noexec).
Usage: nx_optenforce_gate [compiler_elf] (CWD = the tree root, like nx_cc_equiv_gate)
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_ccgate_lib.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 |