跳到主要导航 跳到搜索 跳到主要内容

HapTest: The Dynamic Analysis Framework for OpenHarmony

  • Farong Liu
  • , Mingyi Zhou
  • , Yakun Zhang
  • , Ting Su
  • , Bo Sun
  • , Jacques Klein
  • , Xiang Gao
  • , Li Li*
  • *此作品的通讯作者
  • Beihang University
  • Peking University
  • Huawei Technologies Co., Ltd.
  • University of Luxembourg

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

ArkTS is a new programming language dedicated to developing applications (apps) for the emerging OpenHarmony mobile operating system. Like other programs, apps developed with ArkTS suffer from bugs, leading to, e.g., crashes, or performance and security issues. Our community usually uses dynamic analysis to analyze the app’s behavior and detect bugs. Unfortunately, a framework tailored for OpenHarmony apps dynamic analysis is not yet available for the developer community. To bridge this gap, we propose a new dynamic analysis framework named HapTest, which has been specifically designed to cope with OpenHarmony apps’ original features. We make HapTest publicly available as an open-source project. Our HapTest has several fundamental dynamic analysis features (e.g., PTG, DataHub, etc.) that are ready to be reused by developers, and further customized to enable specific dynamic analysis, for instance, to detect malware or performance issues. Experiment results show that our HapTest achieves both high analysis coverage and high effectiveness. In addition, our HapTest is evaluated on the top 20 popular commercial apps from the OpenHarmony app market, each with at least millions of downloads. Our testing method revealed 26 previously unreported crashes in 11 out of the 20 applications, which demonstrates the practicality of HapTest.

源语言英语
主期刊名FSE Companion 2025 - Companion Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering
编辑Jingyue Li
出版商Association for Computing Machinery
422-431
页数10
ISBN(电子版)9798400712760
DOI
出版状态已出版 - 28 7月 2025
活动33rd ACM International Conference on the Foundations of Software Engineering, FSE Companion 2025 - Trondheim, 挪威
期限: 23 6月 202527 6月 2025

出版系列

姓名Proceedings of the ACM SIGSOFT Symposium on the Foundations of Software Engineering
ISSN(印刷版)1539-7521

会议

会议33rd ACM International Conference on the Foundations of Software Engineering, FSE Companion 2025
国家/地区挪威
Trondheim
时期23/06/2527/06/25

指纹

探究 'HapTest: The Dynamic Analysis Framework for OpenHarmony' 的科研主题。它们共同构成独一无二的指纹。

引用此