nx_tea_pinned_gate.nx
buildroot/runtime/nx_tea_pinned_gate.nx
about
nx_tea_pinned_gate.nx -- proves fixed-arg (pinned) execution: a GREEN row's 4th field pins argv and IGNORES the
caller's args (so exposing a multi-sub control binary can't be escalated to another sub), while a row WITHOUT a
4th field still uses the caller's args (backward compat). Uses the argecho witness (echoes its argv). PREREQ:
_offc/nx_tool_argecho.elf. license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_tool_exec_allow.nxnx_gate.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
| 8 | func pg_write(path: *u8, content: *u8) -> i64 called by 1: main |
| 15 | func pg_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 |
| 16 | func pg_expect(cond: i64, pass: *i64, tot: *i64, label: *u8) -> i64 |
| 23 | func main() -> i64 |