首页 | 官方网站   微博 | 高级检索  
     


Static virtualization of C source code
Authors:Sam Jansen  Anthony McGregor
Affiliation:Department of Computer Science, University of Waikato, Private Bag 3105, Hamilton, New Zealand
Abstract:Many existing systems are written in C and are not re‐entrant or thread safe. Sometimes these systems are required in a context for which they were not first designed, possibly meaning they now need to be re‐entrant. This article introduces a program that filters C source code, modifying shared resources (the global variables) to make the code re‐entrant: ‘virtualizing’ the code. The code is then compiled as normal. This approach allows programmatic virtualization with little cost at runtime. Copyright © 2007 John Wiley & Sons, Ltd.
Keywords:virtualization  C  parsing  static  source
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号