Supercharge Your Innovation With Domain-Expert AI Agents!

A fuzz testing method and system for android applications

A technology of fuzz testing and test cases, which is applied in the field of fuzz testing methods and systems of Android applications, can solve problems such as lack of external data input testing, and achieve the effect of efficient input automation testing

Active Publication Date: 2019-07-09
TCL CORPORATION
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a fuzzy testing method and system for Android applications, aiming to solve the problem that existing application testing methods lack external data input testing

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
  • A fuzz testing method and system for android applications
  • A fuzz testing method and system for android applications
  • A fuzz testing method and system for android applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The present invention provides a fuzzing test method and system for Android applications. In order to make the objectives, technical solutions and effects of the present invention clearer and clearer, the present invention will be described in further detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention.

[0050] See figure 1 , figure 1 It is a flowchart of a preferred embodiment of a method for fuzzing an Android application according to the present invention. As shown in the figure, it includes the steps:

[0051] S101. Declare the filter of each active component in the application configuration file in advance;

[0052] S102. Fuzzy mutation is performed on the input external data by using the fuzzing test technology to generate test case data;

[0053] S103: Send the test case data to the active component of the application, and then dynamically monitor the ru...

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 discloses a fuzzy testing method and system for Android applications. The method comprises the following steps that A, a filter of each active component is declared in a configuration file of an application in advance; B, the fuzzy testing technology is used for performing fuzzy variation on input external data so as to generate testing case data; C, the testing case data is sent to the active component of the application, and then the operational process of the application is dynamically monitored through a virtual machine layer and a native layer. According to the method and system, related codes of the configuration file of the application are modified on the basis of Android source data, obtained external data can be processed correctly by each active component of the application, then, the fuzzy testing technology is used for performing fuzzy variation, testing case data is generated, and finally the virtual machine layer and the Native layer are dynamically monitored. In the testing process, no manual intervention is needed, and the automatic input testing of the external data of the application can be efficiently achieved.

Description

Technical field [0001] The invention relates to the field of software automated testing, in particular to a method and system for fuzzy testing of Android applications. Background technique [0002] At present, automated testing of Android applications is mainly focused on testing the application interface operation functions, that is, testing the user's action input. However, the existing test method ignores the test of another input of the user—external data input. External data input refers to the external data declared by the Android application that can be processed in the application. The Android system provides a set of mechanisms to facilitate applications to receive external data input. External data input, as an uncontrollable external input, often triggers defects in the application software, so it is necessary to test it to further explore the vulnerabilities of the application. [0003] Therefore, the existing technology needs to be improved and developed. Summary ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 孙向作
Owner TCL CORPORATION
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More