nx_printer_security_test.nx
buildroot/runtime/nx_printer_security_test.nx
about
nx_printer_security_test.nx -- offline gate for the printer security auditor.
Unique exit codes per invariant:
1x none/none -> EXPOSED (+ CLEARTEXT,NOAUTH flags; no TLS/AUTH) [the real Brother case]
1x* tls/digest -> SECURE (+ TLS,AUTH; no CLEARTEXT/NOAUTH)
2x tls,none / digest,none -> WEAK (downgrade offered) + set_contains spot-checks
3x no security attrs -> UNKNOWN (flags 0; never a false "SECURE")
expect_exit: 0 license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_ipp_codec.nxnx_printer_security.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
| 13 | func t_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 15 | func base(buf: *u8) -> i64 |
| 22 | func main() -> i64 |