Test method
A test method and technology to be tested, applied in the computer field, can solve problems such as low test efficiency of system call interface, achieve the effect of realizing batch test and improving test efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] refer to figure 1 , shows a flowchart of steps of a testing method according to Embodiment 1 of the present application.
[0025] The testing method of the present embodiment comprises the following steps:
[0026] Step S101, acquiring information about a system call interface to be tested.
[0027] The operating system kernel provides a series of kernel functions, which are provided to users through a set of interfaces called system calls, and are called and used by users. The function of the system call is to pass the request of the application program to the system kernel, then call the corresponding kernel function to complete the required processing, and finally return the processing result to the application program. The system call interface is the interface between the application program and the system kernel, and is the bridge between the application program and the system kernel.
[0028] In this embodiment, the information of the system call interface to ...
Embodiment 2
[0041] refer to figure 2 , shows a flowchart of steps of a testing method according to Embodiment 2 of the present application.
[0042] In this embodiment, a test of multiple system call interfaces is taken as an example.
[0043] The testing method of the present embodiment comprises the following steps:
[0044] Step S201, according to the function signature of the system call interface to be tested, obtain the information of the system call interface.
[0045] A function signature is an expression of a function, mainly composed of the name of the function and the type and type (such as value, reference or output) of each of its formal parameters. Through the function signature, you can know the relevant information of the function, such as input and output information.
[0046] The system call interface also has a corresponding function signature. In this embodiment, the information of the system call interface is obtained through the function signature, which is easy ...
Embodiment 3
[0086] refer to image 3 , shows a flowchart of steps of a testing method according to Embodiment 3 of the present application.
[0087] This embodiment illustrates the test method provided by this application in the form of a specific example. In this embodiment, the device under test adopts a Linux operating system, and multiple devices under test are tested at the same time.
[0088] The testing method of the present embodiment comprises the following steps:
[0089] Step S301, receiving a test target input by a user.
[0090] In this embodiment, when it is necessary to test the system call interface, the user declares the test target, selects the scope of the system call interface to be tested, and determines the input of the test command in the test template for the system call interface to be tested according to its function signature scope.
[0091] In this embodiment, fuzzing is taken as an example, and the generated template is also a fuzzing template.
[0092] F...
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