Code compiling method and device
A compiling method and code technology, applied in the direction of code compiling, program code conversion, program control device, etc., can solve the problem of user security not being guaranteed, and achieve the effect of security guarantee and security improvement
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0028] see figure 1 , the embodiment of the present application provides an electronic device 10 , and the electronic device 10 may include: a memory 11 , a communication module 12 , a bus 13 and a processor 14 . The processor 14 , the communication module 12 and the memory 11 are connected through the bus 13 . The processor 14 is used to execute executable modules, such as computer programs, stored in the memory 11 . figure 1 The illustrated components and structures of the electronic device 10 are exemplary and not limiting, and the electronic device 10 may also have other components and structures as desired.
[0029] The memory 11 may include a high-speed random access memory (Random Access Memory RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. In this embodiment, the memory 11 stores programs required to execute the code compilation method.
[0030] The bus 13 may be an ISA bus, a PCI bus, an EISA bus, or the li...
no. 2 example
[0034] This embodiment provides a method for compiling code. It should be noted that the steps shown in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer-executable instructions, and although shown in the flowchart A logical order is presented, but in some cases steps shown or described may be performed in an order different from that herein. This embodiment will be described in detail below.
[0035] see figure 2 In a code compiling method provided in this embodiment, the code encryption compiling method includes: step S100, step S200, step S300 and step S400.
[0036] Step S100: Obtain the Java bytecode to be compiled in the Java class file.
[0037] Step S200: Compile the Java bytecode to be compiled into an intermediate expression to be compiled.
[0038] Step S300: Obtain an analysis result according to the analysis of the intermediate expression to be compiled.
[0039] Step S400: Compile the multiple lines of ...
no. 3 example
[0064] see image 3 , the embodiment of the present application provides a code compiling device 100, the code compiling device 100 is applied to electronic equipment, and the code compiling device 100 includes:
[0065] Obtaining module 110, configured to obtain the Java bytecode to be compiled in the Java class file.
[0066] The first compilation module 120 is configured to compile the to-be-compiled Java bytecode into a to-be-compiled intermediate expression.
[0067] The analysis module 130 is configured to obtain an analysis result according to the analysis of the intermediate expression to be compiled.
[0068] The second compiling module 140 is configured to compile the multiple lines of codes in the intermediate expression to be compiled into one-to-one corresponding multiple lines of CPP codes line by line according to the analysis result.
[0069] A generating module 150, configured to generate a library file according to the multi-line CPP code.
[0070] An index ...
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