VX32
From Wikipedia, the free encyclopedia
The VX32 virtual extension environment is an application-level virtual machine implemented as an ordinary user-mode library and designed to run native x86 code. Applications can link with and use VX32 in order to create safe, OS-independent execution environments, in which to run untrusted plug-ins or other extensions written in any language that compiles to x86 code.
From the host processor's viewpoint, plug-ins running under the VX32 virtual machine monitor run in the context of the application process itself, but the VX32 library uses dynamic recompilation to prevent the "guest" plug-in code from accessing memory or jumping to instructions outside its designated sandbox. The VX32 library redirects any system calls the plug-in makes to the application itself rather than to the host operating system, thereby giving the application exclusive control over the API and security environment in which the plug-in code executes.
VX32 thus provides an application extension facility comparable in function to the Java virtual machine or the Common Language Runtime, but with less overhead and with the ability to run code written in any language, safe or unsafe. VX32's primary disadvantage is that it is more difficult to make it run on non-x86 host processors.