code wiki / (root) / nx_antibot_gate.nx

nx_antibot_gate.nx

buildroot/runtime/nx_antibot_gate.nx

7553 B107 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_antibot_gate.nx -- GATE for nx_antibot (the /compare/webscraping R4 contract abt_classify). Network-free; specimens assembled at runtime from the marker rows' own vocabulary. The accept rule pre-declared on the board: vendor challenge pages are named by vendor; a long article that MENTIONS captcha / Cloudflare / Access Denied reads CLEAN (the false-positive control, because a wall verdict costs the index a page); 429 is a rate limit; 403 with a body is a status block; an empty 200 is its own class, never a wall. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_antibot.nx nx_gate_verdict.nx nx_antibot_gate.nx

imports: nx_syscalls.nxnx_antibot.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_head gv_puts sys_write gv_ctr sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ abt_reload abt_load lc_geti sys_mmap ↻ lc_read sys_openat_rd sys_read sys_close lc_slen sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read ↻ sys_munmap sys_close ↻ sys_free_file sys_munmap ↻ abt_count_nl

structs

none

consts

11const AG_CAP: i64 = 65536

functions

13func ag_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
14func ag_cat(d: *u8, o: i64, s: *u8) -> i64 { var i: i64 = 0; var p: i64 = o; while s[i] != (0 as u8) { d[p] = s[i]; p = p + 1; i = i + 1 } d[p] = 0 as u8; return p }
called by 1: main
15func ag_vendor_is(v: *u8) -> i64
called by 1: main calls 1: ag_len
22func ag_cls(status: i64, s: *u8) -> i64 { return abt_classify(status, s, ag_len(s)) }
called by 1: main calls 2: abt_classifyag_len
24func main() -> i64