code wiki / (root) / nx_pages_config_test.nx

nx_pages_config_test.nx

buildroot/runtime/nx_pages_config_test.nx

2626 B66 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic pages
docsdependenciesstructsconstsfunctions

about

nx_pages_config_test.nx -- KAT for D1.6 config-file parser. Writes a test config to a temp file, loads it, asserts vhost+fallback match expectations. Returns 0 on all pass, otherwise the index of the failing assertion.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_pages_config.nx nx_pages_vhost.nx nx_pages_config_test.nx

imports: nx_syscalls.nxnx_pages_config.nxnx_pages_vhost.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main _pct_strlen sys_openat_wr sys_write sys_close sys_mmap nx_vhost_table_init nx_pages_config_load sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ↻ _pcfg_find_byte _pcfg_is_ws _pcfg_byte_eq nx_vhost_add _vh_arena_push_cstr _pcfg_parse_i64 nx_vhost_set_fallback

structs

none

consts

none

functions

10func _pct_strlen(s: *u8) -> i64
called by 1: main
16func main() -> i64