code wiki / _hdl_build / nx_cbx_imgsig_gate.nx
nx_cbx_imgsig_gate.nx
buildroot/runtime/_hdl_build/nx_cbx_imgsig_gate.nx
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
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
structs
| none |
consts
| none |
functions
| 7 | func img_sig_ok(b: *u8, n: i64) -> i64 called by 1: main |
| 16 | func sw(s: i64, v: i64) -> i64 { return 0 } called by 1: main |
| 18 | func main() -> i64 |