hyperlight-dev / hyperlight-dev/hyperlight
Check stack frames are correctly cleared when `hlt` is called
未关闭
area/security
lifecycle/confirmed
- 主要语言
- Rust
- 星标
- 4.7k
- 派生
- 208
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 47
描述
We should ensure that the call to `hlt` instruction is only made after everything has been torn down so we do not leak anything.
An idea of how to implement such a fix can be found at [PR comment](https://github.com/hyperlight-dev/hyperlight/pull/1072#issuecomment-3609786020).
Which basically says we should use minimal `assembly` that only calls a rust function and then runs `hlt`, which ensures anything has been torn down before calling `hlt`
贡献指南
评估
这个 Issue 还没有评估数据。