nx_canary_test.nx
buildroot/runtime/nx_canary_test.nx
about
nx_canary_test.nx -- end-to-end smoke for nx_canary_value.
Exercises the verify-constant path, verify-bytes path, verify-file
path (composing sys_read_file), and the aggregate scan with a
mixed-verdict canary array. All five exit codes are mapped to
specific assertions so a failed smoke pinpoints the broken
invariant.
dependencies 2 imports · 0 importers
imports: syscalls.nxnx_canary_value.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
| 12 | const NX_TEST_NOW_UNIX: i64 = 1747436400 // 2026-05-16 reference timestamp |
functions
| 14 | func main() -> i64 |