MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / stack_overflow

Function stack_overflow

kernel/tests/stack_overflow.rs:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20#[allow(unconditional_recursion)]
21fn stack_overflow() {
22 stack_overflow(); // for each recursion, the return address is pushed
23 volatile::Volatile::new(0).read(); // prevent tail recursion optimizations
24}
25
26use core::panic::PanicInfo;
27

Callers 1

_startFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected