code wiki / _hdl_build / nx_recycler_assess.nx

nx_recycler_assess.nx

buildroot/runtime/_hdl_build/nx_recycler_assess.nx

8991 B111 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic recycler
docsdependenciesstructsconstsfunctions

about

nx_recycler_assess.nx -- Analyzes external bug reports to identify applicable security issues and generates hardening gates for Nishi systems.

dependencies 2 imports · 0 importers

nx_gate_gn.nx nx_syscalls.nx nx_recycler_assess.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 sys_mmap have_file sys_openat_rd sys_close streq gn has_sub slen slen ↻ sys_exit

structs

none

consts

none

functions

15func 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
16func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 2: has_submain
17func has_sub(hay: *u8, needle: *u8) -> i64
called by 1: main calls 1: slen
23func have_file(path: *u8) -> i64 { let fd: i64=sys_openat_rd(path); if fd<0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
24func streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8){ if a[i]!=b[i]{return 0} i=i+1 } if b[i]!=(0 as u8){return 0} return 1 }
called by 1: main
26func main() -> i64