Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2508.01974

帮助 | 高级搜索

计算机科学 > 软件工程

arXiv:2508.01974 (cs)
[提交于 2025年8月4日 ]

标题: 无控制流图的流敏感性:一种高效的安德森风格流敏感指针分析

标题: Flow Sensitivity without Control Flow Graph: An Efficient Andersen-Style Flow-Sensitive Pointer Analysis

Authors:Jiahao Zhang, Xiao Cheng, Yuxiang Lei
摘要: 流敏感指针分析通过结合控制流来准确建模指针行为,是精确程序分析的重要组成部分。 流敏感指针分析广泛用于别名分析、污点分析、程序理解、编译器优化等。 现有的基于控制流图的流敏感指针分析方法,通过利用控制流信息的复杂技术,显著提高了指针分析的精度。 然而,由于控制流图固有的复杂结构,在解决指向信息时不可避免地会遇到计算效率低的问题。 我们提出了CG-FSPTA,一种基于流敏感约束图(FSConsG)的流敏感指针分析方法,以克服基于控制流图分析的效率问题。 CG-FSPTA使用一种流敏感变体,利用集合约束图(通常用于流不敏感指针分析)的结构优势,同时保持变量定义和使用的流敏感性,从而可以融入复杂的图优化和动态求解技术。 这样,CG-FSPTA在保持流敏感分析精度的同时实现了显著的效率提升。 在基准程序上的实验评估表明,CG-FSPTA在保持精度的同时显著减少了内存使用和执行时间。 特别是,通过在FSConsG中求解,CG-FSPTA相比最先进的方法平均内存减少33.05%,并将流敏感指针分析加速了7.27倍。 这些实验结果强调了CG-FSPTA作为分析大规模软件系统的可扩展解决方案的有效性,为高效程序分析框架的未来发展奠定了坚实的基础。
摘要: Flow-sensitive pointer analysis constitutes an essential component of precise program analysis for accurately modeling pointer behaviors by incorporating control flows. Flow-sensitive pointer analysis is extensively used in alias analysis, taint analysis, program understanding, compiler optimization, etc. Existing flow-sensitive pointer analysis approaches, which are conducted based on control flow graphs, have significantly advanced the precision of pointer analysis via sophisticated techniques to leverage control flow information. However, they inevitably suffer from computational inefficiencies when resolving points-to information due to the inherent complex structures of control flow graphs. We present CG-FSPTA, a Flow-Sensitive Constraint Graph (FSConsG) based flow-sensitive pointer analysis to overcome the inefficiency of control-flow-graph-based analysis. CG-FSPTA uses a flow-sensitive variant to leverage the structural advantages of set-constraint graphs (which are commonly used in flow-insensitive pointer analysis) while keeping the flow sensitivity of variable definitions and uses, allowing the incorporation of sophisticated graph optimization and dynamic solving techniques. In this way, CG-FSPTA achieves significant efficiency improvements while keeping the precision of flow-sensitive analysis. Experimental evaluations on benchmark programs demonstrate that CG-FSPTA, significantly reduces both memory usage and execution time while maintaining precision. In particular, by solving in the FSConsG, CG-FSPTA achieves an average memory reduction of 33.05\% and accelerates flow-sensitive pointer analysis by 7.27x compared to the state-of-art method. These experimental results underscore the efficacy of CG-FSPTA as a scalable solution to analyze large-scale software systems, establishing a robust foundation for future advancements in efficient program analysis frameworks.
主题: 软件工程 (cs.SE) ; 编程语言 (cs.PL)
引用方式: arXiv:2508.01974 [cs.SE]
  (或者 arXiv:2508.01974v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2508.01974
通过 DataCite 发表的 arXiv DOI(待注册)

提交历史

来自: Jiahao Zhang [查看电子邮件]
[v1] 星期一, 2025 年 8 月 4 日 01:20:54 UTC (223 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
查看许可
当前浏览上下文:
cs.SE
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-08
切换浏览方式为:
cs
cs.PL

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号