code wiki / _hdl_build / nx_mediafacts_gate.nx

nx_mediafacts_gate.nx

buildroot/runtime/_hdl_build/nx_mediafacts_gate.nx

7975 B151 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_mediafacts_gate.nx -- PROVE THE MEDIA FACT EXTRACTOR MEASURES, NEVER FABRICATES, NEVER LEAKS. Teeth follow the refcorpus discipline: every capability is asserted in BOTH polarities, and the PII wall gets a structural tooth -- two JPEGs identical except their Exif CONTENT must produce identical fact arrays, proving segment content cannot flow through this lane (a witness that can only agree is not a witness; a flag that fires on presence must also stay silent on absence). Fixtures are constructed byte-for-byte from the published specs (PNG sig+IHDR, JPEG markers, RIFF/WAVE chunk layout) -- not from our own writers, so a shared misreading cannot self-validate. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_mediafacts_lib.nx nx_refcorpus.nx nx_mediafacts_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_mediafacts_lib.nxnx_refcorpus.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap gv_head gv_puts sys_write sys_mmap ↻ mg_png mf_probe mf_format mf_b mf_wav mf_u32le mf_b ↻ mf_u16le sys_mmap ↻ nx_img_dims _be32 _le16 _le24 _le32b _be16 mf_jpeg_exif mf_b ↻ mf_u16be gv_check gv_puts ↻ mg_jpeg mg_wav mf_median rc_admit rc_slen gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append

structs

none

consts

none

functions

16func mg_png(b: *u8) -> i64
called by 1: main
29func mg_jpeg(b: *u8, with_exif: i64, content: i64) -> i64
called by 1: main
58func mg_wav(b: *u8) -> i64
called by 1: main
77func main(argc: i64, argv: *i64) -> i64