paperbot · PL 论文追踪

RSS

Reasoning about External Calls

OOPSLA 9(OOPSLA2)2025
Sophia Drossopoulou, Julian Mackay, Susan Eisenbach, James Noble

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

In today’s complex software, internal trusted code is tightly intertwined with external untrusted code. To reason about internal code, programmers must reason about the potential effects of calls to external code, even though that code is not trusted and may not even be available. The effects of external calls can be limited if internal code is programmed defensively, limiting potential effects by limiting access to the capabilities necessary to cause those effects. This paper addresses the specification and verification of internal code that relies on encapsulation and object capabilities to limit the effects of external calls. We propose new assertions for access to capabilities, new specifications for limiting effects, and a Hoare logic to verify that a module satisfies its specification, even while making external calls. We illustrate the approach though a running example with mechanised proofs, and prove soundness of the Hoare logic.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot2889,
  title = {Reasoning about External Calls},
  author = {Sophia Drossopoulou and Julian Mackay and Susan Eisenbach and James Noble},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA2},
  year = {2025},
  doi = {10.1145/3763064}
}