• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
高级检索

动态二进制翻译中库函数处理的优化

傅立国, 庞建民, 王军, 张家豪, 岳峰

傅立国, 庞建民, 王军, 张家豪, 岳峰. 动态二进制翻译中库函数处理的优化[J]. 计算机研究与发展, 2019, 56(8): 1783-1791. DOI: 10.7544/issn1000-1239.2019.20170871
引用本文: 傅立国, 庞建民, 王军, 张家豪, 岳峰. 动态二进制翻译中库函数处理的优化[J]. 计算机研究与发展, 2019, 56(8): 1783-1791. DOI: 10.7544/issn1000-1239.2019.20170871
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
Citation: 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

动态二进制翻译中库函数处理的优化

基金项目: 国家自然科学基金项目(61472447)
详细信息
  • 中图分类号: TP314

Optimization of Library Function Disposing in Dynamic Binary Translation

  • 摘要: 在无源跨平台移植的研究中,效率是制约动态二进制翻译技术发展的主要瓶颈.使用本地函数封装替换的翻译处理方式可以有效提高二进制翻译的性能.然而在实际应用中,随着源程序中库函数调用次数或者翻译器支持库函数数量的增长,库函数处理过程的无用查询开销随之增长,减弱了该方法的优化效果.针对此类问题,结合动态二进制库函数处理过程内在动静结合的性质,提出了将查询信息静态预处理,使用散列函数实现查询过程的优化方法,实现了源程序中库函数地址到相对应处理函数的快速映射,降低了查询开销.基于动态二进制翻译器QEMU实现并测试了优化方法,通过实验验证了该方法降低库函数处理过程中查询开销的有效性.
    Abstract: In the research of cross-platform migration without source code, efficiency is the main bottleneck restricting the development of dynamic binary translation technology. Using the method of disposing the local function can effectively improve the performance of binary translation by jacketing and replacing. However, in practical applications, as the number of library function calls in the source program or the number of the library function supported by translators increasing, the benefit of using disposing the local function is on decrease. The querying useless overhead in library function disposing grows which weakens and reduces the optimization effect of the method of disposing the local function. In order to address this kind of problem, a method is proposed based on the properties combined with dynamic and static translation. It is based on the characteristic of dynamic binary translation and the using of disposing the local function. The overhead for the query decreases with the method by preprocessing the query table and realizing the query with Hash function. It can map the source program addresses to corresponding processing function rapidly. Realized on a dynamic translator QEMU, the optimization method is implemented and tested. Experiments verify the effectiveness of this method to reduce query overhead in the process of using disposing the local function with dynamic translation.
  • 期刊类型引用(7)

    1. 赵自强,李强,郭涛. 基于OSPF协议Hello报文隐蔽信道构建研究. 网络安全与数据治理. 2024(02): 16-22 . 百度学术
    2. 申国霞,常鑫. 基于可信密码模块的网络信道潜在攻击挖掘. 信息技术. 2023(10): 152-156+162 . 百度学术
    3. 戴睿,嵩天. 自适应伪随机序列混合网络隐蔽通道构建方法. 计算机工程与应用. 2021(17): 122-129 . 百度学术
    4. 袁智勇,钟章生. 无线光通信网络的最优信道选择方法研究. 激光杂志. 2021(11): 144-149 . 百度学术
    5. 沈国良,翟江涛,戴跃伟. 基于Markov模型的HTTP参数排序隐蔽信道检测方法. 计算机工程. 2020(02): 154-158+169 . 百度学术
    6. 沈艺敏,蒋小波. 基于SIR模型的隐蔽信道数据安全检测仿真. 计算机仿真. 2020(04): 385-388+445 . 百度学术
    7. 杨皓云,王俊峰,刘嘉勇,唐彰国. SSL协议隐蔽通道的研究与实现. 计算机工程与应用. 2020(20): 67-72 . 百度学术

    其他类型引用(6)

计量
  • 文章访问数:  927
  • HTML全文浏览量:  1
  • PDF下载量:  328
  • 被引次数: 13
出版历程
  • 发布日期:  2019-07-31

目录

    /

    返回文章
    返回