通过摘要特化统一面向多语言互操作的指针分析
Unifying Pointer Analyses for Polyglot Inter-operations through Summary Specialization
AI总结:
针对多语言应用模块化分析中跨语言堆对象流解析难、现有分析依赖显式语言边界与特定语言分析的局限,提出基于摘要特化的指针分析扩展方法,适配多类语言分析组合,经两种多语言模型验证有效且通用。
摘要:
多语言应用的模块化分析颇具挑战性,因为必须解析跨语言边界的堆对象流。当前多语言应用的前沿分析存在两个根本局限:其一,它们假定宿主语言与客语言之间存在显式边界,以此判定跨语言数据流;其二,它们依赖于对宿主语言和客语言的特定分析。前一个假设在多语言编程技术的最新进展下并不实用,而后一个局限则忽视了底层语言指针分析的进步。本研究中,我们提出用一种新颖的摘要特化技术扩展现有指针分析,从而统一跨语言边界的指向集。我们的新技术只需少量修改,就能适配宿主与客语言分析的多种组合。我们通过两种多语言模型评估该方法,即通过Android NDK实现的Java-C通信以及GraalVM中的Java-Python通信,证明了其有效性与通用性。
英文摘要:
Modular analysis of polyglot applications is challenging because heap object flows across language boundaries must be resolved. The state-of-the-art analyses for polyglot applications have two fundamental limitations. First, they assume explicit boundaries between the host and the guest language to determine inter-language dataflows. Second, they rely on specific analyses of the host and guest languages. The former assumption is impractical concerning recent advancements in polyglot programming techniques, while the latter disregards advances in pointer analysis of the underlying languages. In this work, we propose to extend existing pointer analyses with a novel summary specialization technique so that points-to set across language boundaries can be unified. Our novel technique leverages various combinations of host and guest analyses with minor modifications. We demonstrate the efficacy and generalizability of our approach by evaluating it with two polyglot language models: Java-C communication via Android's NDK and Java-Python communication in GraalVM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。