Fuzzy test method and device, electronic equipment and storage medium

A technology of fuzz testing and testing process, applied in software testing/debugging, error detection/correction, electrical digital data processing, etc.

Active Publication Date: 2020-05-08
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF7 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the execution of the program on the same path may produce different memory states, for example, different iterations in the same loop, different memory layouts, and different values ​​​​of variables. Therefore, only focusing on path coverage to find vulnerabilities will ignore A batch of memory corruption vulnerabilities that require a specific memory state to trigger

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
  • Fuzzy test method and device, electronic equipment and storage medium
  • Fuzzy test method and device, electronic equipment and storage medium
  • Fuzzy test method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the purpose, technical solutions and advantages of this specification more clear, the following will further describe this specification in detail in combination with specific embodiments and with reference to the accompanying drawings.

[0050] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present specification shall have ordinary meanings understood by those skilled in the art to which the present disclosure belongs. "First", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Comprising" or "comprising" and similar words mean that the elements or items appearing before the word include the elements or items listed after the word and their equivalents, without excluding other elements or items. Words such as "connected" or "connected" are not limited to physical or ...

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 fuzzy test method. The method comprises the following steps of: selecting a predetermined number of seeds from a seed pool; mutating the selected seeds to generate a pluralityof program inputs; monitoring the running state of a target program which has received the program inputs, and obtaining memory state information of a test process; determining an average memory state space of the current test according to the acquired memory state information; aiming at the seeds participating in the test in the seed pool, respectively comparing memory state space correspondingto each seed with the average memory state space; and reserving the seeds of which the memory state space is greater than the average memory state space. The invention also provides a device for realizing a fuzzy test, electronic equipment and a computer readable storage medium.

Description

technical field [0001] This specification relates to the technical field of software testing, and in particular to a fuzzing testing method, device, electronic equipment and computer-readable storage medium. Background technique [0002] Fuzz testing technology is a technology that automatically generates a large number of random inputs (testcases) to test the target program and discover vulnerabilities. In order to increase the control of random inputs in fuzz testing and enable fuzz testing to dig out vulnerabilities more efficiently, existing fuzz testing techniques use various feedback information generated by testcases that have already been executed to guide the generation of inputs. Among them, the fuzz testing technology based on path coverage feedback is a technology based on the execution path information that has been covered by executed testcases, and uses a specific algorithm to direct the execution path of the program to an unexecuted path to mine vulnerabiliti...

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): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 李文杰
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
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