The Design and Implementation of Program Verification Tools Base on Invariants

Author
TianFeng
Advisor
DengShengLan
School
National University of Defense Science and Technology
Major
Computer technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2011
Downloads
21
Citations
0

Request the full text

Abstract

With the rapid development of computer science, software plays an increasingly important role in people’s daily life, so the correctness verification of software program got a great deal attention in academic domain. Termination and safety verification are two important parts of program correctness verification, based on Mathematica and generation of invariant, we design and implement a tool for termination and safety verification. The main contributions are summarized as follows:1. The implementation of automatic program invariants generation. Based on Mathematica, we have designed and implemented a tool for automatic program invariant generation, which constructs the linear invariants using CILinear and constructs the polynomial loop invaraints using Aligator. The constructed invariants describe the relationships among the loop program variables, and provide the computation basis for the program correctness verification.2. The implementation of termination verification. First we instrument a counter into program loop to record loop times. Then constructed invariant sets as constraint system and whether counter have minimum as objective function, we transform the termination verification problem into an optimization problem, based on the optimization problem-solving function Minimize in Mathematica, we can not only effectively complete the termination verification, but also generate the exact complexity bound of program loops.3. The implementation of safety verification. First we instrument the assume and statements, establish the propositions for safety verification, construct the verification conditions with the set of invariants, transform the verification of safety into the verification of the validity of the logic formula that the invariants imply the the propositions characterizing safety. Then based on the theorem prover PCS in Theorema, the logical formula can be constructed from a set of invariants implying a formula which specifies the safety property. We can effectively implement the safety verification of program.

Related dissertations

  1. Study on Program Verification
  2. Program Verification Based on Computer Algebra
    ZhangZhiHai ·Beijing University ·2011 ·Doctoral dissertation
  3. Research on the Influence Factors of Fast Moving Consumer Goods Brand Extension
    MengQingJi ·Nanjing University of Technology ·2012 ·Master's thesis
  4. CTL (TJ) Co.Ltd Responsible Care Project Implementation Analysis
    ZhengWenZuo ·Hebei University of Technology ·2012 ·Master's thesis
  5. On the Institutional Cultural Construction of Housing Fund Management Center
    GuoZiBin ·Yunnan University ·2012 ·Master's thesis
  6. Study on Safe Management of Fresh Food in Supermarkets
  7. Research on System of Food Safety Inspection and Risk Monitoring
    LiuShuang ·Tianjin University ·2012 ·Master's thesis
  8. Safety Design of Distributed Control System for a PVC Production Process
    WangBo ·Zhejiang University of Technology ·2013 ·Master's thesis
  9. Research on Modular Reuse of SHIF-Based Ontology
    XuLianJun ·Central South University ·2013 ·Master's thesis
  10. Research on Projective Invariants in Computer Vision
    WangYuanBin ·Northeastern University ·2010 ·Doctoral dissertation
  11. Design and Implementation of MinSheng Bank Taiyuan Branch Business Supervision System
    LiangZhiWei ·Dalian University of Technology ·2013 ·Master's thesis
  12. The Research and Implementation of a Safe Family Private Cloud
  13. Research on Security System of Competitive Sports in China
    ChenLi ·Hunan University ·2013 ·Master's thesis
  14. Guangzhou Panyu District primary school sports teaching safety investigation section
    ZuoJinMeng ·Guangzhou University ·2013 ·Master's thesis
  15. Discussion on Safety Production in Administrative Punishment of Illegal Income Determination
    ZhouYing ·Ningbo University ·2012 ·Master's thesis
  16. Legal Regulation Study on Genetically Modified Food Safety
    HuangZuo ·Guangxi University ·2013 ·Master's thesis
  17. Study on the Problem of the Public Traffic Safety Education
    FengYinJun ·Shanxi University of Finance ·2014 ·Master's thesis
  18. Yong Nian Police Custody Safety Management Case Study
    MaZuoAng ·Hebei University of Technology ·2012 ·Master's thesis
  19. A Study on the Women's Safety in Contemporary Indian Society
    ChenHuan ·Central China Normal University ·2014 ·Master's thesis
  20. Study on Ethics of the Safety of Genetically Modified Food
    HouZuo ·Wuhan University of Technology ·2013 ·Master's thesis