hyperlight-dev / hyperlight-dev/hyperlight
Load the guest binary once and map into each Sandbox read-only
- Lenguaje dominante
- Rust
- Estrellas
- 4.7k
- Forks
- 208
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 48
Descripción
Each time a sandbox is created we allocate memory for the guest binary and then copy the binary into memory. It should be possible to do this once and then map that memory from the host into each Sandbox.
We will need to do more parsing of the guest binary that at present to take account of writeable sections of the binary , for example relocations will need to be provided for each sandbox if and when we have variable load addresses. Any writeable state in the binary will need to also be taken account of (maybe by implementing COW in the guest).
Guía de contribución
Línea de trabajo
Empieza siguiendo la creación del sandbox para encontrar dónde se asigna el binario invitado y se copia en la memoria. Después, inspecciona el análisis existente del binario invitado, las secciones escribibles, las reubicaciones y el comportamiento de mapeo del sandbox; se considera terminado cuando el binario se carga una sola vez, se mapea como de solo lectura en cada Sandbox y se contabiliza cualquier estado escribible por sandbox.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- operating-systems
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100