• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
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.
Citation: 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.

Exception Handling in Application Level Binary Translation

More Information
  • Published Date: December 14, 2006
  • Binary translation is applied for not only the legacy code porting but also software being used in different hardware platform. Exception handling is a most important aspect of binary translation research. How to balance the exception handling and the efficiency of binary translation is the key problem. Two methods to solve the active and passive exception handling in the library function jacket level are presented. One algorithm comes up to deal with efficienly the passive exception such as signal exception efficiently:if the exception handler doesn't use the machine state after exception happens, the translator doesn't preserve the precise machine state in every block. Thus, the cost for exception handling is low. For the Spec 2000 CPU ref input set, the cost, when the algorithm is applied to the translator, is an average 15.42 percent lower than the cost when the algorithm is not applied to the system. Another algorithm using emulated stack unwinding is submitted to find the calling address to help dealing with the active exception such as try catch exception in C++. The experiments prove the validity of the two ways of handling the exception. Adding the exception mechanics to the system doesn't decrease the performance of the common programs. These algorithms solve the exception handler in the application level program in binary translation quickly and correctly.
  • Related Articles

    [1]Chen Xingshu, Chen Jiaxin, Jin Xin, Ge Long. Process Abnormal Detection Based on System Call Vector Space in Cloud Computing Environments[J]. Journal of Computer Research and Development, 2019, 56(12): 2684-2693. DOI: 10.7544/issn1000-1239.2019.20180843
    [2]Lu Shuaibing, Zhang Ming, Lin Zhechao, Li Hu, Kuang Xiaohui, Zhao Gang. Dynamic Binary Translation and Instrumentation Based Function Call Tracing[J]. Journal of Computer Research and Development, 2019, 56(2): 421-430. DOI: 10.7544/issn1000-1239.2019.20170657
    [3]Xiang Yong, Cao Ruidong, Mao Yingming. QEMU-Based Dynamic Function Call Tracing[J]. Journal of Computer Research and Development, 2017, 54(7): 1569-1576. DOI: 10.7544/issn1000-1239.2017.20160094
    [4]Xiong Haiquan, Liu Zhiyong, Xu Weizhi, Tang Shibin, Fan Dongrui. Interception and Identification of Guest OS Non-trapping System Call Instruction within VMM[J]. Journal of Computer Research and Development, 2014, 51(10): 2348-2359. DOI: 10.7544/issn1000-1239.2014.20130612
    [5]Li Zhen, Tian Junfeng, and Yang Xiaohui. Program Behavior Monitoring Based on System Call Attributes[J]. Journal of Computer Research and Development, 2012, 49(8): 1676-1684.
    [6]Li Bo, Li Jianxin, Hu Chunming, Wo Tianyu, and Huai Jinpeng. Software Integrity Verification Based on VMM-Level System Call Analysis Technique[J]. Journal of Computer Research and Development, 2011, 48(8): 1438-1446.
    [7]Zhao Feng, Jin Hai, Jin Li, Yuan Pingpeng. VFRS: A Novel Approach for Intrusion Tolerance in Virtual Computing Environment[J]. Journal of Computer Research and Development, 2010, 47(3): 493-499.
    [8]Tian Xinguang, Gao Lizhi, Sun Chunlai, Zhang Eryang. Anomaly Detection of Program Behaviors Based on System Calls and Homogeneous Markov Chain Models[J]. Journal of Computer Research and Development, 2007, 44(9): 1538-1544.
    [9]Yang Hao, Tang Feng, Xie Haibin, Wu Chenggang, and Feng Xiaobing. Library Function Disposing Approach in Binary Translation[J]. Journal of Computer Research and Development, 2006, 43(12): 2174-2179.
    [10]Xiong Tinggang, Ma Zhong, Yuan Youguang. Research on Synchronization Technology of Fault-Tolerant Computer System Based on Operating System Calls[J]. Journal of Computer Research and Development, 2006, 43(11): 1985-1992.

Catalog

    Article views (722) PDF downloads (824) Cited by()

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return