Fuzzy test method based on sequence-to-sequence model
The invention discloses a fuzzy testing method based on a sequence-to-sequence model. The method comprises the following steps: firstly, collecting different types of C language application programs, adding the C language application programs into an application program file directory, putting seed...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a fuzzy testing method based on a sequence-to-sequence model. The method comprises the following steps: firstly, collecting different types of C language application programs, adding the C language application programs into an application program file directory, putting seed files of the same format based on application program processing under a homologous seed file directory, and performing fuzzy testing on the programs under the application program file directory; generating and collecting test examples capable of causing program crash or triggering a new code execution path, and constructing a model training data set; secondly, constructing a sequence-to-sequence model based on LSTM and Transform, training the sequence-to-sequence model by using the constructed data set, extracting test sample position information and outputting effective variation information; meanwhile, modifying an AFL source code, and embedding a sequence-to-sequence model into the AFL; and finally, aiming at t |
---|