hyperlight-dev / hyperlight-dev/hyperlight

Check stack frames are correctly cleared when `hlt` is called

オープン
#1,074 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/security lifecycle/confirmed
主要言語
Rust
スター
4.7k
フォーク
208
平均マージ
1日 7時間
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。