数组遍历程序内存安全性的完备性阈值
Completeness Thresholds for Memory Safety of Array Traversing Programs
AI总结:
本文首次研究数组遍历堆操作程序内存安全性证明的完备性阈值,提出将无界证明规约为有界证明的阈值概念,刻画了简单类程序的阈值,并给出理论与实践层面的扩展方向。
摘要:
据我们所知,本文报告了针对(部分)有界内存安全性证明的完备性阈值的首次研究的中期结果。具体而言,我们研究的是在不分配或释放内存的前提下遍历数组的堆操作程序。在此场景下,我们提出了首个适用于程序验证的完备性阈值概念,该概念可将无界内存安全性证明规约为(部分)有界证明。此外,我们证明了能够刻画简单类别数组遍历程序的完备性阈值。最后,我们提出了从理论上扩展该技术的研究方向,即扩展至更大类别的程序(堆操作、树状数据结构),并通过指出自动化机遇来推动其实际应用。
英文摘要:
We report on intermediate results of -- to the best of our knowledge -- the first study of completeness thresholds for (partially) bounded memory safety proofs. Specifically, we consider heap-manipulating programs that iterate over arrays without allocating or freeing memory. In this setting, we present the first notion of completeness thresholds for program verification which reduce unbounded memory safety proofs to (partially) bounded ones. Moreover, we demonstrate that we can characterise completeness thresholds for simple classes of array traversing programs. Finally, we suggest avenues of research to scale this technique theoretically, i.e., to larger classes of programs (heap manipulation, tree-like data structures), and practically by highlighting automation opportunities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。