Software vulnerability detection method and device based on quantum neural network
A quantum neural and software vulnerability technology, applied in the field of software vulnerability detection based on quantum neural network, to achieve the effect of alleviating memory bottlenecks and accurate vulnerability detection
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] like figure 1 As shown, an embodiment of the present invention provides a software vulnerability detection method based on a quantum neural network, comprising the following steps:
[0055] S101: locate the API function in the target program to be detected;
[0056] Specifically, in order to speed up the positioning speed, the target program to be detected may be preprocessed before step S101, specifically: deleting non-ASCII characters and comments in the source code of the target program to be detected.
[0057] S102: Slice the target program to be detected according to the API function to obtain several code fragments;
[0058] Specifically, in the following combination image 3 The slicing process is illustrated, and details are not repeated here.
[0059] It should be noted that API function calls are divided into forward API function calls and backward API function calls. Forward API calls refer to API parameters that receive data directly from the socket, whi...
Embodiment 2
[0101] like Figure 5 As shown, an embodiment of the present invention also provides a software vulnerability detection device based on a quantum neural network, including: a positioning module, a slicing module, a standardization module, an encoding module and a measurement module; wherein:
[0102] The positioning module is used to locate the API functions in the target program to be detected. The slicing module is used for slicing the target program to be detected according to the API function to obtain several code fragments. The normalization module is used to normalize variable names and / or function names in each of the code snippets. The encoding module is used to construct a dictionary based on the standardized code fragments, and then encode each word in the dictionary according to the binary encoding method to obtain a binary vector corresponding to each word, and then encode the corresponding binary vector of each word. The binary vector performs quantum state ang...
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