nx_jpeg_marker_test.nx
buildroot/runtime/nx_jpeg_marker_test.nx
about
nx_jpeg_marker_test.nx -- KAT for JPEG marker scanner.
Exercises:
- minimal SOI/EOI document
- SOI, APP0 (with payload), DQT (with payload), SOF0, SOS, EOI sequence
- marker classification (SOF0 vs SOF2 vs SOF_OTHER)
- length-less markers (SOI/EOI/RSTn)
- 0xFF fill-byte tolerance between segments
- 0xFF 0x00 stuffing-byte rejection as marker (should be skipped)
- truncation detection (length runs past buffer)
expect_exit: 0
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_jpeg_marker.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
| 18 | func _fail(n: i64) -> i64 |
| 38 | func main() -> i64 |