nx_cf_access_probe.nx
buildroot/runtime/nx_cf_access_probe.nx
about
nx_cf_access_probe.nx -- neutrality/access diagnostic: can OUR sovereign crawler reach the adult-media
sources major engines de-rank (javdb/ukdevilz/etc.)? Tests each with (1) minimal-hello then (2) Chrome-JA3
(which beat Cloudflare JA3-fingerprinting for nhentai). Reports status + whether it's a Cloudflare/JS
challenge -> distinguishes ACCESS-blocked (Cloudflare bot-wall, affects us + Common Crawl) from a
neutrality issue. argv[1..] = urls. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.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
| 10 | const K_MAGIC_4194304: i64 = 4194304 |
functions
| 12 | func gw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func gn(v: i64) -> i64 { if v==0 { sys_write(1,"0" as *u8,1); return 0 } var m: i64=v; if m<0 { sys_write(1,"-" as *u8,1); m=0-m } let t: *u8=sys_mmap(24); var k: i64=0; while m>0 { t[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } let o: *u8=sys_mmap(24); var q: i64=k-1; var x: i64=0; while q>=0 { o[x]=t[q]; x=x+1; q=q-1 } sys_write(1,o,x); return 0 } |
| 14 | func has(hay: *u8, hn: i64, ndl: *u8) -> i64 { var nl: i64=0; while ndl[nl]!=(0 as u8){nl=nl+1} var i: i64=0; while i+nl<=hn { var m: i64=1; var j: i64=0; while j<nl { if hay[i+j]!=ndl[j] { m=0; j=nl } else { j=j+1 } } if m==1 { return 1 } i=i+1 } return 0 } called by 1: is_cf_challenge |
| 19 | func is_cf_challenge(out: *u8, n: i64) -> i64 |
| 28 | func probe(url: *u8, store: *TrustStore, out: *u8, cap: i64) -> i64 |
| 49 | func main(argc: i64, argv: *i64) -> i64 |