This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lucet-runtime-internals] terminate the stack correctly
This places the pointers to the parent and child contexts _above_ the two zero words used to terminate the call stack. This is the location where memory arguments are expected, which isn't completely relevant since `lucet_context_backstop` is written in assembly, but it at least prevents gdb and other unwinding tools from mistaking the pointers for return addresses.
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters