hyperlight-dev / hyperlight-dev/hyperlight
Review unsafe scopes
Aperta
area/security
lifecycle/confirmed
- Lingua principale
- Rust
- Stelle
- 4.7k
- Fork
- 208
- Merge medio
- 1g 7h
- PR unite (30g)
- 47
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.