A metric model based on llvm intermediate representation program slicing
A technology of program slicing and intermediate representation, which is applied in the field of computer programs, can solve problems such as poor versatility, and achieve the effects of improving versatility, accurate measurement results, and fine-grained analysis
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0051] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0052] figure 1 It is a flowchart of a construction method of an embodiment of a metric model based on LLVM intermediate representation program slices in the present invention. Such as figure 1 Shown, this embodiment method comprises the following steps:
[0053] Step (1) convert the source program into the corresponding LLVM IR language through the command line of LLVM;
[0054] Step (2) constructing a system dependency graph with LLVM IR to obtain corresponding program slices;
[0055] Step (3) Obtain the instruction corresponding to the output variable of the source program and the information of the instruction set, program operator and operand, that is: obtain the module of each module in the program according to the result of program slicing and the LLVM IR statement obtained from the conversion of the source program Size, the number of output varia...
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