Script heuristic detection method and system based on variable name confusion degree
A variable name and heuristic technology, applied in the direction of instruments, electrical digital data processing, platform integrity maintenance, etc., can solve the problems of complex implementation, high development and maintenance costs, and low operating efficiency, and achieve low resource occupation and operating efficiency High, easy to develop and maintain
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Embodiment 1 provides a script heuristic detection method based on the degree of confusion of variable names, such as figure 1 shown, including:
[0039] S101: collecting a corpus of English words;
[0040] S102: Integrate the collected corpus, and use a supervised machine learning method to train the classification model on the collected corpus;
[0041] For example, the Markov chain method: use the bigram method to segment all the words in the corpus, generate multiple segments consisting of two letters, generate a state transition matrix T, and perform frequency statistics on the segments;
[0042] Select regular words, divide them in the same way as above, and use the state transition matrix T generated above to calculate the average frequency of regular words as the regular word frequency P good ;
[0043] Select a random non-word character string, divide it in the same way as above, and use the state transition matrix T generated above to calculate the mean val...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


