3 ms·
CHERI is primarily targeted at providing safety for codebases that would benefit from moving spatial safety into hardware. Since most C(++) code has none of the
by saagarjha 3y ago
CHERI is primarily targeted at providing safety for codebases that would benefit from moving spatial safety into hardware. Since most C(++) code has none of these checks at all, using CHERI allows you to retrofit the code to make it more secure. Rust and other safe languages currently reliably emit these checks in software which means it’s not as necessary for a hardware implementation of these things, but such code running in these systems could drop some of the software checks and rely on the CHERI primitives instead.
- __s 3y agoRust would still benefit from this with unsafe code. & on that front they need to do some changes since Rust code assumes pointers can be converted to/from usize/isize https://faultlore.com/blah/fix-rust-pointers https://faultlore.com/blah/fix-rust-pointers
- IshKebab 3y agoPart of CHERI can also be used for software compartmentalisation which Rust has no support for.