- Avoid proper function calls and referencing local variables after
the stack has been deallocated. A proper function call/return or local
variable reference that may have spilled will cause invalid memory
reads after the stack has been deallocated.
- Mark the function as [[noreturn]] and place
__builtin_unreachable() after the SYS_exit syscalls.