nx_media_exclusion_enforce_gate.nx
buildroot/runtime/nx_media_exclusion_enforce_gate.nx
about
nx_media_exclusion_enforce_gate.nx -- end-to-end proof that the exclusion gate enforces on REAL decoded media.
Decodes page3's masthead (a benign stand-in for "blocked content"), fingerprints it, puts that fingerprint on a
blocklist, then proves: (T1) the image is refused, (T2) a re-encoded/downscaled copy is ALSO refused (real
re-upload catch), (T3) a different real image passes. No network. Composes nx_gif_decode + nx_phash +
nx_media_exclusion. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_gif_decode.nxnx_phash.nxnx_media_exclusion.nxnx_gate.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
| 11 | func dec_gif(path: *u8, wh: *i64) -> *u8 { let box: *i64=sys_mmap(16) as *i64; let raw: *u8=sys_read_file(path, box); if raw==(0 as *u8) { return 0 as *u8 } return gif_decode(raw, box[0], wh) } |
| 13 | func main() -> i64 |