paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Relocatable addressing model for symbolic execution

面向符号执行的可重定位寻址模型
ISSTA Proceedings of the 29th ACM SIGSOFT International Symposium on Software Testing and Analysis2020匹配度 3/10 · 论文属于程序分析与符号执行方向,但与用户当前关注的 PL→AI、AI→PL、浮点程序分析、贝叶斯程序分析等交叉方向均无直接关系;其内存寻址模型改进也不涉及 LLM/Agent、ML 系统或形式化验证与 LLM 的结合。引用 11 inbox
David Trabish, Noam Rinetzky
crossref: 2026-09-12

AI 速览

一句话:提出用符号地址替代具体地址的可重定位寻址模型,使已分配对象的内存表示可在分配后动态修改,提升符号执行效率。

现有符号执行引擎通过将内存对象与具体地址关联来建模内存空间,每个已分配对象的表示在其分配时即被确定。本文提出一种新的寻址模型:不再使用具体地址,而是使用符号地址,从而使已分配对象的底层表示在分配之后仍可被动态修改。作者在两个应用场景中展示了该模型的优势:动态的跨对象划分与对象内划分。前者说明新近提出的分段内存模型可得到改进——动态合并多个对象表示,而非依赖静态指针分析预先完成合并;后者说明可将大对象的表示拆分为多个更小的表示,从而降低数组理论约束的求解开销。初步结果表明,该方法能显著提升符号探索的整体有效性。

问题
符号执行引擎将内存对象与具体地址绑定,对象的表示在分配时就已固定,限制了内存建模与约束求解的灵活性。
方法
以符号地址取代具体地址,使已分配对象的底层表示可在分配后动态修改,并据此实现动态的跨对象表示合并与对象内表示拆分。
评估
在两个应用场景(改进分段内存模型、降低数组理论约束求解成本)中进行初步实验,结果表明能显著提升符号探索的整体有效性。
原文摘要(Abstract)

Symbolic execution (SE) is a widely used program analysis technique. Existing SE engines model the memory space by associating memory objects with concrete addresses, where the representation of each allocated object is determined during its allocation. We present a novel addressing model where the underlying representation of an allocated object can be dynamically modified even after its allocation, by using symbolic addresses rather than concrete ones. We demonstrate the benefits of our model in two application scenarios: dynamic inter- and intra-object partitioning. In the former, we show how the recently proposed segmented memory model can be improved by dynamically merging several object representations into a single one, rather than doing that a-priori using static pointer analysis. In the latter, we show how the cost of solving array theory constraints can be reduced by splitting the representations of large objects into multiple smaller ones. Our preliminary results show that our approach can significantly improve the overall effectiveness of the symbolic exploration.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6031,
  title = {Relocatable addressing model for symbolic execution},
  author = {David Trabish and Noam Rinetzky},
  booktitle = {ISSTA},
  year = {2020},
  doi = {10.1145/3395363.3397363}
}