You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement canary-based stack overflow detection for hart coroutines
to catch stack corruption before it leads to undefined behavior.
The canary is placed at the bottom of the stack buffer itself (not in
the coro_t structure), so actual stack overflow will corrupt it and
trigger detection.
The implementation provides immediate detection of stack corruption
with minimal performance cost. Validated with Linux boot test and
unit tests confirming canary is in the actual stack buffer.
0 commit comments