Method and device for analyzing data pollution propagation and computer readable storage medium

A technology for analyzing data and pollution sources, which is applied in the field of analyzing data pollution and dissemination, can solve the problems of data dissemination, data stream expression and storage, and achieve the effects of easy expansion, simple and easy to use, and simple use

Active Publication Date: 2020-06-16
思客云(北京)软件技术有限公司
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The theory of data pollution propagation has a long history, but due to the complexity and diversity of data propagation, it is very difficult to express and store data streams

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
  • Method and device for analyzing data pollution propagation and computer readable storage medium
  • Method and device for analyzing data pollution propagation and computer readable storage medium
  • Method and device for analyzing data pollution propagation and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1A flow chart showing a method for analyzing data pollution propagation provided by an embodiment of the present invention is shown. An embodiment of the present invention provides a method for analyzing the spread of data pollution, the method comprising: step 1: collect global variables and local variables in all classes, so as to obtain data information of all variables; step 2: analyze the Data information, forming an association relationship between the data information. Optionally, in step 1, all the variables in the global variables and local variables are defined as multiple data nodes, determine whether the data nodes are pollution source nodes, and then obtain each of the multiple data nodes attribute, and form the multiple data nodes into a final data information table. Optionally, the attributes of the data node include ID, function name, variable name of the data node, row number of the data node, reference node of the data node, whether the data n...

Embodiment 2

[0047] According to an embodiment of the present invention, the present invention provides a device for analyzing data pollution propagation, such as Figure 4 As shown, it includes: a memory 10, a processor 12, and a computer program stored on the memory 10 and operable on the processor 12. When the computer program is executed by the processor 12, the above embodiment 1 is realized. The steps of the method for analyzing the propagation of data contamination described in .

Embodiment 3

[0049] According to an embodiment of the present invention, the present invention provides a computer-readable storage medium, and the computer-readable storage medium stores a program for implementing information transmission, and when the program is executed by a processor, the above-mentioned embodiment 1 is implemented. The steps of the method for analyzing the propagation of data contamination.

[0050] The technical scheme of the present invention uses data nodes to record data information, which is simple, easy to expand, and easy to use. The data in the data information table is sorted by name, which can realize quick search and is more convenient to use. All node information is stored in the data information table, and all subsequent data operations can directly look up the table instead of looking up the syntax tree, which greatly improves the efficiency of use. Data crossing nodes are recorded separately as multiple data links, which is not easy to cause confusion....

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 relates to a method and device for analyzing data pollution propagation and a computer readable storage medium. The method comprises the steps of 1, collecting global variables and localvariables in all classes so as to obtain data information of all the variables; and 2, analyzing the data information one by one to form an association relationship between the data information. According to the method, the problem that the existing data pollution propagation is only theoretically described and has no specific implementation mode is solved, so that the data propagation process iscompletely expressed, any node can be searched, the node can be quickly positioned, and the source of the data can be quickly traced back.

Description

technical field [0001] The invention relates to the technical field of source code security detection, in particular to a method, device and computer-readable storage medium for analyzing data pollution propagation. Background technique [0002] Currently, data flow analysis is the most important analysis method for software source code security detection tools. Data flow analysis is mainly to analyze the security issues caused by improper use of data or data contamination during program dissemination. The theory of data pollution propagation has a long history, but due to the complexity and diversity of data propagation, it is very difficult to express and store data streams. First of all, there are a variety of programming languages ​​in reality, including high-level languages, scripting languages, object-oriented languages, and process-oriented languages. Each language has a different definition of basic data types. Secondly, the data will undergo different processing d...

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): G06F21/56
CPCG06F21/563G06F2221/033
Inventor 王小东
Owner 思客云(北京)软件技术有限公司
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