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

A fuzz testing method, device and system

A fuzzy testing and tested technology, applied in fuzzy logic-based systems, software testing/debugging, error detection/correction, etc., can solve the problem of low test efficiency, regardless of the internal structure and internal characteristics of the program, and the inability to obtain code coverage and other issues to achieve the effect of improving test efficiency and avoiding repeated testing

Active Publication Date: 2022-07-29
浙江木链物联网科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Existing fuzz testing scenarios include black-box testing scenarios, gray-box testing scenarios and white-box testing scenarios. In black-box testing scenarios, existing black-box testing is also called functional testing. It detects whether each function is It can be used normally. In the test, the program is regarded as a black box that cannot be opened, and the program interface is tested without considering the internal structure and internal characteristics of the program. It only checks whether the program function is in accordance with the requirements specification. According to the normal use of the regulations, it is judged whether the program can properly receive the input data and generate correct output information. Some existing black-box tests use code coverage as the parameter selection seed, and testing the program interface through the seed can improve the test efficiency. However, In many application environments such as remote testing, code coverage cannot be obtained, resulting in low testing efficiency

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
  • A fuzz testing method, device and system
  • A fuzz testing method, device and system
  • A fuzz testing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

[0041] In one embodiment, as figure 1 As shown, a fuzzing method is provided, including the following steps:

[0042] S110, using the state machine coverage rate and the execution frequency data of the state machine coverage rate as parameters of the energy distribution algorithm, and selecting the seed data to be mutated in the DOM format.

[0043] Wherein, the state machine coverage is the proportion of the states accessed in the state machine in all states, and the execution frequency data of the state machine coverage is the number of times the state machine cover...

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 present application relates to a fuzz testing method, device and system. The method includes: using the state machine coverage rate and the execution frequency data of the state machine coverage rate as parameters of the energy distribution algorithm, and selecting the DOM format to be mutated seed data; DOM format mutation data; input the DOM format mutation data into the machine under test to obtain a test execution result; wherein the test execution result includes the execution log of the machine under test. Using this method can improve the test efficiency.

Description

technical field [0001] The present application relates to the technical field of software testing, and in particular, to a fuzzing testing method, device and system. Background technique [0002] With the development of economy and information technology, modern industrial control information systems are faced with more and more security threats. For example, industrial control systems will face various variants of ransomware, Trojan horse viruses that hide in the depths, and various types of hackers. invasion. Fuzzy security testing technology is a kind of security testing application technology. Fuzzy security testing technology constructs the abnormal input data in the software by fuzzing, so as to construct the possible abnormality of the software, such as system crash, so as to accurately locate the existence in the software. security risks. Fuzzy security testing technology has the characteristic of traversing all inputs because fuzzing testing itself has the charact...

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 Patents(China)
IPC IPC(8): G06F11/36G06N7/02
CPCG06F11/3676G06F11/3684G06F11/3688G06F11/3692G06N7/026
Inventor 胡悦雷濛郭宾杨杰马远洋赵宇章渠丰罗怡靓朱奕辉向昶宇
Owner 浙江木链物联网科技有限公司
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