A fully verified container library

作者:Polikarpova Nadia; Tschannen Julian; Furia Carlo A*
来源:Formal Aspects of Computing, 2018, 30(5): 495-523.
DOI:10.1007/s00165-017-0435-1

摘要

The comprehensive functionality and nontrivial design of realistic general-purpose container libraries pose challenges to formal verification that go beyond those of individual benchmark problems mainly targeted by the state of the art. We present our experience verifying the full functional correctness of EiffelBase2: a container library offering all the features customary in modern language frameworks, such as external iterators, and hash tables with generic mutable keys and load balancing. Verification uses the automated deductive verifier AutoProof, which we extended as part of the present work. Our results indicate that verification of a realistic container library (135 public methods, 8400 LOC) is possible with moderate annotation overhead (1.4 lines of specification per LOC) and good performance (0.2 s per method on average).

  • 出版日期2018-9
  • 单位MIT