JavaScript engine fuzz testing method for AST generation model based on structure perception
Through the structure-aware AST generation model and the use of technologies such as embedding layers and residual networks, the problem of low accuracy of the LSTM model in generating JavaScript test cases is solved, achieving more accurate code syntax and semantic understanding, and improving test case efficiency. quality.
Patent Information
- Application Number
- CN202410819620.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-10
AI Technical Summary
The existing neural network language model built by LSTM has a low accuracy when generating JavaScript test cases, because the one-way LSTM only focuses on the previous information and cannot fully understand the contextual semantic relationships of JavaScript, a highly structured language.
Adopt a structure-aware based AST generation model by converting JavaScript seed files into AST subtree sequences, and use embedding layers, residual networks, and output layers, including BiLSTM layers and multi-head self-attention layers, to learn the syntax between code snippets and semantic correlation to generate more accurate test cases.
It improves the syntax and semantic accuracy of generating JavaScript test cases. Through the use of residual network and bidirectional LSTM, it comprehensively captures the relationship and semantic association between codes, reduces randomness, and improves the quality of test cases.
Smart Images

Figure CN118626385A
Abstract
Description
Technical Field
[0001] The present invention relates to a testing method, in particular to a structure-aware AST generation model JavaScript engine fuzz testing method. Background Art
[0002] As one of the software vulnerability detection technologies, fuzz testing technology has been applied to the testing of various large-scale projects and software due to its low deployment requirements and automation. It has shown excellent results in vulnerability mining and has been a hot field of concern in recent years.
[0003] AFL, a representative product in the field of fuzz testing, generates efficient test cases based on mutation and code coverage feedback. Since its launch, it has discovered a large number of vulnerabilities in many programs. In subsequent research, a variety of variants based on AFL have been proposed to improve the performance of AFL, such as AFLFast, AFLGo, AFLSmart, Honggfuzz, AFLNet, etc. However, the above tools work well in specific scenarios, but it is difficult to generate highly structured JS test cases in testing JavaScript engines. Therefore, the security of JavaScript (referred to as "JS") engines has received more and more attention. Superion is based on AFL and mutates the abstract syntax tree AST to support structured input. Langfuzz extracts code fragments from JS files and randomly assembles them to generate test cases. DIE proposes to retain mutations, that is, the ideal characteristics of random retention in mutations, and in some cases, important fragments that cause vulnerabilities can be retained. However, existing methods all use randomness to mutate seeds and generate test cases, which only randomly combines and mutates code fragments without considering the relationship between code fragments. Therefore, it is necessary to design special methods to fully consider the association and structure between code fragments.
[0004] The paper "Lee S, Han HS, Cha SK, et al. Montage: A neural network language {Model-Guided} {JavaScript} engine fuzzer [C] / / 29th USENIX Security Symposium (USENIX Security 20). 2020: 2613-2630." uses a neural network language model (NNLM) built by LSTM to perform fuzz testing on the JS engine. The model learns the association structure between fragments in the JS regression test set, and replaces some fragments in the regression test with new fragments generated by NNLM to generate new JS test files, hoping to trigger new vulnerabilities.
[0005] However, the LSTM used in the NNLM model is a unidirectional recurrent neural network structure. When processing a sequence, it only focuses on the previous information. JavaScript is a highly structured language that usually relies on the semantics and relationships of the previous and next contexts. For example, some variable names and function names require more global context information to be accurately understood. The unidirectional LSTM only sees the previous context information, which reduces the global understanding of the entire sequence, resulting in a low accuracy rate when generating the syntax and semantics of JS test cases. Summary of the invention
[0006] The purpose of the present invention is to solve the problem that the existing neural network language model NNLM constructed by LSTM has low accuracy when generating JS test case syntax and semantics, and to provide a JavaScript engine fuzzy testing method based on structure-aware AST generation model.
[0007] To achieve the above purpose, the technical solution adopted by the present invention is:
[0008] A structure-aware AST generation model JavaScript engine fuzz testing method, which is special in that it includes the following steps:
[0009] Step 1: Preprocess JS seed files;
[0010] A training set is constructed based on a given JS seed file. Each JS seed file in the training set is converted into an AST, and nodes with identifiers in each AST are standardized and renamed. Each renamed AST is split into a set of AST subtrees, and a fragment sequence is generated by performing a pre-order traversal on the set of each AST subtree.
[0011] Step 2: Structure-aware AST generation model;
[0012] Construct a structure-aware AST generation model, and use each fragment sequence in the training set as a training sample to train the structure-aware AST generation model. The AST generation model learns the grammatical and semantic associations in the training samples, so that the AST generation model can generate subsequent fragments that match the grammar and semantics in the training samples, thereby completing the training of the structure-aware AST generation model.
[0013] Step 3: Generate JS test cases;
[0014] Randomly select an AST and split it into multiple fragment sequences, and randomly delete some fragments in each fragment sequence. The multiple fragment sequences after deleting some fragments are sequentially input into the structure-aware AST generation model. New fragments are continuously generated through the AST generation model and attached to the corresponding fragment sequences after deleting some fragments. Multiple new fragment sequences are sequentially generated, and the multiple new fragment sequences are restored to AST, thereby generating new JS test cases.
[0015] Step 4: Execute.
[0016] Use the target JS engine to execute the new JS test case to obtain the vulnerability report and complete the test.
[0017] Furthermore, in step 2, the structure-aware AST generation model includes an embedding layer, a residual network, and an output layer;
[0018] The residual network consists of n BiMultFeatBlock blocks connected in series and n adders, n ≥ 3;
[0019] The n BiMultFeatBlock blocks are BiMultFeatBlock block 1, BiMultFeatBlock block 2, ..., BiMultFeatBlock block n-1, BiMultFeatBlock block n, and the n adders are adder 1, adder 2, ..., adder n-1, adder n;
[0020] The input end of BiMultFeatBlock block 1 is used as the input end of the residual network, connected to the output end of the embedding layer, the output end is connected to the first input end of adder 1, the second input end of adder 1 is connected to the input end of BiMultFeatBlock block 1, and the output end is connected to the input end of BiMultFeatBlock block 2;
[0021] The output terminal of BiMultFeatBlock block 2 is connected to the first input terminal of adder 2, the second input terminal of adder 2 is connected to the output terminal of BiMultFeatBlock block 1, and the output terminal is connected to the input terminal of BiMultFeatBlock block 3;
[0022] By analogy, the output end of BiMultFeatBlock block n is connected to the first input end of adder n, the second input end of adder n is connected to the output end of BiMultFeatBlock block n-1, and the output end serves as the output end of the residual network and is connected to the input end of the output layer.
[0023] Furthermore, the BiMultFeatBlock block includes a BiLSTM layer, a multi-head self-attention layer, a first Add&Norm layer, a Fead Forward layer, and a second Add&Norm layer;
[0024] The input end of the BiLSTM layer is the input end of the BiMultFeatBlock block, and the output end of the BiLSTM layer includes a first output end and multiple second output ends. The first output end of the BiLSTM layer is connected to the first input end of the first Add&Norm layer, and the multiple second output ends are respectively connected to the multiple input ends of the multi-head self-attention layer;
[0025] The output end of the multi-head self-attention layer is connected to the second input end of the first Add&Norm layer, and the output end of the first Add&Norm layer is connected to the input end of the Fead Forward layer and the first input end of the second Add&Norm layer respectively;
[0026] The output end of the Fead Forward layer is connected to the second input end of the second Add&Norm layer, and the output end of the second Add&Norm layer is the output end of the BiMultFeatBlock block.
[0027] Furthermore, the BiLSTM layer includes two LSTM units and an addition unit;
[0028] The two LSTM units are a forward LSTM unit and a reverse LSTM unit. The input ends of the forward LSTM unit and the reverse LSTM unit are connected as the input end of the BiLSTM layer. The output ends are respectively connected to the two input ends of the addition unit, and the output end of the addition unit serves as the output end of the BiLSTM layer.
[0029] Furthermore, the calculation equation of the LSTM unit is as follows:
[0030]
[0031] Where: and f l n They are the state, output gate, input gate and forget gate of the LSTM unit at the current position respectively; and σ are weight matrix, bias matrix and sigmoid function respectively; l is the sequence position; BMF l n is the output of the BiMultFeatBlock block, is the hidden state of the LSTM unit at position l; tanh is the activation function; is the state of the LSTM unit at the previous time step in the sequence; It is the output of the multi-head self-attention layer after being processed by the first Add&Norm layer, the Fead Forward layer, and the second Add&Norm layer.
[0032] Furthermore, the calculation equation of the multi-head self-attention layer is:
[0033]
[0034] Where: Q, K and V are three representations of the input of the multi-head self-attention layer after linear transformation; K T is the transpose of the K vector; d k is the dimension of the K vector; softmax is the softmax function.
[0035] The beneficial effects of the present invention are:
[0036] 1. The present invention adopts a structure-aware AST generation model to learn the association between AST subtrees of JS code, reduce randomness, convert JS seed files into AST subtree sequences, and map them into vector forms that can be learned by the model, so as to more comprehensively capture the semantic associations between codes in JS seed files, and establish associations between different code locations to help the model understand the relationship between variables, functions, and statements, thereby improving the accuracy of syntax and semantics of generated JS test cases.
[0037] 2. The AST generation model of the present invention is residually connected by multiple BiMultFeatBlock blocks, while abandoning the traditional residual connection method. Compared with the traditional recursive neural network, the residual network has a deeper network structure and better understands complex semantic relationships and sequence features. For code prediction tasks, the deep information transmission process helps to retain the original important information and avoid the loss or deformation of code information in the network.
[0038] 3. When processing JS seed files, the present invention sets forward LSTM units and reverse LSTM units to respectively perform forward and reverse learning sequences to capture the relationship between the previous and next contexts, provide comprehensive information on the global dependencies of the sequence, establish deep associations at different positions, reduce attention to irrelevant codes of the current identifier or structure, and focus attention on code fragments related to the current identifier, which is conducive to further improving the accuracy of the syntax and semantics of generated JS test cases. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a schematic diagram of a flow chart of an embodiment of the present invention;
[0040] Figure 2 is a schematic diagram of the structure of a residual network in an embodiment of the present invention;
[0041] Figure 3 Schematic diagram of the structural principle of the BiLSTM layer in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, advantages and features of the present invention clearer, the following is a further detailed description of a structure-aware AST generation model JavaScript engine fuzzy testing method proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. According to the following specific implementation methods, the advantages and features of the present invention will be clearer.
[0043] See also Figure 1 In this embodiment, a JavaScript engine fuzz testing method based on structure-aware AST generation model specifically includes the following steps:
[0044] Step 1, preprocess the JS seed file;
[0045] A training set is built based on a given JS seed file, each JS seed file is converted into an AST, and nodes with identifiers such as variables and functions in the AST are standardized and renamed.
[0046] Since the sources of various JS seed files are different, the naming of their identifiers is also very different. However, what needs to be considered is the problem of different identifiers when the syntax and semantics are the same.
[0047] For example, var a=b+1 and var x=y+1 have the same AST structure and semantics, but different variable names. This will lead to learning more unnecessary fragments in subsequent model training. Therefore, it is necessary to rename the identifiers in the AST to names with unified rules.
[0048] Specifically, the variable identifiers in the AST are replaced with their sequence numbers and a common prefix, such as v0, v1, v2, etc., according to the order in which they appear in the AST. The same standardization is applied to function identifiers, such as f0, f1, f2, etc. At the same time, in order to avoid affecting the original semantics, some built-in functions of the JavaScript language and objects specific to the JavaScript engine are not standardized. Each identifier is changed to a name with a unified rule, and the variable names are changed to v0, v1, v2, v3, and the function name is f0.
[0049] The normalized renamed AST is split into a set of AST subtrees with a height of 1. The set of AST subtrees is also called a fragment. The fragment sequence is generated by performing a pre-order traversal on the set of each AST subtree, and the type of each fragment sequence is defined as the non-terminal symbol of its root node.
[0050] Step 2: Structure-aware AST generation model;
[0051] The AST generation model is implemented by building a residual network. Figure 1 The second stage shows the model structure of the residual network (BAFuzz), which consists of an embedding layer, a residual network composed of multiple residual blocks, and an output layer, where the output layer is specifically a fully connected layer. During the training process of the model, each JS seed file in the training set is converted into a fragment sequence as a training sample.
[0052] Similar to a statistical language model, each sequence of fragments is treated as a word, and the model then uses information from previous input words to generate the most likely next word.
[0053] The model learns the relationship between patterns and fragments by capturing the grammatical or semantic associations in the JS seed files in the training set. In this way, the model generates subsequent fragments that match the syntax and semantics in the JS seed files. In this way, the model can learn the grammatical and semantic associations of the code in the training set and generate the next reasonable sequence fragment. The training objectives and loss functions of the model are defined by existing research: (1) predict the next fragment with the maximum probability, and (2) select sequence fragments with the same root node type as much as possible.
[0054] See also Figure 2 , the residual network includes n BiMultFeatBlock blocks and n adders, n≥3; in this embodiment, n=3 is used as an example. The three BiMultFeatBlock blocks are connected in series in sequence, namely BiMultFeatBlock block 1, BiMultFeatBlock block 2, and BiMultFeatBlock block 3, and the three adders are adder 1, adder 2, and adder 3 respectively; the input end of BiMultFeatBlock block 1 is used as the input end of the residual network, connected to the output end of the embedding layer, and the output end is connected to the first input end of adder 1, the second input end of adder 1 is connected to the input end of BiMultFeatBlock block 1, and the output end is connected to B The input end of iMultFeatBlock block 2; the output end of BiMultFeatBlock block 2 is connected to the first input end of adder 2, the second input end of adder 2 is connected to the output end of BiMultFeatBlock block 1, and the output end is connected to the input end of BiMultFeatBlock block 3; the output end of BiMultFeatBlock block 3 is connected to the first input end of adder 3, the second input end of adder 3 is connected to the output end of BiMultFeatBlock block 2, and the output end serves as the output end of the residual network and is connected to the input end of the output layer.
[0055] The BiMultFeatBlock block includes a BiLSTM layer, a multi-head self-attention layer Multi-Head Attention, a first Add&Norm layer, a Fead Forward layer and a second Add&Norm layer; the input end of the BiLSTM layer is the input end of the BiMultFeatBlock block, the output end of the BiLSTM layer includes a first output end and multiple second output ends, the first output end of the BiLSTM layer is connected to the first input end of the first Add&Norm layer, and the multiple second output ends are respectively connected to the multiple input ends of the multi-head self-attention layer; the output end of the multi-head self-attention layer is connected to the second input end of the first Add&Norm layer, and the output end of the first Add&Norm layer is respectively connected to the input end of the Fead Forward layer and the first input end of the second Add&Norm layer; the output end of the Fead Forward layer is connected to the second input end of the second Add&Norm layer, and the output end of the second Add&Norm layer is the output end of the BiMultFeatBlock block.
[0056] See also Figure 3 The BiLSTM layer includes two LSTM units and an addition unit; the two LSTM units are respectively a forward LSTM unit and a reverse LSTM unit, the input ends of the two LSTM units are connected as the input end of the BiLSTM layer, and the output ends are respectively connected to the two input ends of the addition unit, and the output end of the addition unit is used as the output end of the BiLSTM layer.
[0057] For example, by passing the input x l are respectively transmitted to the forward LSTM unit and the reverse LSTM unit. The learning process of the forward LSTM unit is [h' l-1 , c' l-1 ] to [h' l , c' l ], the learning process of the reverse LSTM unit is [h l , c l ] to [h l-1 , c l-1 ], and obtain the learning results h through the forward LSTM unit and the reverse LSTM unit respectively l and h' l , and then add the two learning results h through the addition unit l and h' l Add, obtain and output the final result h l +h' l .
[0058] Explain the structure of the remaining blocks by making the current block the nth block, using BMF l nIndicates the output of the sequence position l in the nth block. BMF l n Entering the BiLSTM layer, the two LSTM units are bidirectionally connected to perform prediction learning from the forward and reverse directions of the sequence respectively, while taking into account the contextual information before and after the current moment. Through the connection of the forward and reverse hidden layers, comprehensive information on the global dependencies of the sequence is provided.
[0059] The calculation process of the LSTM unit is as follows:
[0060]
[0061] Where: and f l n Respectively represent the state, output gate, input gate and forget gate of the LSTM unit at the current position; and σ represent the weight matrix, bias matrix and sigmoid function respectively. BMF l n It is the output of BiMultFeatBlock block; is the hidden state of the LSTM unit at position l; tanh is the activation function; is the state of the LSTM unit at the previous time step in the sequence.
[0062] The forward hidden layer vector and the reverse hidden layer vector are added and connected, and then sent to the multi-head self-attention layer for processing. The calculation process of the multi-head self-attention layer is as follows: 1) First, the input sequence is mapped into three representations of query (Q), key (K) and value (V) through linear transformation. Q ,W k ,W V is a weight matrix used to linearly transform the input and can be updated as the model learns. 2) Calculate the similarity score of Q and K. Ordinary dot product and scaled dot product. 3) After normalizing the score, use the softmax function to get the attention weight. 4) Multiply the attention weight with the value (V) at the corresponding position to get the output of the multi-head self-attention layer.
[0063] The multi-head self-attention layer obtains multiple groups of Q, K and V by linearly transforming multiple groups of weight matrices. Finally, the results are connected and the processed vector is obtained through the multi-head self-attention layer. Specifically, the calculation equation of the multi-head self-attention layer is:
[0064]
[0065] Where: K T is the transpose of the K vector; d k is the dimension of the K vector.
[0066] The output of the multi-head self-attention layer then passes through the first Add&Norm layer, the Fead Forward layer, and the second Add&Norm layer, and the output is Finally, the residual connection with the previous BiMultFeatBlock block is used as the output of the final BiMultFeatBlock block:
[0067]
[0068] Step 3: Generate JS test cases;
[0069] Randomly select an AST and split it into multiple fragment sequences, and randomly delete some fragments in each fragment sequence. The deleted multiple fragment sequences are sequentially input into the structure-aware AST generation model. New fragments are continuously generated by the AST generation model and attached to the corresponding deleted fragment sequences. The selection of the attached new fragments is repeated random selection from the recommended fragments of the AST generation model until a new fragment matching the required type is selected. If no matching fragment is found, the generation of the fragment sequence is stopped. The new fragment sequence generated by the AST generation model is restored to AST.
[0070] Since each fragment comes from a different JS file, the identifiers are different. If an undefined identifier is referenced, a reference error will occur. During recovery, the reference error is fixed to generate correct semantics, which will expose deeper bugs through the semantic check of the JS engine.
[0071] Specifically, the reference error is fixed in the following way: traverse each AST node and map it to a scope, which contains the identifiers declared by the AST node. While traversing, infer the type of the undeclared variable based on its usage. If the inferred type is the same as the type of a declared identifier in the scope, replace the undeclared identifier with the declared identifier. If the inferred type is unknown, randomly select a declared identifier to replace it.
[0072] Step 4: Execute;
[0073] The target JS engine executes new test cases. In order to speed up the fuzz test, multi-threaded execution is supported. The return code of the process is obtained to check whether the program exits normally. Normally, a return code of 0 indicates that the child process exits successfully, and a non-zero value indicates that the child process fails or terminates abnormally in some way. The program return codes of main concern are -4 to -11, which represent file read errors, network connection errors, memory allocation errors, invalid command line parameters, permission errors, insufficient system resources, forced process termination, and segmentation errors.
Claims
1. A fuzz testing method for JavaScript engines based on structure-aware AST generation model, It is characterized in that The following steps are involved: Step 1: Preprocess JS seed files; A training set is constructed based on a given JS seed file. Each JS seed file in the training set is converted into an AST, and nodes with identifiers in each AST are standardized and renamed. Each renamed AST is split into a set of AST subtrees, and a fragment sequence is generated by performing a pre-order traversal on the set of each AST subtree. Step 2: Structure-aware AST generation model; Construct a structure-aware AST generation model, and use each fragment sequence in the training set as a training sample to train the structure-aware AST generation model. The AST generation model learns the grammatical and semantic associations in the training samples, so that the AST generation model can generate subsequent fragments that match the grammar and semantics in the training samples, thereby completing the training of the structure-aware AST generation model. Step 3: Generate JS test cases; Randomly select an AST and split it into multiple fragment sequences, and randomly delete some fragments in each fragment sequence. The multiple fragment sequences after deleting some fragments are sequentially input into the structure-aware AST generation model. New fragments are continuously generated through the AST generation model and attached to the corresponding fragment sequences after deleting some fragments. Multiple new fragment sequences are sequentially generated, and the multiple new fragment sequences are restored to AST, thereby generating new JS test cases. Step 4: Execute. Use the target JS engine to execute the new JS test case to obtain the vulnerability report and complete the test.
2. According to claim 1, the structure-aware AST generation model JavaScript engine fuzz testing method, Features: In step 2, the structure-aware AST generation model includes an embedding layer, a residual network and an output layer; The residual network includes n BiMultFeatBlock blocks connected in series, and n adders, n≥3; The n BiMultFeatBlock blocks are respectively BiMultFeatBlock block 1, BiMultFeatBlock block 2, ..., BiMultFeatBlock block n-1, BiMultFeatBlock block n, and the n adders are respectively adder 1, adder 2, ..., adder n-1, adder n; The input end of the BiMultFeatBlock block 1 is used as the input end of the residual network, connected to the output end of the embedding layer, and the output end is connected to the first input end of the adder 1. The second input end of the adder 1 is connected to the input end of the BiMultFeatBlock block 1, and the output end is connected to the input end of the BiMultFeatBlock block 2; The output terminal of the BiMultFeatBlock block 2 is connected to the first input terminal of the adder 2, the second input terminal of the adder 2 is connected to the output terminal of the BiMultFeatBlock block 1, and the output terminal is connected to the input terminal of the BiMultFeatBlock block 3; By analogy, the output end of the BiMultFeatBlock block n is connected to the first input end of the adder n, the second input end of the adder n is connected to the output end of the BiMultFeatBlock block n-1, and the output end serves as the output end of the residual network and is connected to the input end of the output layer.
3. The structure-aware AST generation model JavaScript engine fuzz testing method according to claim 2, Features: The BiMultFeatBlock block includes a BiLSTM layer, a multi-head self-attention layer, a first Add&Norm layer, a FeadForward layer, and a second Add&Norm layer; The input end of the BiLSTM layer is the input end of the BiMultFeatBlock block, and the output end of the BiLSTM layer includes a first output end and multiple second output ends. The first output end of the BiLSTM layer is connected to the first input end of the first Add&Norm layer, and the multiple second output ends are respectively connected to the multiple input ends of the multi-head self-attention layer; The output end of the multi-head self-attention layer is connected to the second input end of the first Add&Norm layer, and the output end of the first Add&Norm layer is respectively connected to the input end of the Fead Forward layer and the first input end of the second Add&Norm layer; The output end of the Fead Forward layer is connected to the second input end of the second Add&Norm layer, and the output end of the second Add&Norm layer is the output end of the BiMultFeatBlock block.
4. The structure-aware AST generation model JavaScript engine fuzz testing method according to claim 3, Features: The BiLSTM layer includes two LSTM units and an addition unit; The two LSTM units are respectively a forward LSTM unit and a reverse LSTM unit. The input ends of the forward LSTM unit and the reverse LSTM unit are connected as the input end of the BiLSTM layer, and the output ends are respectively connected to the two input ends of the addition unit. The output end of the addition unit serves as the output end of the BiLSTM layer.
5. The structure-aware AST generation model JavaScript engine fuzz testing method according to claim 4, It is characterized in that The calculation equation of the LSTM unit is as follows: Where: and They are the state, output gate, input gate and forget gate of the LSTM unit at the current position respectively; and σ are weight matrix, bias matrix and sigmoid function respectively; l is the sequence position; is the output of the BiMultFeatBlock block, is the hidden state of the LSTM unit at position l; tanh is the activation function; is the state of the LSTM unit at the previous time step in the sequence; It is the output of the multi-head self-attention layer after being processed by the first Add&Norm layer, the Fead Forward layer, and the second Add&Norm layer.
6. According to claim 4 or 5, the structure-aware AST generation model JavaScript engine fuzz testing method, It is characterized in that The calculation equation of the multi-head self-attention layer is: Where: Q, K and V are three representations of the input of the multi-head self-attention layer after linear transformation; K T is the transpose of the K vector; d k is the dimension of the K vector; softmax is the softmax function.
Citation Information
Cited By
JavaScript context awareness test generation method and system based on large model
CN120872845A
A JavaScript Context-Aware Test Generation Method and System Based on a Large Model
CN120872845B
