Encoding and decoding method and device for virtual machine command, and virtual machine protection system
A technology of instruction encoding and virtual machine, which is applied in the field of software security, can solve the problems of ineffective instruction protection, etc., and achieve the effects of increasing the difficulty of decompilation, improving security, and improving protection accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] According to the embodiment of the present application, an embodiment of a method for encoding virtual machine instructions is also provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions , and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0041] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a computer terminal as an example, figure 1 It is a hardware structural block diagram of a computer terminal according to a method for encoding virtual machine instructions in an embodiment of the present application. Such as figure 1 As shown, the computer terminal 10 may include one or more (onl...
Embodiment 2
[0060] According to the embodiment of the present application, there is also provided a device for implementing the encoding method of the above-mentioned virtual machine instruction, which can run on the computer terminal described in Embodiment 1. Optionally, in this embodiment, the above-mentioned The computer terminal can also be replaced by terminal equipment such as a mobile terminal. Figure 5 It is a structural block diagram of an optional virtual machine instruction encoding device according to an embodiment of the present application. Such as Figure 5 As shown, the device includes: a modification module 50 and an instruction generation module 52, wherein:
[0061] The modification module 50 is used to randomly modify the instruction encoding format of the above-mentioned virtual machine instructions for the virtual machine instructions of the above-mentioned program to be compiled when the program to be compiled is compiled; optionally, the modification module 50 r...
Embodiment 3
[0066] According to the embodiment of the present application, a decoding method of a virtual machine instruction is also provided, the decoding method corresponds to the encoding schemes in Embodiments 1 and 2, and it can also be applied to the computer terminal described in Embodiment 1. Optionally, in this embodiment, the aforementioned computer terminal may also be replaced with a terminal device such as a mobile terminal. Such as Figure 7 As shown, the method includes:
[0067] Step S702, when loading the virtual machine instruction of the program to be compiled, obtain the instruction information of the above virtual machine instruction, wherein the above instruction information is used to instruct random modification of the instruction encoding format of the above virtual machine instruction; optionally, the randomly modified above The instruction encoding format of the virtual machine instruction refers to: the value of the opcode in the above virtual machine instruc...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com