首页    期刊浏览 2024年09月19日 星期四
登录注册

文章基本信息

  • 标题:Simulating Reachability Using First-order Logic with Applications to Verification of Linked Data Structures
  • 本地全文:下载
  • 作者:Tal Lev-Ami ; Neil Immerman ; Thomas W Reps
  • 期刊名称:Logical Methods in Computer Science
  • 印刷版ISSN:1860-5974
  • 电子版ISSN:1860-5974
  • 出版年度:2009
  • 卷号:5
  • 期号:02
  • DOI:10.2168/LMCS-5(2:12)2009
  • 出版社:Technical University of Braunschweig
  • 摘要:

    This paper shows how to harness existing theorem provers for first-order logic to automatically verify safety properties of imperative programs that perform dynamic storage allocation and destructive updating of pointer-valued structure fields. One of the main obstacles is specifying and proving the (absence) of reachability properties among dynamically allocated cells. The main technical contributions are methods for simulating reachability in a conservative way using first-order formulas--the formulas describe a superset of the set of program states that would be specified if one had a precise way to express reachability. These methods are employed for semi-automatic program verification (i.e., using programmer-supplied loop invariants) on programs such as mark-and-sweep garbage collection and destructive reversal of a singly linked list. (The mark-and-sweep example has been previously reported as being beyond the capabilities of ESC/Java.)

  • 关键词:Verification;Data Structures;Applications;Safety Properties
国家哲学社会科学文献中心版权所有