Method and device for solving data imbalance of AFL test model through GAN

A technology for testing models and data, which is applied in electrical digital data processing, software testing/debugging, error detection/correction, etc. It can solve problems such as long time required, affecting the efficiency of fuzzers, wasting running time, etc.

Active Publication Date: 2021-03-05
ANHUI UNIVERSITY OF TECHNOLOGY
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, each test case generated must be executed in the program, and each execution takes time, ranging from a few nanoseconds to more than a second, depending on

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for solving data imbalance of AFL test model through GAN
  • Method and device for solving data imbalance of AFL test model through GAN
  • Method and device for solving data imbalance of AFL test model through GAN

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiments of the present invention. Apparently, the described embodiments are some, not all, embodiments of the present invention. Based on the described embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work shall fall within the protection scope of the present invention. Unless otherwise defined, the technical terms or scientific terms used herein shall have the usual meanings understood by those skilled in the art to which the present invention belongs.

[0049] "First", "second" and similar words used in the patent application specification and claims of the present invention do not indicate any order, quantity or importa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for solving data imbalance of an AFL test model through a GAN, and relates to the technical field of vulnerability mining. The method comprises the followingsteps: 1) collecting a plurality of test cases iteratively generated by the AFL according to a random mutation algorithm to form a test set; 2) preprocessing the test case data of the test set, and performing data amplification on the test set by using GAN; 3) selecting a classification model, and training the test set to obtain a test model; 4) predicting a newly generated test case of the AFL according to the test model, and judging whether a newly generated input increases a new code coverage range or not; and 5) calculating the misjudgment rate of the test model according to the program running result, and updating the prediction model when the false alarm rate of the test model is not less than a preset model false alarm rate threshold. According to the method, the fuzzy test efficiency is improved and the code coverage area is increased by predicting the availability of the newly generated test cases.

Description

technical field [0001] The invention relates to the technical field of vulnerability mining, in particular to a method and a device for solving data imbalance of an AFL test model through GAN. Background technique [0002] With the rapid development of the Internet, software security has gradually become a concern of people, and fuzz testing is one of the most important tools for testing software security. Fuzz testing works by taking a set of test inputs and expecting these inputs to maximize code coverage in a given program, and hoping that in doing so it will find bugs, crashes, or other potential vulnerabilities in the program. Fuzz testing can be divided into white box fuzz testing, gray box fuzz testing and black box fuzz testing. Black-box fuzzing is a software testing technique that does not require knowledge of the internal architecture of the target program. It only examines the fundamental aspects of the system, treating the software as a black box. White-box f...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 吴宣够张丽卫琳娜郑啸
Owner ANHUI UNIVERSITY OF TECHNOLOGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products