Dual-granularity lightweight vulnerability code slice quality evaluation method
A quality assessment, lightweight technology, applied in the field of information security, can solve the problems of sacrificing the interpretability of the original code, losing the semantic information of code slices, and high technical complexity, so as to improve the prediction accuracy and generalization ability, and improve the interpretability. performance, optimize the effect of slicing methods
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] The present invention will be further described in detail below with reference to the accompanying drawings and examples:
[0038] like figure 1 As shown, a double-grained lightweight vulnerability code slice mass assessment method includes the following steps:
[0039] Step 1, classify, preprocess the vulnerability code slice sample.
[0040] Classification is based on the vulnerability type included in the vulnerability code slice, which does not include a vulnerability as a type; the method of preprocessing the vulnerability code slice sample is to delete all operators in the code, and peeled all identifiers in the code slice; The slice of tabs is a positive integer greater than or equal to 50 less than or equal to 200.
[0041] This embodiment is from the NVD data set and the SARD data set, using the VuldeePecker slice method, 10400 code slits containing the cache area overflow vulnerability, 39753 code slips that do not contain a vulnerability, and a total of 50,153.
...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


