code wiki / (root) / nx_acme_response_test.nx

nx_acme_response_test.nx

buildroot/runtime/nx_acme_response_test.nx

7245 B164 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic acme
docsdependenciesstructsconstsfunctions

about

nx_acme_response_test.nx -- smoke for the ACME response parser. Covers: 1. Verdict enum gates 2. Status-code parse for several values 3. Body offset finder (CRLF CRLF + LF LF tolerance) 4. Full parse of a canned ACME new-account response 5. Replay-Nonce extraction 6. Location extraction 7. Body offset/length correctness 8. is_success / is_client_error / should_retry predicates 9. BAD_ARG paths expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls_x86_64.nx nx_acme_response.nx nx_acme_response_test.nx

imports: nx_syscalls_x86_64.nxnx_acme_response.nx

imported by: nobody (leaf or entry point)

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

main nxar_verdict_is_valid bytes_eq nxar_verdict_name nxar_parse_status_code emit nxar_find_body_offset nx_acme_response_parse nxar_parse_status_code ↻ nxar_find_body_offset ↻ nx_http_header_find nxhf_next_line nxhf_eq_ci nxhf_tolower nx_acme_response_is_succes nx_acme_response_is_client nx_acme_response_should_re

structs

none

consts

none

functions

21func bytes_eq(a: *u8, b: *u8, n: i64) -> i64
called by 1: main
30func emit(buf: *u8, off: i64, s: *u8) -> i64
called by 1: main
39func main() -> i64