code wiki / (root) / nx_navigation_test.nx

nx_navigation_test.nx

buildroot/runtime/nx_navigation_test.nx

6952 B144 linesdepth 4pulls 8 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_navigation_test.nx -- combined KAT for link extraction + 3xx redirect resolution. Together these primitives unlock anchor-click navigation in the bits-up browser. expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_html_extract_links.nx nx_http_resolve_redirect.nx nx_navigation_test.nx

imports: nx_syscalls.nxnx_html_extract_links.nxnx_http_resolve_redirect.nx

imported by: nobody (leaf or entry point)

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

main _strlen sys_mmap nx_html_extract_links sys_mmap ↻ nx_html_cursor_init nx_html_next_token _scan_name _is_name _is_void_element _lc nx_html_is_raw_text_tag _lc ↻ nx_html_consume_raw_text _lc ↻ _is_ws _link_name_eq_a nx_dom_find_attr _dq_strlen _dq_find_substr_ci _dq_byte_eq_ci _dq_lc nx_url_resolve _ur_copy _ur_find_scheme_colon _ur_lc sys_mmap ↻ _ur_resolve_dot_segments _ur_putc _ur_copy ↻ _ur_putc ↻ _fail sys_mmap ↻ sys_write _bytes_eq_lit nx_redirect_status_is_foll nx_redirect_status_is_perm nx_redirect_status_preserv nx_http_resolve_redirect nx_redirect_status_is_foll ↻

structs

none

consts

none

functions

12func _fail(n: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
32func _bytes_eq_lit(buf: *u8, off: i64, n: i64, lit: *u8) -> i64
called by 1: main
42func _strlen(s: *u8) -> i64
called by 1: main
48func main() -> i64