Back to search

Hong Kong University of Science and Technology

Semantic-Aware Android Crash Reproduction

Abstract

dc:description

<p>Reproducing Android app crashes is challenging due to the semantic gap between low-quality crash reports and complex, event-driven behaviors. This thesis presents a three-layered framework to identify necessary inputs by resolving missing semantic context across user interaction, device environment, and library layers.</p> <p>First, we introduce Mole, a directed fuzzer identifying specific UI elements re-quired for reproduction. It uses Attribute-Sensitive Reachability Analysis (ASRA) to model dependencies between UI widgets and visual states, isolating crash-involved elements and pruning irrelevant ones via code instrumentation. This reduces reproduction times from 6 hours to under 2 hours, achieving a 70% success rate on the Themis benchmark. Second, we propose Shark, a neuro-symbolic approach for detecting precise device settings required to reproduce a crash. Combining static program slicing with LLM-based reasoning, Shark infers Steps to Configure (S2C) with high precision, then uses symbolic synthesis to validate configurations on-device. Evaluating 135 GitHub crashes shows Shark achieves 70% recall and 90% precision, in 11.4 minutes per crash on average.</p> <p>Because our fuzzing relies on sound static reachability analysis, we introduce DAInfer+ to resolve data-flow opacity at API boundaries. DAInfer+ automates API data-flow and aliasing specification inference from natural-language documentation by leveraging semantic similarity between documentation and memory operations description vectors. Embedding models yield over 64% recall and 85% precision for data-flow specs, outperforming programming-trained LLMs (56% recall, 94% precision), while completing the process within a few seconds. For alias specifications, DAInfer+ achieves 88% recall and 79% precision in just seconds.</p> <p>Together, these contributions establish an autonomous framework capable of re-covering the semantic context needed to reproduce crashes from a simple stack trace.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Masoudian Targhi, Maryam Alsadat
Contributors dc:contributor
  • Zhang, Charles Chuan

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Masoudian Targhi, Maryam Alsadat. Semantic-Aware Android Crash Reproduction. 2026. http://repository.hkust.edu.hk/ir/Record/1783.1-174583