code wiki / _hdl_build / nx_vk_probe.nx
nx_vk_probe.nx
buildroot/runtime/_hdl_build/nx_vk_probe.nx
about
nx_vk_probe.nx -- capability test on VK (vk.com), a mainstream public video platform (yt-dlp supports it).
Fetch the watch page over sovereign TLS, report ground-truth stream signals, and run the NATIVE orchestrator
(mx_extract) to see how far our resilient classifier gets on a real site. VK embeds direct URLs in a
playerParams JSON (url240/url480/url720/hls, JSON-escaped \/), so this exercises the same embedded-state +
escaped-slash + classify path as YouTube's ytInitialPlayerResponse. Honest assessment, no download. Run from
nxc2 root. license_tier: ORIGINAL
dependencies 7 imports · 0 importers
imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.nxnx_media_state.nxnx_media_signal.nxnx_media_extract.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 14 | const K_MAGIC_4194304: i64 = 4194304 |
| 15 | const K_MAGIC_8388608: i64 = 8388608 |
| 16 | const K_MAGIC_4096: i64 = 4096 |
| 17 | const K_MAGIC_1024: i64 = 1024 |
functions
| 19 | func pw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 20 | func pn(v: i64) -> i64 { let b: *u8=sys_mmap(24); var m: i64=v; if m<0{pw("-" as *u8);m=0-m} let t: *u8=sys_mmap(24); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{b[i]=t[k-1-i];i=i+1} sys_write(1,b,k); return 0 } |
| 21 | func pslen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: count_occ |
| 22 | func count_occ(hay: *u8, hl: i64, needle: *u8) -> i64 |
| 30 | func main(argc: i64, argv: *i64) -> i64 |