Fuzzy test 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 avoiding repeated testing and improving testing efficiency

Active Publication Date: 2020-12-08
浙江木链物联网科技有限公司
View PDF10 Cites 3 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
  • Fuzzy test method, device and system
  • Fuzzy test method, device and system
  • Fuzzy test method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

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

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

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

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 fuzzy test method, device and system. The method comprises the following steps: taking a state machine coverage rate and execution frequency data of the state machine coverage rate as parameters of an energy distribution algorithm, and selecting DOM-format to-be-mutated seed data; inputting the DOM-format to-be-mutated seed data into a fuzzifier to obtain DOM-format mutation data; inputting the DOM format variation data into a tested machine to obtain a test execution result; wherein the test execution result comprises an execution log of the tested machine. By adopting the method, the test efficiency can be improved.

Description

technical field [0001] The present application relates to the technical field of software testing, 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 facing more and more security threats. For example, industrial control systems will face various variants of ransomware, hidden Trojan horse viruses and various hackers. invasion. Fuzzy security testing technology is a kind of security testing application technology. Fuzzy security testing technology constructs the abnormality that may occur in the software by fuzzy constructing the malformed input data in the software, such as system crashes, etc., so as to accurately locate the existence of faults in the software. security risks. Fuzzy security testing technology has the characteristics of traversing all inputs because fuzzy testing itself has the characteristics of traversin...

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/36G06N7/02
CPCG06F11/3676G06F11/3684G06F11/3688G06F11/3692G06N7/026
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