Structured fuzzy test method based on conversion test
A technology of fuzz testing and conversion testing, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as operating errors and operating failures
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] see figure 1 , the present invention provides a technical solution: a structured fuzz testing method based on conversion testing, comprising the steps of:
[0041] S1. Obtain the program to be tested and input it into the test system;
[0042] S2. Construct a protocol test state machine according to the BGP-4 protocol, and attach a protocol document to explain that the BGP-4 protocol has six states;
[0043] S3, using the test state machine to generate a boot sequence and a feature sequence;
[0044] S4, select the state sequence;
[0045] S5. Use fuzzers to generate test cases. The types of fuzzers can be divided into two types: ontology fuzzers and remote fuzzers;
[0046] S6. Start the test program, input the test case command, and perform the fuzz test. The fuzz test is divided into two types: mutation-based fuzz test and generation-based fuzz test;
[0047] S7, generate the execution path of the test case, observe whether there is an error in the running proces...
Embodiment 2
[0050] see figure 1 , the present invention provides a technical solution: a structured fuzz testing method based on conversion testing, comprising the steps of:
[0051] S1. Obtain the program to be tested and input it into the test system;
[0052] S2. Construct a protocol test state machine according to the BGP-4 protocol, and attach a protocol document to explain that the BGP-4 protocol has six states;
[0053] S3, using the test state machine to generate a boot sequence and a feature sequence;
[0054] S4, select the state sequence;
[0055] S5. Use fuzzers to generate test cases. The types of fuzzers can be divided into two types: ontology fuzzers and remote fuzzers;
[0056] S6. Start the test program, input the test case command, and perform the fuzz test. The fuzz test is divided into two types: mutation-based fuzz test and generation-based fuzz test;
[0057] S7, generate the execution path of the test case, observe whether there is an error in the running proces...
Embodiment 1-2
[0064] It should be noted that: in embodiment 1-2:
[0065] In S2, the BGP-4 protocol has six states, which are Idle, Connect, Active, OpenSent, OpenConfirm, and Established;
[0066] In S5, ontology fuzzer command line parameters and environment variables are the two most basic ways to introduce variables into programs, so fuzzers for setuid applications can be divided into two categories: command line parameter fuzzers and environment variable fuzzers device. Another class of native fuzzers is the file format fuzzer. Many applications may have abnormalities when processing malformed files. This requires file format fuzzers to participate in monitoring. Among them, the browser fuzzer is a special file format fuzzer, which usually uses the function of HTML to automate the fuzzing process, the remote fuzzer, and the test object of the remote fuzzer is a network-based application. Such as various server software. Such applications have always been the most important test obj...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com