hyperlight-dev / hyperlight-dev/hyperlight

Review unsafe scopes

Offen
#313 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area/security lifecycle/confirmed
Vorherrschende Sprache
Rust
Sterne
4.7k
Forks
208
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
47

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.