发明名称 Executing native-code applications in a browser
摘要 Techniques for leveraging legacy code to deploy native-code desktop applications over a network (e.g., the Web) are described herein. These techniques include executing an application written in native code within a memory region that hardware of a computing device enforces. For instance, page-protection hardware (e.g., a memory management unit) or segmentation hardware may protect this region of memory in which the application executes. The techniques may also provide a narrow system call interface out of this memory region by dynamically enforcing system calls made by the application. Furthermore, these techniques may enable a browser of the computing device to function as an operating system for the native-code application. These techniques thus allow for execution of native-code applications on a browser of a computing device and, hence, over the Web in a resource-efficient manner and without sacrificing security of the computing device.
申请公布号 US9588803(B2) 申请公布日期 2017.03.07
申请号 US200912463892 申请日期 2009.05.11
申请人 Microsoft Technology Licensing, LLC 发明人 Howell Jonathan R.;Lorch Jacob R.;Elson Jeremy E.;Douceur John R.
分类号 G06Q99/00;G06F9/46;G06Q20/12;G06F21/53 主分类号 G06Q99/00
代理机构 代理人 Corie Alin;Swain Sandy;Minhas Micky
主权项 1. A method comprising: sending a request to execute an application comprising native code from a computing device; responsive at least in part to the sending of the request, receiving the native code of the application at the computing device; assigning, by a monitor process, a portion of memory of the computing device to the application comprising the native code, the portion of the memory being enforced by hardware of the computing device; making an operating system (OS)-specific kernel call that revokes an ability of the application to communicate kernel calls to an OS by causing an OS kernel to transfer control of intercepting kernel calls to the monitor process; executing the native code of the application within the portion of the memory being enforced by the hardware; within the portion of the memory being enforced by the hardware, translating OS-independent calls from the executing application to OS-specific calls based on a table of function pointers and calling conventions for corresponding functions; and monitoring, by the monitor process, calls made by the application for system services outside of the portion of the memory being enforced by the hardware to determine whether the respective calls are permissible.
地址 Redmond WA US