发明名称 RUNTIME EMULATING STATIC THREAD LOCAL STORAGE OF PORTABLE EXECUTABLE SOFTWARE CODE
摘要 A computer readable storage medium containing a program which, when executed by a processor, performs an operation of emulating static thread local storage of an executable software code at runtime, is disclosed. The operation includes executing the executable software code within a process memory space. During the execution of the executable software code, an occurrence of an event that is associated with a thread create operation is monitored. When the monitored event occurs, a thread data block duplicate is established within the process memory space and associated with a thread created by the thread create operation. The thread data block duplicate is configured to be accessed by executing a thread local storage callback function.
申请公布号 US2016266945(A1) 申请公布日期 2016.09.15
申请号 US201615164653 申请日期 2016.05.25
申请人 VMware, Inc. 发明人 Clark Jonathan
分类号 G06F9/54;G06F9/445 主分类号 G06F9/54
代理机构 代理人
主权项 1. A method comprising: generating a thread data block duplicate having a predetermined size within an isolated process memory space, wherein the predetermined size is based on local storage block sizes calculated for one or more implicitly-referenced dynamic link libraries (DLLs) and the identified runtime to be loaded DLLs identified in portable executable software code; initializing an application for execution within the isolated process memory, wherein the application is associated with the portable executable software code; while the application is executing, generating one or more event notifications, wherein a first event notification is associated with a thread create call made by the application; in response to the first event notification, allocating the thread data block duplicate within the process memory space for access by a thread created by the thread create operation; and executing the thread, wherein executing the thread includes accessing the thread data block duplicate.
地址 Palo Alto CA US