发明名称 METHOD AND APPARATUS FOR PREVENTING APPLICATION FROM BEING DECIPHERED
摘要 The present application discloses a method and apparatus for preventing an application from being deciphered. An embodiment of the method includes: obtaining first virtual machine instructions corresponding to the application and to be parsed by a first virtual machine; selecting a portion of the first virtual machine instructions, and converting the portion of the first virtual machine instructions into second virtual machine instructions to be parsed by a second virtual machine; and generating an executable file corresponding to the application based on unconverted first virtual machine instructions in the first virtual machine instructions and on the second virtual machine instructions. Thus, even though a deciphering program extracts the virtual machine instructions corresponding to the source code of the application in its entirety from the memory, the first virtual machine instructions and the second virtual machine instructions cannot be distinguished, such that the deciphering program cannot recover the source code based on the obtained virtual machine instructions, and thus the application is prevented from being deciphered.
申请公布号 US2017124306(A1) 申请公布日期 2017.05.04
申请号 US201615239109 申请日期 2016.08.17
申请人 Baidu Online Network Technology (Beijing) Co., Ltd. 发明人 WANG Guiming;BAO Chenfu
分类号 G06F21/14;G06F9/445;G06F9/45 主分类号 G06F21/14
代理机构 代理人
主权项 1. A method for preventing an application from being deciphered, the method comprising: obtaining first virtual machine instructions corresponding to the application and to be parsed by a first virtual machine, the first virtual machine instructions being generated by compiling source code of the application, and the first virtual machine being a virtual machine parsing the first virtual machine instructions to generate machine instructions; selecting a portion of the first virtual machine instructions, and converting the portion of the first virtual machine instructions into second virtual machine instructions to be parsed by a second virtual machine, the second virtual machine being a virtual machine parsing the second virtual machine instructions to generate machine instructions; and generating an executable file corresponding to the application based on unconverted first virtual machine instructions in the first virtual machine instructions and the second virtual machine instructions, such that when the executable file is executed, the first virtual machine and the second virtual machine execute the unconverted first virtual machine instructions and the second virtual machine instructions, respectively.
地址 Beijing CN