code wiki / _hdl_build / nx_clean_url_gate.nx
nx_clean_url_gate.nx
buildroot/runtime/_hdl_build/nx_clean_url_gate.nx
about
nx_clean_url_gate.nx -- gate for the clean-URL layer: the general extensionless resolve rule + traversal safety
+ a clean-link audit run on the REAL andelin_branded.html. 100% sovereign. expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_clean_url.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
| 8 | func g_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 9 | func g_streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8){ if a[i]!=b[i] { return 0 } i=i+1 } if b[i]!=(0 as u8){ return 0 } return 1 } called by 1: chk |
| 10 | func inbandc(v: i64, lo: i64, hi: i64) -> i64 { if v < lo { return 0 } if v > hi { return 0 } return 1 } called by 1: main |
| 12 | func chk(req: *u8, want: *u8) -> i64 |
| 20 | func main() -> i64 |