hyperlight-dev / hyperlight-dev/hyperlight

Review unsafe scopes

Open
#313 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.