• Home
  • Search
  • Graph-aided directed testing of Android applications for checking runtime privacy behaviours
  • Open Access IconOpen Access
  • Cite Icon15
  • https://doi.org/10.1145/2896921.2896930Copy DOI Icon

Graph-aided directed testing of Android applications for checking runtime privacy behaviours

  • May 14, 2016
  • Joseph Chan Joo Keng +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

While automated testing of mobile applications is very useful for checking run-time behaviours and specifications, its capability in discovering issues in apps is often limited in practice due to long testing time. A common practice is to randomly and exhaustively explore the whole app test space, which takes a lot of time and resource to achieve good coverage and reach targeted parts of the apps.In this paper, we present MAMBA1, a directed testing system for checking privacy in Android apps. MAMBA performs path searches of user events in control-flow graphs of callbacks generated from static analysis of app bytecode. Based on the paths found, it builds test cases comprised of user events that can trigger the executions of the apps and quickly direct the apps’ activity transitions from the starting activity towards target activities of interest, revealing potential accesses to privacy-sensitive data in the apps. MAMBA’s backend testing engine then simulates the executions of the apps following the generated test cases to check actual runtime behavior of the apps that may leak users’ private data. We evaluated MAMBA against another automated testing approach that exhaustively searches for target activities in 24 apps, and found that our graph-aided directed testing achieves the same coverage of target activities 6.1 times faster on average, including the time required for bytecode analysis and test case generation. By instrumenting privacy access/leak detectors during testing, we were able to verify from test logs that almost half of target activities accessed user privacy data, and 26.7% of target activities leaked privacy data to the network.

Similar Papers
  • Conference Article
  • Citations3

Android Unit Test Case Generation Based on the Strategy of Multi-Dimensional Coverage

  • Nov 07, 2021
  • Jie Cao +2
  • Conference Article
  • Citations19

Paladin

  • Feb 22, 2019
  • Yun Ma +4
  • Conference Article
  • Citations3

The Use of Ontology in Case Based Reasoning for Reusable Test Case Generation

  • Jan 01, 2015
  • R Li +1
  • Book Chapter
  • Citations1

Test Case Generation Based on Search-Based Testing

  • Oct 31, 2020
  • Rashmi Rekha Sahoo +2
  • Conference Article
  • Citations19

Automatic test case selection and generation for regression testing of composite service based on extensible BPEL flow graph

  • Sep 01, 2010
  • Bixin Li +3
  • Conference Article
  • Citations1

Automated Test Case Generation from Activity Diagram using Depth-First Search

  • Aug 09, 2023
  • Ignasius Teguh Raharjo Rubiyo +2
  • Conference Article
  • Citations47

RTCM: a natural language based, automated, and practical test case generation framework

  • Jul 13, 2015
  • Tao Yue +2
  • Research Article
  • Citations1

Automated Test Case Generation for Effective Spectrum-based Fault Localization

  • Jun 01, 2020
  • Journal of Physics: Conference Series
  • Bo Yang +2
  • Conference Article
  • Citations9

Improving code coverage in android apps testing by exploiting patterns and automatic test case generation

  • Sep 16, 2014
  • Domenico Amalfitano +7
  • Research Article
  • Citations7

Preference-wise Testing of Android Apps via Test Amplification

  • Jan 31, 2023
  • ACM Transactions on Software Engineering and Methodology
  • Minxue Pan +4
  • Research Article
  • Citations73

Killing strategies for model‐based mutation testing

  • Feb 03, 2014
  • Software Testing, Verification and Reliability
  • Bernhard K Aichernig +5
  • Research Article
  • Citations1

Context-Aware Fuzzing for Robustness Enhancement of Deep Learning Models

  • Dec 31, 2024
  • ACM Transactions on Software Engineering and Methodology
  • Haipeng Wang +3
  • Conference Article
  • Citations4

A Study on Transaction Specification based Software Testing for Internet of Things

  • Mar 01, 2018
  • Mani Padmanabhan
  • Conference Article
  • Citations1

Using Hypergraph as Modeling Language for Generating Test Cases On Demand

  • Nov 30, 2004
  • K.R.P.H Leung
  • PDF
  • Research Article
  • Citations3

Evaluation of Test Case Generation based on a Software Product Line for Model Transformation

  • Jan 01, 2018
  • Journal of Computer Science
  • Alexandre Augusto Giron +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.