nx_probe_crashstk_live.nx
buildroot/runtime/nx_probe_crashstk_live.nx
about
nx_probe_crashstk_live.nx -- WITNESS: a STACK-OVERFLOW crash under the guard must still print
the diagnostic (proves the alternate signal stack works -- without sigaltstack the handler
frame cannot be pushed and the process dies silently) and still die by the original signal.
The recursion is deliberately NOT a tail call (the add uses the recursive result) so the
frames genuinely accumulate. The gate asserts: exit 139 AND stderr contains "the program
crashed" (fault address is the guard page -- not assertable exactly, unlike the null probe).
dependencies 1 imports · 0 importers
imports: nx_crash.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 crashstk_rec(n: i64) -> i64 |
| 14 | func main(argc: i64, argv: *u8) -> i64 |