首页>
外国专利>
Method and apparatus for performing a combination of native code and object code during program code conversion
Method and apparatus for performing a combination of native code and object code during program code conversion
展开▼
机译:在程序代码转换期间执行本机代码和目标代码的组合的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
In program code conversion, particularly dynamic binary translation, subject code 17 is translated into target code 21 through a translator 19 for execution on a target processor 13. Selected portions of subject code, such as library functions SFuncA 172, are replaced by instead executing a portion of native code such as a native function NFuncA 282. The native function is native to the target processor 13. The method further includes executing a subject code portion such as a subject function SFuncB 173 in place of a native code portion such library function NFuncB 283. This reverse binding technique substitutes subject code for selected portions of the native code, particularly native library functions in order to keep control within the translator 19. This helps to maintain an accurate subject state in the translator 19, amongst other advantages.
展开▼