code wiki / _hdl_build / nx_meet_intake_gate.nx

nx_meet_intake_gate.nx

buildroot/runtime/_hdl_build/nx_meet_intake_gate.nx

7394 B102 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic meet
docsdependenciesstructsconstsfunctions

dependencies 2 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_meet_intake_gate.nx

imports: nx_gate_gn.nxnx_syscalls.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 sys_execve sys_exit sys_wait4 gwrite sys_openat_wr ↻ sys_write ↻ sys_close sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ↻ sys_exit ↻ gn gfind gslen ghas gfind ↻

structs

none

consts

none

functions

10func 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
11func gslen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: gfind
12func gfind(hay: *u8, hl: i64, needle: *u8) -> i64
called by 2: ghasmain calls 1: gslen
18func 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
19func gwrite(path: *u8, s: *u8) -> i64
25func spawn(path: *u8, a0: *u8, a1: *u8, redir: *u8) -> i64
46func main() -> i64