hyperlight-dev / hyperlight-dev/hyperlight

Review unsafe scopes

未关闭
#313 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/security lifecycle/confirmed
主要语言
Rust
星标
4.7k
派生
208
平均合并
1 天 7 小时
30 天内合并 PR
47

描述

In general the use of unsafe should be limited to blocks where unsafe code is used , with the exception that public functions that dereference raw pointer arguments should be marked as unsafe see [here](https://rust-lang.github.io/rust-clippy/master/index.html#/not_unsafe_ptr_arg_deref).

We need to review the code base to use the smallest possible scopes.

This can be split into multiple smaller issues to address specific parts of the codebase.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。