hyperlight-dev / hyperlight-dev/hyperlight
Review unsafe scopes
Open
area/security
lifecycle/confirmed
- Dominant language
- Rust
- Stars
- 4.7k
- Forks
- 208
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 47
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.