Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Parallel program analysis information extraction method and device

A technology of program analysis and information string, which is applied in the direction of program files, program code conversion, software engineering design, etc., can solve the problems of low efficiency of serial processing, achieve the effect of reducing data volume, high extraction efficiency, and reducing repeated information

Inactive Publication Date: 2018-05-15
CAPITAL NORMAL UNIVERSITY
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for parallel extraction of program analysis information to solve the problem of low efficiency of line-by-line serial processing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Parallel program analysis information extraction method and device
  • Parallel program analysis information extraction method and device
  • Parallel program analysis information extraction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices consistent with aspects of the present disclosure as recited in the appended claims.

[0025] The terms "comprising" and "having" and any variations thereof in the description and claims of the present invention and the drawings are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally furt...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a parallel program analysis information extraction method and device. The method comprises the following steps of: extracting a feature mode of program analysis information according to an input intermediate representation IR file and an extraction demand; carrying out non-feature information filter on a content text in the IR file according to the feature mode of the program analysis information so as to obtain a filtered IR content text; determining a thread scheduling strategy according to memory information of parallel acceleration hardware and a size of the IR content text; and carrying out parallel extraction on the program analysis information in the IR content text according to a preset information feature category and the thread scheduling strategy so as toobtain program analysis information corresponding to the information feature category. The method and device provided by the invention are relatively high in extraction efficiency.

Description

technical field [0001] The invention relates to the technical field of virtual machines, in particular to a method and device for parallel extraction of program analysis information. Background technique [0002] Low Level Virtual Machine (LLVM for short) is an open source compilation framework, which can convert programs written in high-level languages ​​into their self-defined intermediate representation (Intermediate Representation, IR for short). The IR is saved in the form of a file, which contains a large amount of program analysis information, including data flow analysis information, control flow analysis information, function call analysis information, and program dependency analysis information. Program analysis information has important and extensive applications in many fields of work, including program optimization and error detection. [0003] In the prior art, when the program analysis information in the IR file is extracted, the serial iterative extraction m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41G06F8/73
CPCG06F8/4435G06F8/73
Inventor 衷璐洁马冬冬
Owner CAPITAL NORMAL UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products