code wiki / _hdl_build / nx_pub_drain_diag.nx

nx_pub_drain_diag.nx

buildroot/runtime/_hdl_build/nx_pub_drain_diag.nx

6340 B89 linesdepth 6pulls 13 transitivereach 0 importersview sourcekind tooltopic pub
docsdependenciesstructsconstsfunctions

about

nx_pub_drain_diag.nx -- Identifies the cause of a crash in the pub_run_governed function by testing different configuration axes.

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 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 ↻ 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

structs

none

consts

none

functions

12func 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
13func dmk(p: *u8) -> i64 { __syscall(83, p as i64, 493, 0, 0, 0, 0); return 0 }
called by 1: main
14func 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
15func 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 }
18func main() -> i64