Garbage collector verification for proof-carrying code

作者:Lin Chun Xiao*; Chen Yi Yun; Li Long; Hua Bei
来源:Journal of Computer Science and Technology, 2007, 22(3): 426-437.
DOI:10.1007/s11390-007-9049-z

摘要

We present the verification of the machine-level implementation of a conservative variant of the standard mark-sweep garbage collector in a Hoare-style program logic. The specification of the collector is given on a machine-level memory model using separation logic, and is strong enough to preserve the safety property of any common mutator program. Our verification is fully implemented in the Coq proof assistant and can be packed immediately as foundational proof-carrying code package. Our work makes important attempt toward building fully certified production-quality garbage collectors.