{"title":"二值翻译中基于语义树融合的标志仿真策略","authors":"Xiaonan Liu, Rongcai Zhao, J. Pang, Meijuan Yin, Lili Bai, Wuping Chen","doi":"10.1109/FSKD.2013.6816355","DOIUrl":null,"url":null,"abstract":"Binary translation is the emulation of one instruction set by another through translation of code. Sequences of instructions are translated from the source to the target instruction set. The semantic equivalence conversion of instructions is the core of a binary translation system. In order to simulate the behavior of a program on the target platform more accurately, the change of the special state register must be exactly simulated. A flag register simulation strategy based on fusion of semantic trees is presented in this paper. First, it is determined whether the instructions meet some special conditions by the relations among instruction semantic trees. Then these instructions will be fused if the conditions are met. Finally, binary translation is carried out on the fused instructions. The experimental results show that the proposed binary translation strategy is effective. The strategy can not only reduce the problem of code inflation, but also improve the execution efficiency of the translated code.","PeriodicalId":368964,"journal":{"name":"2013 10th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD)","volume":"188 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A flag simulation strategy based on fusion of semantic trees in binary translation\",\"authors\":\"Xiaonan Liu, Rongcai Zhao, J. Pang, Meijuan Yin, Lili Bai, Wuping Chen\",\"doi\":\"10.1109/FSKD.2013.6816355\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Binary translation is the emulation of one instruction set by another through translation of code. Sequences of instructions are translated from the source to the target instruction set. The semantic equivalence conversion of instructions is the core of a binary translation system. In order to simulate the behavior of a program on the target platform more accurately, the change of the special state register must be exactly simulated. A flag register simulation strategy based on fusion of semantic trees is presented in this paper. First, it is determined whether the instructions meet some special conditions by the relations among instruction semantic trees. Then these instructions will be fused if the conditions are met. Finally, binary translation is carried out on the fused instructions. The experimental results show that the proposed binary translation strategy is effective. The strategy can not only reduce the problem of code inflation, but also improve the execution efficiency of the translated code.\",\"PeriodicalId\":368964,\"journal\":{\"name\":\"2013 10th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD)\",\"volume\":\"188 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-07-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 10th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/FSKD.2013.6816355\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 10th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/FSKD.2013.6816355","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A flag simulation strategy based on fusion of semantic trees in binary translation
Binary translation is the emulation of one instruction set by another through translation of code. Sequences of instructions are translated from the source to the target instruction set. The semantic equivalence conversion of instructions is the core of a binary translation system. In order to simulate the behavior of a program on the target platform more accurately, the change of the special state register must be exactly simulated. A flag register simulation strategy based on fusion of semantic trees is presented in this paper. First, it is determined whether the instructions meet some special conditions by the relations among instruction semantic trees. Then these instructions will be fused if the conditions are met. Finally, binary translation is carried out on the fused instructions. The experimental results show that the proposed binary translation strategy is effective. The strategy can not only reduce the problem of code inflation, but also improve the execution efficiency of the translated code.