Software analysis method and system based on dynamic instrumentation

A software analysis and dynamic instrumentation technology, applied in software testing/debugging, instrumentation, electrical digital data processing, etc.

Pending Publication Date: 2021-03-26
STATE GRID CORP OF CHINA +4
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention proposes a software analysis method and system based on dynamic inst

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
  • Software analysis method and system based on dynamic instrumentation
  • Software analysis method and system based on dynamic instrumentation
  • Software analysis method and system based on dynamic instrumentation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Exemplary embodiments of the present invention will now be described with reference to the drawings; however, the present invention may be embodied in many different forms and are not limited to the embodiments described herein, which are provided for the purpose of exhaustively and completely disclosing the present invention. invention and fully convey the scope of the invention to those skilled in the art. The terms used in the exemplary embodiments shown in the drawings do not limit the present invention. In the figures, the same units / elements are given the same reference numerals.

[0048]Unless otherwise specified, the terms (including scientific and technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it can be understood that terms defined by commonly used dictionaries should be understood to have consistent meanings in the context of their related fields, and should not be understood as idealized or overl...

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 discloses a software analysis method and system based on dynamic instrumentation. The method comprises the steps of obtaining test sample data and a to-be-tested program; performing structural analysis and machine code translation on the to-be-tested program to obtain an instruction sequence, determining at least one breakpoint according to the granularity of a basic block in the instruction sequence, and determining an instrumentation instruction corresponding to each breakpoint; taking the test sample data as input data of the to-be-tested program, executing the to-be-tested program, monitoring breakpoints in the to-be-tested program, and obtaining and storing execution path information and crash information; determining a coverage rate of the basic block according to the execution path information, determining a crash sample according to the crash information, screening according to different execution paths corresponding to the crash sample, and determining a unique crash sample; and determining a security evaluation result of the to-be-tested program according to the coverage rate of the basic block and the number of the unique crash samples.

Description

technical field [0001] The present invention relates to the technical field of security analysis of smart electric energy meter software, and more specifically, to a software analysis method and system based on dynamic instrumentation. Background technique [0002] The electric energy meter is a device for measuring the electric energy output or load consumption in the circuit. It is widely used in the power supply network and is the most important measuring device in the electricity trade settlement. With the application and popularization of smart energy meters, the functional complexity and development difficulty of energy meter equipment are constantly increasing. If there is a software defect in the electric energy meter, it will be used by individuals to "steal electricity", and it will lead to the collapse of large-scale electric energy meters, resulting in the loss of manpower and material resources of the power grid company. Therefore, the security analysis of the ...

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
IPC IPC(8): G06F11/36
CPCG06F11/3612G06F11/3636
Inventor 孔令达翟峰梁晓兵刘鹰付义伦岑炜沈广沈曙明袁泉刘岩徐永进尚怀赢丁徐南叶莘
Owner STATE GRID CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products