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

Extraction method and device for cross-process static program analysis information and equipment

A static program analysis and program analysis technology, applied in the computer field, can solve the problem of inaccurate acquisition of information pointed to by function pointers, etc.

Active Publication Date: 2018-06-08
CAPITAL NORMAL UNIVERSITY
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method, device and equipment for extracting inter-procedural static program analysis information to solve the problem of inaccurate acquisition of function pointer pointing information in static program analysis

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
  • Extraction method and device for cross-process static program analysis information and equipment
  • Extraction method and device for cross-process static program analysis information and equipment
  • Extraction method and device for cross-process static program analysis information and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0063] The terms "comprising" and "having" and any variations thereof in the description and claims of the present invention are intended to cover a non-exclusive inclusion, for example, a process comprising a series of steps or a device of structure need not be limited to the expressly listed Instead, those structures or steps may include other steps or structures not expressly listed or inherent to the process or device.

[0064] In order to describe clearly...

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 embodiment of the invention provides an extraction method and device for cross-process static program analysis information and equipment. The method comprises the steps that commands in an LLVM IRfile are traversed; based on a br command and a ret command, the cross-process program analysis information is extracted; whether or not a call command in the LLVM IR file is a call command related to a function pointer is determined; if not, information which is called by a direct function is extracted from the call command; if yes, according to a store command and a load command before the callcommand, pointing information of the function pointer in the call command is extracted; after traversing is completed, based on the extracted cross-process program analysis information, all the information which is called by the direct function and the pointing information of the function pointer, the cross-process static program analysis information is generated. Accordingly the problem is solved that the pointing information of the function pointer is inaccurately acquired in static program analysis.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, device and equipment for extracting static program analysis information between processes. Background technique [0002] The complexity of modern software systems is becoming more and more prominent, and the scale of programs is also increasing. It is difficult to intuitively understand the coding logic structure of programs. Inter-procedural information and intra-procedural information can reflect the program coding logic in the software system, in the understanding and analysis of the program, software testing, debugging and maintenance, compilation optimization, error location, program error (bug) search, data flow between processes It is widely used in software engineering fields such as analysis and backtesting. Complete inter-process information and intra-process information can better assist program verification and program debuggi...

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/75
CPCG06F8/75
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