code wiki / (root) / nx_ch_census_race_stage.nx

nx_ch_census_race_stage.nx

buildroot/runtime/nx_ch_census_race_stage.nx

3690 B87 linesdepth 11pulls 26 transitivereach 0 importersview sourcekind tooltopic ch
docsdependenciesstructsconstsfunctions

about

nx_ch_census_race_stage.nx -- NEUTRAL input stager for the CH-census autonomy race (operator: "have the team do an assignment and you do it and see where they can grow to match or exceed you"). Emits the browser's REAL ClientHello (nx_tls13_client_session_emit_ch, deterministic), locates the extension block, and stages THREE race inputs both lanes consume identically: /tmp/race_block.bin the real extension block (the assignment's live data) /tmp/race_trunc.bin the same block cut 3 bytes short (mid-entry truncation) /tmp/race_empty.bin zero bytes (empty extension list) This stager is RACE INFRASTRUCTURE, not a lane: both lanes get byte-identical inputs, so neither lane's author touches the other's data path. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_csprng.nx nx_tls13_client_session.nx nx_ch_census_race_stage.nx

imports: nx_syscalls.nxnx_csprng.nxnx_tls13_client_session.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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ nx_csprng_fill sys_mmap ↻ nx_csprng_urandom_path sys_openat_rd sys_read sys_close nx_tls13_client_session_ne sys_mmap ↻ nx_tls13_transcript_new sys_mmap ↻ sha256_init sys_mmap ↻ sha256_seed_allocated sha256_k sha384_init p256_ecdh_derive_priv sys_mmap ↻ sha256_digest sys_mmap ↻ sha256_init ↻ sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress

structs

none

consts

14const K_MAGIC_1024: i64 = 1024

functions

16func st_dec(label0: i64, label1: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
42func st_write_file(path: *u8, b: *u8, n: i64) -> i64
50func main() -> i64