Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory analysis method and device based on dynamic taint analysis

A technology of memory analysis and dynamic taint, which is applied in the computer field and can solve problems such as inability to analyze programs

Pending Publication Date: 2020-03-31
GUANGZHOU UNIVERSITY
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For the memory analysis scheme of the prior art, it depends on the source code of the program, and it is impossible to analyze the program whose source code is difficult to obtain

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
  • Memory analysis method and device based on dynamic taint analysis
  • Memory analysis method and device based on dynamic taint analysis
  • Memory analysis method and device based on dynamic taint analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with 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 creative efforts fall within the protection scope of the present invention.

[0044] See figure 1 , the embodiment of the present invention provides a memory analysis method based on dynamic taint analysis, comprising steps:

[0045] S1. Designate a preset input function as a pollution source, so as to mark the data read by the input function as pollution, and record the polluted address through a set object;

[0046] S2. Insert all memory operation instructions for memory operation inspection, and mark the destination operand according to th...

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 memory analysis method and device based on dynamic taint analysis, terminal equipment and a readable storage medium. The method comprises the steps: enabling a preset input function to be designated as a pollution source, marking the data read by the input function as pollution, and recording a polluted address through a set object; carrying out instrumentation on all thememory operation instructions so as to carry out memory operation check, and carrying out marking processing on a target operAccording to the pollution condition of the source operand; and performinginstrumentation on the ret instruction to check the stack top memory, and performing stack overflow detection according to the pollution condition of the current stack top memory. According to the method, the program can be analyzed under the condition of the passive code, and the memory overflow problem is detected, so that the key information required for generating vulnerability utilization isextracted.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a memory analysis method, device, terminal equipment and readable storage medium based on dynamic stain analysis. Background technique [0002] Due to the rapid growth of the number of programs, manual program testing has been difficult to meet the needs of program testing. In order to deal with this problem, some automated program testing schemes have been proposed one after another. According to whether the program is actually executed, automated program testing schemes are divided into static analysis and dynamic analysis. In the way of not running the program code, static analysis scans the program code through lexical analysis, syntax analysis, control flow, data flow analysis and other technologies to verify whether the code meets the specifications, security, reliability, maintainability and other indicators. The dynamic analysis of the program refers to obtaining info...

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/3612Y02D10/00
Inventor 田志宏孙起鲁辉黄冬秋杨佳庚金成杰何陆潇涵张鑫国孙彦斌苏申
Owner GUANGZHOU UNIVERSITY