FIKA:通过可执行性保证扩展依赖可达性
FIKA: Expanding Dependency Reachability with Executability Guarantees
AI总结:
FIKA通过生成可执行代码验证第三方库调用点的可达性,提升依赖管理精度,实验显示其在八个项目中覆盖率达75%以上,优于静态分析工具Semgrep。
摘要:
自动化第三方库分析工具通过解决关键依赖管理挑战帮助开发者,如自动版本更新、检测漏洞和检测破坏性更新。依赖可达性分析旨在通过缩小依赖问题空间来提高精度。大多数依赖可达性分析工具是静态的,受限于缺乏执行。本文提出FIKA,一个提供可执行性保证的流水线,生成可执行代码并记录执行轨迹以证明第三方库调用点的实际可达性。我们对八个Java项目的数据集进行了实证评估。平均而言,54%的调用点由现有测试套件覆盖,因此有可执行性证据。FIKA进一步将覆盖范围提高20%,能够证明2363个依赖方法的可执行性。在六个项目中,FIKA提供强保证,超过75%的调用点可执行。我们进一步证明FIKA能改进Semgrep提供的结果,在Semgrep得出不明确可达性结果时,FIKA能优先处理具有更强可执行性保证的漏洞更新。
英文摘要:
Automated third-party library analysis tools help developers by addressing key dependency management challenges, such as automating version updates, detecting vulnerabilities, and detecting breaking updates. Dependency reachability analysis aims at improving the precision of dependency management, by reducing the space of dependency issues to the ones that actually matter. Most tools for dependency reachability analysis are static and fundamentally limited by the absence of execution. In this paper, we propose FIKA, a pipeline for providing guarantees of executability for third-party library call sites. FIKA leverages a Large Language Model (LLM) guided by static analysis to generate code that is executed, and whose execution trace provides guarantees that a third-party library call site is actually executable. We apply our approach to a dataset of eight Java projects to empirically evaluate the effectiveness of FIKA. On average, 54% of these call sites are covered by the existing test suites, and therefore, have evidence for their executability. FIKA improves this coverage by 20%, generating successful reachability scenarios for 609 out of 1465 previously non-covered call sites. In six out of eight projects, FIKA provides strong guarantees that more than 75% of call sites are executable. We further demonstrate that FIKA improves over Semgrep, a state-of-the-art static vulnerability reachability analysis tool, and outperforms Jazzer, a coverage-guided directed fuzzer. We show that FIKA can help prioritize the vulnerability updates with stronger guarantees of executability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。