Virtual eXecutable Archive
A Virtual eXecutable Archive packages decoding programs with encoded content for execution in a specified virtual environment.
The FAST 2005 prototype used restricted x86-32 decoders. Its goal was future access to compressed information, not preservation of every application's semantics. [1]
Archived decoders are ordinary 32-bit x86 programs that run in a sandbox with no access to host operating system services. Under the prototype extractor they could make only five virtual system calls: read, write, exit, setperm for heap allocation, and done to signal the end of one stream. [1]
A later description of the sandbox gives the archiver a minimal interface of read, write, exit and sbrk, which isolates decoders from the host system call interface so that archives stay portable across operating systems and their versions. Non-deterministic 387 floating-point instructions are disabled so that a decoder produces identical output on every processor. [3]
The virtualization cost was typically less than 15% compared with native decoders, and archived decoders were typically 30 to 130 KB each, shared by all files that use the same compression method. On four test architectures the sandboxed decoders ran within 30% of native performance. [1] [3]
Relations
Advantages
- Existing hand-optimized decoders written in C and assembly language can be archived without rewriting them for a new virtual instruction set. [1]
Limitations
- Reading such archives on a host without native x86 support requires instruction set emulation or binary translation, which is many times slower or hard to implement. [1]
Citations
- Bryan Ford: VXA: A Virtual Architecture for Durable Compressed Archives, FAST 2005, sections 2, 4 and 5
- Ford and Cox. Vx32: Lightweight User-level Sandboxing on the x86. USENIX ATC 2008, sections 3 and 5.1
Further reading
Sources & caveats
- Historical architecture, not a current security endorsement.
- vxa-paper, the FAST 2005 paper by Bryan Ford (MIT), was reread in sections 2, 4 and 5 on the access date.
- vx32 is the USENIX ATC 2008 paper by Bryan Ford and Russ Cox (MIT), read in sections 1, 3 and 5.1.
- Five virtual system calls, 15% and 30 to 130 KB come from vxa-paper. read, write, exit and sbrk, the 387 restriction, four architectures and 30% come from vx32.