Page 111 - 《软件学报》2024年第6期
P. 111

软件学报 ISSN 1000-9825, CODEN RUXUEW                                        E-mail: jos@iscas.ac.cn
                 Journal of Software,2024,35(6):2687−2723 [doi: 10.13328/j.cnki.jos.007099]  http://www.jos.org.cn
                 ©中国科学院软件研究所版权所有.                                                          Tel: +86-10-62562563



                                          *
                 二进制翻译技术综述

                 谢汶兵  1 ,    田    雪  1 ,    漆锋滨  2 ,    武成岗  3 ,    王    俊  1 ,    罗巧玲  1


                 1
                  (无锡先进技术研究院, 江苏 无锡 214083)
                 2
                  (国家并行计算机工程技术研究中心, 北京 100190)
                 3
                  (中国科学院 计算技术研究所, 北京 100190)
                 通信作者: 漆锋滨, E-mail: qifb116@sina.com

                 摘 要: 随着信息技术的快速发展, 涌现出各种新型处理器体系结构. 新的体系结构出现为处理器多样化发展带来
                 机遇的同时也提出了巨大挑战, 需要兼容运行已有软件, 确保较为丰富的软件生态群. 但要在短期内从源码编译构
                 建大量生态软件并非易事, 二进制翻译作为一种直接从二进制层面迁移可执行代码技术, 支持跨平台软件兼容运
                 typical  binary  translation  systems,  then  analyzes  and  summarizes  the  instruction  translation  methods,  key  issues,  and  optimization
                 行, 既扩大了软件生态群, 又有效降低了应用程序与硬件之间的耦合度. 近年来, 二进制翻译技术研究取得了较大
                 进展. 为总结现有成果并分析存在的不足, 首先介绍二进制翻译技术的分类以及典型的二进制翻译系统, 之后从指
                 令翻译方法、关键问题研究、优化技术等方面分别进行分析总结, 接着阐述二进制翻译技术的核心应用领域, 最
                 后对二进制翻译技术的潜在研究方向进行展望.
                 关键词: 二进制翻译; 翻译效率; 等价变换; 软件迁移; 多融合优化
                 中图法分类号: TP314


                 中文引用格式: 谢汶兵, 田雪, 漆锋滨, 武成岗, 王俊, 罗巧玲. 二进制翻译技术综述. 软件学报, 2024, 35(6): 2687–2723. http://www.
                 jos.org.cn/1000-9825/7099.htm
                 英文引用格式: Xie WB, Tian X, Qi FB, Wu CG, Wang J, Luo QL. Overview on Binary Translation Technology. Ruan Jian Xue
                 Bao/Journal of Software, 2024, 35(6): 2687–2723 (in Chinese). http://www.jos.org.cn/1000-9825/7099.htm
                 Overview on Binary Translation Technology
                                     1
                            1
                                                                        1
                                                              3
                                               2
                 XIE Wen-Bing , TIAN Xue , QI Feng-Bin , WU Cheng-Gang , WANG Jun , LUO Qiao-Ling 1
                 1
                 (Wuxi Institute of Advanced Technology, Wuxi 214083, China)
                 2
                 (National Research Center of Parallel Computer Engineering and Technology, Beijing 100190, China)
                 3
                 (Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China)
                 Abstract:  With  the  rapid  development  of  information  technology,  a  variety  of  new  processor  architectures  have  emerged.  The  emergence
                 of  new  architectures  brings  opportunities  for  the  diversification  of  processors  and  meanwhile  poses  great  challenges,  which  require  the
                 compatible  operation  of  existing  software  to  ensure  a  rich  software  ecosystem.  However,  it  is  difficult  to  compile  large  amounts  of
                 ecological  software  from  source  code  compilation  in  a  short  time.  As  a  technology  that  migrates  executable  code  directly  from  the  binary
                 level,  binary  translation  supports  cross-platform  software  compatible  operation,  which  not  only  expands  the  software  ecosystem  but  also
                 reduces  the  coupling  between  applications  and  hardware.  In  recent  years,  the  research  on  binary  translation  has  made  great  progress.  To
                 summarize  the  existing  achievements  and  shortcomings,  this  study  first  introduces  the  classification  of  binary  translation  technology  and
                 techniques,  and  expounds  on  the  core  application  fields  of  binary  translation  technology.  Finally,  a  prospect  is  provided  for  the  potential
                 research directions of binary translation technology.
                 Key words:  binary translation; translation efficiency; equivalency transformation; software migration; multi-fusion optimization


                 *    本文由“编译技术与编译器设计”专题特约编辑冯晓兵研究员、郝丹教授、高耀清博士、左志强副教授推荐.
                  收稿时间: 2023-09-11; 修改时间: 2023-10-30; 采用时间: 2023-12-14; jos 在线出版时间: 2024-01-05
                  CNKI 网络首发时间: 2024-03-29
   106   107   108   109   110   111   112   113   114   115   116