code wiki / (root) / nx_media_exclusion_enforce_gate.nx

nx_media_exclusion_enforce_gate.nx

buildroot/runtime/nx_media_exclusion_enforce_gate.nx

3235 B57 linesdepth 7pulls 11 transitivereach 0 importersview sourcekind gate/prooftopic media
docsdependenciesstructsconstsfunctions

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

nx_gif_decode.nx nx_phash.nx nx_media_exclusion.nx nx_gate.nx nx_media_exclusion_enforce_gat

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

main gw sys_write dec_gif sys_read_file sys_openat_rd sys_lseek sys_mmap sys_read sys_close gif_decode gif_decode_core gif_u16le nx_phash_dhash nx_phash_downscale excl_blocked nx_simhash_hamming nx_bits_popcount64_soft gn sys_write ↻ sys_mmap ↻ nx_phash_downscale ↻ nx_simhash_hamming ↻

structs

none

consts

none

functions

11func 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) }
called by 1: main calls 2: sys_read_filegif_decode
13func main() -> i64