code wiki / (root) / nx_tls13_read_record_from_fd_test.nx

nx_tls13_read_record_from_fd_test.nx

buildroot/runtime/nx_tls13_read_record_from_fd_test.nx

2219 B49 linesdepth 8pulls 15 transitivereach 0 importersview sourcekind gate/prooftopic tls13
docsdependenciesstructsconstsfunctions

about

nx_tls13_read_record_from_fd_test.nx -- KAT for the TLS record reader from fd. Note on test scope: sys_pipe2 in qemu-riscv64-static is unreliable for round-trip IO (the existing nx_objdump primitive's preamble documents this with a graceful-fallback comment). This KAT therefore exercises: - bounds-check paths (out_cap too small for header / payload) - read-failure path (bad fd -> sys_read negative -> READ_ERR or EOF depending on platform) - verdict gate The full byte-exact round-trip is exercised live by Arc A's end-to-end demo against a real TLS server (queued). expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_tls13_read_record_from_fd.nx nx_tls13_read_record_from_fd_t

imports: nx_syscalls.nxnx_tls13_read_record_from_fd.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 nx_tls13_read_record_from_ _read_n sys_read nx_tls13_read_rec_verdict_

structs

none

consts

none

functions

22func main() -> i64