A Program Logic for First-Order Encapsulated WebAssembly
A Program Logic for First-Order Encapsulated WebAssembly
复制标题
一阶封装 WebAssembly 的程序逻辑
DOI:
10.4230/lipics.ecoop.2019.9
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Philippa Gardner
中科院分区:
文献类型:
--
作者:
Conrad Watt;P. Maksimovic;N. Krishnaswami;Philippa Gardner
We introduce Wasm Logic, a sound program logic for first-order, encapsulated WebAssembly. We design a novel assertion syntax, tailored to WebAssembly's stack-based semantics and the strong guarantees given by WebAssembly's type system, and show how to adapt the standard separation logic triple and proof rules in a principled way to capture WebAssembly's uncommon structured control flow. Using Wasm Logic, we specify and verify a simple WebAssembly B-tree library, giving abstract specifications independent of the underlying implementation. We mechanise Wasm Logic and its soundness proof in full in Isabelle/HOL. As part of the soundness proof, we formalise and fully mechanise a novel, big-step semantics of WebAssembly, which we prove equivalent, up to transitive closure, to the original WebAssembly small-step semantics. Wasm Logic is the first program logic for WebAssembly, and represents a first step towards the creation of static analysis tools for WebAssembly.
DOI:
10.1145/964001.964024
发表时间:
2004-01
期刊:
Proceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages
影响因子:
--
作者:
P. O'Hearn;Hongseok Yang;J. C. Reynolds
通讯作者:
P. O'Hearn;Hongseok Yang;J. C. Reynolds
DOI:
10.1007/978-3-319-06200-6_8
发表时间:
2014
期刊:
影响因子:
--
作者:
Björn Bartels;Nils Jähnig
通讯作者:
Nils Jähnig
影响因子:
--
作者:
Fragoso Santos J
通讯作者:
Fragoso Santos J