code wiki / _hdl_build / nx_pub_reader_receipt_gate.nx

nx_pub_reader_receipt_gate.nx

buildroot/runtime/_hdl_build/nx_pub_reader_receipt_gate.nx

5038 B81 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic pub
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_gate_verdict.nx nx_pub_reader_receipt_gate.nx

imports: nx_gate_gn.nxnx_syscalls.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gp sys_write spawn sys_fork sys_openat_wr sys_dup3 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 ↻ sys_execve sys_exit ↻ sys_wait4 gn sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close sys_exit ↻ ghas gfind gslen gfind ↻ gv_ctr

structs

none

consts

none

functions

11func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
12func gslen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: gfind
13func gfind(hay: *u8, hl: i64, needle: *u8) -> i64
called by 2: ghasmain calls 1: gslen
19func ghas(hay: *u8, hl: i64, needle: *u8) -> i64 { if gfind(hay, hl, needle) >= 0 { return 1 } return 0 }
called by 1: main calls 1: gfind
20func spawn(path: *u8, a0: *u8, a1: *u8, redir: *u8) -> i64
41func main() -> i64