ArkAnalyzer:面向OpenHarmony的静态分析框架
ArkAnalyzer: The Static Analysis Framework for OpenHarmony
AI总结:
针对OpenHarmony社区缺乏ArkTS静态分析核心框架、现有方法处理ArkTS代码存在问题的现状,研究团队设计实现了开源框架ArkAnalyzer,集成多项基础静态分析功能,可供开发者复用。
摘要:
ArkTS是专为新兴移动操作系统OpenHarmony开发应用的新型编程语言。与其他长期存在性能相关代码异味或漏洞问题的编程语言一样,ArkTS编程语言也很可能遭遇同类问题。研究界给出的解决方案是开发静态分析工具,这类工具通常基于通用静态分析框架实现,用于自动检测并修复上述问题。遗憾的是,OpenHarmony社区目前还没有这样的核心框架。现有的程序分析方法在处理ArkTS代码时存在诸多问题。为填补这一空白,我们设计并实现了名为ArkAnalyzer的框架,并将其作为开源项目公开。我们的ArkAnalyzer解决了上述问题,且已集成多项基础静态分析功能,可供开发者复用以开发OpenHarmony相关应用。
英文摘要:
ArkTS is a new programming language dedicated to developing apps for the emerging OpenHarmony mobile operating system. Like other programming languages constantly suffering from performance-related code smells or vulnerabilities, the ArkTS programming language will likely encounter the same problems. The solution given by our research community is to invent static analyzers, which are often implemented on top of a common static analysis framework, to detect and subsequently repair those issues automatically. Unfortunately, such an essential framework is not available for the OpenHarmony community yet. Existing program analysis methods have several problems when handling the ArkTS code. To bridge the gap, we design and implement a framework named ArkAnalyzer and make it publicly available as an open-source project. Our ArkAnalyzer addresses the aforementioned problems and has already integrated a number of fundamental static analysis functions that are ready to be reused by developers to implement OpenHarmony
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。