fortanix / rust-sgx

The Fortanix Rust Enclave Development Platform
https://edp.fortanix.com
Mozilla Public License 2.0
444 stars 99 forks source link

Userspace heap allocation #12

Open jethrogb opened 6 years ago

jethrogb commented 6 years ago

Currently, UserBox allocates its own memory from userspace using the alloc/free usercalls. This is inefficient. Instead, there could be an allocator that uses alloc once (or as needed) to hand out allocations. Care needs to be taken to avoid storing allocation metadata in userspace.

raoulstrackx commented 1 year ago

Relates to #450