APSEC 2024
Tue 3 - Fri 6 December 2024 China
Thu 5 Dec 2024 16:30 - 17:00 at Room 1 (Zunhui Room) - Session (12) Chair(s): Tao Zhang

Numerous approaches employing various strategies have been developed to test the graphical user interfaces (GUIs) of mobile apps. However, traditional GUI testing techniques, such as random and model-based testing, primarily focus on generating test sequences that excel in achieving high code coverage but often fail to act as effective test oracles for non-crash functional (NCF) bug detection. To tackle these limitations, this study empirically investigates the capability of leveraging large language models (LLMs) to be test oracles to detect NCF bugs in Android apps. Our intuition is that the training corpora of LLMs, encompassing extensive mobile app usage and bug report descriptions, enable them with the domain knowledge relevant to NCF bug detection. We conducted a comprehensive empirical study to explore the effectiveness of LLMs as test oracles for detecting NCF bugs in Android apps on 71 well-documented NCF bugs. The results demonstrated that LLMs achieves 49% bug detection rate, outperforming existing tools for detecting NCF bugs in Android apps. Additionally, by leveraging LLMs to be test oracles, we successfully detected 24 previously unknown NCF bugs in 64 Android apps, with four of these bugs being confirmed or fixed. However, we also identified limitations of LLMs, primarily related to performance degradation, inherent randomness, and false positives. Our study highlights the potential of leveraging LLMs as test oracles for Android NCF bug detection and suggests directions for future research.

Thu 5 Dec

Displayed time zone: Beijing, Chongqing, Hong Kong, Urumqi change

16:00 - 17:30
Session (12)Technical Track at Room 1 (Zunhui Room)
Chair(s): Tao Zhang Macau University of Science and Technology
16:00
30m
Talk
SDEFL: A Lightweight Fault Detection and Localization Method for Deep Neural Networks
Technical Track
Bo Yang Beijing Forestry University, Jiawei Hu Beijing Forestry University, Jialun Cao Hong Kong University of Science and Technology
16:30
30m
Talk
A Study of Using Multimodal LLMs for Non-Crash Functional Bug Detection in Android Apps
Technical Track
Bangyan Ju University of Cincinnati, Jin Yang University of Cincinnati, Tingting Yu University of Connecticut, Tamerlan Abdullayev University of Cincinnati, Yuanyuan Wu University of Cincinati, Dingbang Wang University of Connecticut, Yu Zhao
17:00
30m
Talk
Effective Model Replacement for Solving Objective Mismatches in Pre-trained Model Compositions
Technical Track
Arogya Kharel School of Computing, KAIST, KyeongDeok Baek School of Computing, KAIST, In-Young Ko Korea Advanced Institute of Science and Technology