ScholarMate
English简体中文繁體中文
客服热线:400-1616-289
登录注册
会议论文

Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps

Sun, Jingling; Su, Ting*; Jiang, Jiayi; Wang, Jue; Pu, Geguang*; Su, Zhendong南京大学
31st ACM Joint Meeting of the European Software Engineering Conference / Symposium on the Foundations-of-Software-Engineering (ESEC/FSE)2023DOI: 10.1145/3611643.3616286
4阅读
引用收藏
分享

摘要

Like many software applications, data manipulation functionalities (DMFs) are prevalent in Android apps, which perform the common CRUD operations (create, read, update, delete) to handle app-specific data. Thus, ensuring the correctness of these DMFs is fundamentally important for many core app functionalities. However, the bugs related to DMFs (named as data manipulation errors, DMEs), especially those non-crashing logic ones, are prevalent but difficult to find. To this end, inspired by property-based testing, we introduce a property-based fuzzing approach to effectively finding DMEs in Android apps. Our key idea is that, given some type of app data of interest, we randomly interleave its relevant DMFs and other possible events to explore diverse app states for thorough validation. Specifically, our approach characterizes DMFs in (data) model-based properties and leverage the consistency between the data model and the UI layouts as the handler to do property checking. The properties of DMFs are specified by human according to specific app features. To support the application of our approach, we implemented an automated GUI testing tool, PBFDroid. We evaluated PBFDroid on 20 real-world Android apps, and successfully found 30 unique and previously unknown bugs in 18 apps. Out of the 30 bugs, 29 of which are DMEs (22 are non-crashing logic bugs, and 7 are crash ones). To date, 19 have been confirmed and 9 have already been fixed. Many of these bugs are non-trivial and lead to different types of app failures. Our further evaluation confirms that none of the 22 non-crashing DMEs can be found by the state-of-the-art techniques. In addition, a user study shows that the manual cost of specifying the DMF properties with the assistance of our tool is acceptable. Overall, given accurate DMF properties, our approach can automatically find DMEs without any false positives. We have made all the artifacts publicly available at: https:// github.com/ property- based- fuzzing/ home.

学科与关键词

关键词
Property-based testingModel-based testingAndroid app testingNon-crashing functional bugs
相关
加载中…
  • An Empirical Study of Functional Bugs in Android Apps
    Xiong, Yiheng; Xu, Mengqian; Su, Ting*; Sun, Jingling; Wang, Jue; Wen, He; Pu, Geguang*; He, Jifeng; Su, Zhendong32nd ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA), Seattle, WA, 2023-07-17 To 2023-07-21.被引 3
  • Characterizing and Finding System Setting-Related Defects in Android Apps
    Sun, Jingling; Su, Ting*; Liu, Kai; Peng, Chao; Zhang, Zhao; Pu, Geguang*; Xie, Tao; Su, ZhendongIEEE Transactions on Software Engineering, 2023, 49(4): 2941-2963.被引 3
  • Detecting and Fixing Data Loss Issues in Android Apps
    Guo, Wunan; Dong, Zhen*; Shen, Liwei; Tian, Wei; Su, Ting; Peng, Xin31st ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA), ELECTR NETWORK, 2022-07-18 To 2022-07-22.被引 5
查看全部 →

会议信息

会议名称
31st ACM Joint Meeting of the European Software Engineering Conference / Symposium on the Foundations-of-Software-Engineering (ESEC/FSE)
会议日期
2023-12-03 至 2023-12-09
论文集名
PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023
发表日期
2023
起止页码
1088-1100
DOI
10.1145/3611643.3616286
资助标注
National Key Research and Development Program [2020AAA0107800, 2022YFB31 04002]; NSFC [62072178]; "Digital Silk Road" Shanghai International Joint Lab of Trustworthy Intelligent Software [22510750100]; Shanghai Collaborative Innovation Center of Trusted Industry Internet Software
收录
ISTP

作者

  • S

    Sun, Jingling (第一作者)

  • S

    Su, Ting (通讯)

查看全部 6 位作者收起作者
  • J

    Jiang, Jiayi

  • W

    Wang, Jue

    nanjing univ china

  • P

    Pu, Geguang (通讯)

  • S

    Su, Zhendong

登录解锁更多功能

  • 收藏这篇,随时在“我的 · 收藏”找回
  • 认领你的成果,生成推广素材
  • 关注作者获取最新成果
  • 加入项目组、协同写作
注册 / 登录

产品服务

  • 科研之友
  • 创新城
  • 科创云

服务支持

  • 帮助中心
  • 隐私政策
  • 服务条款

联系方式

在线客服:【】
客服热线:400-1616-289
电子邮箱:support@scholarmate.com

关注或下载科研之友

微信二维码
微信公众号
客户端下载二维码
下载客户端
科研成果科研人员科研机构科研动态爱瑞思软件

©2026 深圳市科研之友网络服务有限公司

公安备案图标粤公网安备 44030502000213
粤ICP备 16046710 号粤B2-20110417