• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Wang Jun, Pang Jianmin, Fu Liguo, Yue Feng, Zhang Jiahao. An Efficient Feedback Static Binary Translator for Solving Indirect Branch[J]. Journal of Computer Research and Development, 2019, 56(4): 742-754. DOI: 10.7544/issn1000-1239.2019.20170412
Citation: Wang Jun, Pang Jianmin, Fu Liguo, Yue Feng, Zhang Jiahao. An Efficient Feedback Static Binary Translator for Solving Indirect Branch[J]. Journal of Computer Research and Development, 2019, 56(4): 742-754. DOI: 10.7544/issn1000-1239.2019.20170412

An Efficient Feedback Static Binary Translator for Solving Indirect Branch

More Information
  • Published Date: March 31, 2019
  • In order to solve the problem of indirect branch efficiently in static binary translation, a feedback static binary translation method is proposed, with two-level address mapping table to realize the fast mapping of indirect branch target address. This method can solve the problem of less code optimization and more redundant code in existing linear traversal translation. Firstly, the two-level address mapping table is used to address the code location quickly, using array address to store the target platform code block address in the order of the source platform base block start address and using array index to save the index position of the basic block start address in array address. Then, the monitoring feedback mechanism is added to the target executable program to carry on the code discovery, and the uncertain indirect branch target address would be returned so that the source code can be divided to new basic blocks and re-translated. The feedback static binary translation framework FD-QEMU is implemented based on QEMU(quick emulator), an open source binary translator. As the experimental results on SPEC2006 and NBENCH show, compared with QEMU, the speedup ratio of FD-SQEMU (feedback static QEMU) is 3.97 and 6.94 times on average; compared with SQEMU, a static translator with all instructions’ address mapping originally proposed by our group, the average acceleration ratio of FD-SQEMU is 1.18 times, and the maximum speedup ratio is 1.36 times, which verifies the effectiveness of the framework and method proposed in this paper.
  • Related Articles

    [1]Fu Liguo, Pang Jianmin, Wang Jun, Zhang Jiahao, Yue Feng. Formal Model of Correctness and Optimization on Binary Translation[J]. Journal of Computer Research and Development, 2019, 56(9): 2001-2011. DOI: 10.7544/issn1000-1239.2019.20180513
    [2]Fu Liguo, Pang Janming, Wang Jun, Zhang Jiahao, Yue Feng. Optimization of Library Function Disposing in Dynamic Binary Translation[J]. Journal of Computer Research and Development, 2019, 56(8): 1783-1791. DOI: 10.7544/issn1000-1239.2019.20170871
    [3]Wang Jun, Pang Jianmin, Fu Liguo, Yue Feng, Shan Zheng, Zhang Jiahao. A Dynamic and Static Combined Register Mapping Method in Binary Translation[J]. Journal of Computer Research and Development, 2019, 56(4): 708-718. DOI: 10.7544/issn1000-1239.2019.20170905
    [4]Tan Jie, Pang Jianmin, Shan Zheng, Yue Feng, Lu Shuaibing, Dai Tao. Redundant Instruction Optimization Algorithm in Binary Translation[J]. Journal of Computer Research and Development, 2017, 54(9): 1931-1944. DOI: 10.7544/issn1000-1239.2017.20151110
    [5]Li Zhanhui, Liu Chang, Meng Jianyi, Yan Xiaolang. Cache Load Balancing Oriented Dynamic Binary Translation[J]. Journal of Computer Research and Development, 2015, 52(9): 2105-2113. DOI: 10.7544/issn1000-1239.2015.20140220
    [6]Jia Ning, Yang Chun, Tong Dong, and Wang Keyi. Correlated Software Prediction for Indirect Branch in Dynamic Translation Systems[J]. Journal of Computer Research and Development, 2014, 51(3): 661-671.
    [7]Chen Long, Wu Chenggang, Xie Haibin, Cui Huimin, Zhang Zhaoqing. Using Graph Match Method to Resolve Multi-Way Branch in Binary Translation[J]. Journal of Computer Research and Development, 2008, 45(10): 1789-1798.
    [8]Xie Haibin, Wu Chenggang, Cui Huimin, Li Jing. Disposing X86 FPU Stack in Binary Translation[J]. Journal of Computer Research and Development, 2007, 44(11): 1946-1954.
    [9]Li Jianhui, Ma Xiangning, Zhu Chuanqi. Dynamic Binary Translation and Optimization[J]. Journal of Computer Research and Development, 2007, 44(1): 161-168.
    [10]Tang Feng, Wu Chenggang, Zhang Zhaoqing, Yang Hao. Exception Handling in Application Level Binary Translation[J]. Journal of Computer Research and Development, 2006, 43(12): 2166-2173.
  • Cited by

    Periodical cited type(3)

    1. 谢汶兵,田雪,漆锋滨,武成岗,王俊,罗巧玲. 二进制翻译技术综述. 软件学报. 2024(06): 2687-2723 .
    2. 王鹃,王蕴茹,翁斌,龚家新. 机器学习在x86二进制反汇编中的应用研究综述. 信息网络安全. 2022(06): 9-25 .
    3. 何春燕. 不同语义认知视角下交互式智能翻译方法研究. 宿州学院学报. 2021(01): 52-56+76 .

    Other cited types(1)

Catalog

    Article views (972) PDF downloads (357) Cited by(4)

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return