code wiki / _hdl_build / nx_cbx_imgsig_gate.nx

nx_cbx_imgsig_gate.nx

buildroot/runtime/_hdl_build/nx_cbx_imgsig_gate.nx

3174 B44 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_cbx_imgsig_gate.nx -- proves the comic no-fake-green image-signature check (nx_cbx_pages.img_sig_ok) accepts EVERY format is_image_name admits (JPEG/PNG/GIF/WEBP/BMP) and rejects non-images. The REGRESSION it guards: a WebP or GIF cover -- a valid comic page -- used to be rejected by the old JPEG/PNG-only first-page gate, failing the WHOLE comic ("books like comics missing pictures"). Gate-local copy of the helper. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_cbx_imgsig_gate.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap img_sig_ok sw sys_write sys_exit

structs

none

consts

none

functions

7func img_sig_ok(b: *u8, n: i64) -> i64
called by 1: main
16func sw(s: i64, v: i64) -> i64 { return 0 }
called by 1: main
18func main() -> i64