code wiki / _hdl_build / nx_routeguard_gate.nx

nx_routeguard_gate.nx

buildroot/runtime/_hdl_build/nx_routeguard_gate.nx

5225 B103 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_routeguard_gate.nx -- proves the deploy-contract guard DETECTS a vanished route and does NOT cry wolf on a legitimate feature deploy. Synthetic images, so the answer is known by construction. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_routeguard_lib.nx nx_gate.nx nx_routeguard_gate.nx

imports: nx_routeguard_lib.nxnx_gate.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write rgg_len rg_extract rg_isroute_ch rg_seen rg_missing rg_contains rg_isroute_ch ↻ rgg_num

structs

none

consts

none

functions

7func rgg_num(v: i64) -> i64
called by 1: main
20func rgg_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
22func main() -> i64