code wiki / _hdl_build / nx_pub_drain_diag.nx

nx_pub_drain_diag.nx

buildroot/runtime/_hdl_build/nx_pub_drain_diag.nx

6207 B88 linesdepth 6pulls 13 transitivereach 0 importersview sourcekind tooltopic pub
docsdependenciesstructsconstsfunctions

dependencies 4 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_publisher.nx nx_runpath.nx nx_pub_drain_diag.nx

imports: nx_gate_gn.nxnx_syscalls.nxnx_publisher.nxnx_runpath.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 sys_mmap rp_wsid sys_openat_rd sys_mmap ↻ sys_read sys_close rp_match rp_ensure sys_mmap ↻ rp_path dmk djoin sys_mmap ↻ pub_join pub_pcat dwrite sys_openat_wr sys_write ↻ sys_close ↻ dunlink pub_submit_to sys_mmap ↻ pub_sha_file sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read ↻ sys_close ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks

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 dmk(p: *u8) -> i64 { __syscall(83, p as i64, 493, 0, 0, 0, 0); return 0 }
called by 1: main
13func djoin(d: *u8, name: *u8) -> *u8 { let p: *u8 = sys_mmap(700); pub_join(d, name, p); return p }
called by 1: main calls 2: sys_mmappub_join
14func dwrite(path: *u8, content: *u8) -> i64 { let fd: i64 = sys_openat_wr(path, 0x1a4); if fd<0 { return 0 } var n: i64=0; while content[n]!=(0 as u8){n=n+1} sys_write(fd, content, n); sys_close(fd); return 1 }
17func main() -> i64