code wiki / (root) / nx_html_links_test.nx

nx_html_links_test.nx

buildroot/runtime/nx_html_links_test.nx

1742 B38 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic html
docsdependenciesstructsconstsfunctions

about

nx_html_links_test.nx -- KATs for the link-extraction kernel (GATE). Construction-known sample: 3 admissible https links (double-quote, single- quote, uppercase HREF) among http/relative/fragment/unquoted decoys + one malformed (unterminated) that must be dropped, not corrupted.

dependencies 3 imports · 0 importers

nx_str.nx nx_syscalls.nx nx_html_links.nx nx_html_links_test.nx

imports: nx_str.nxnx_syscalls.nxnx_html_links.nx

imported by: nobody (leaf or entry point)

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

main tp sys_write nx_str_len teq sys_exit

structs

none

consts

none

functions

9func tp(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 }
called by 1: main calls 2: sys_writenx_str_len
11func teq(a: *u8, b: *u8) -> i64
called by 1: main
18func main() -> i64
calls 3: tpteqsys_exit