nx_tool_argecho.nx
buildroot/runtime/nx_tool_argecho.nx
about
nx_tool_argecho.nx -- the multi-arg WITNESS organ for the executable API. Where nx_tool_ping proves an
argless organ forks+captures, this one proves a FULL argv vector reaches the child: it echoes a fixed
sentinel then each of its argv[1..] on its own line, and exits 0. Zero side effects (no files, no network)
-- the SAFE tool to allowlist for proving that /mcp tools/call now passes params.arguments.argv through to
the organ as real argv (the arg-passing exceed that makes multi-arg organs, e.g. nx_mgmt_client, callable).
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func ae_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: main |
| 11 | func main(argc: i64, argv: *i64) -> i64 |