发明授权
- 专利标题: Program verification and discovery using probabilistic inference
- 专利标题(中): 使用概率推理的程序验证和发现
-
申请号: US11622904申请日: 2007-01-12
-
公开(公告)号: US07729999B2公开(公告)日: 2010-06-01
- 发明人: Sumit Gulwani , Vladimir Jojic , Nebojsa Jojic
- 申请人: Sumit Gulwani , Vladimir Jojic , Nebojsa Jojic
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Workman Nydegger
- 主分类号: G06F15/18
- IPC分类号: G06F15/18
摘要:
In one embodiment, a computer system performs a method for verifying the validity or invalidity of a software routine by learning appropriate invariants at each program point. A computer system chooses an abstract domain that is sufficiently precise to express the appropriate invariants. The computer system associates an inconsistency measure with any two abstract elements of the abstract domain. The computer system searches for a set of local invariants configured to optimize a total inconsistency measure which includes a sum of local inconsistency measures. The computer system optimizes the total inconsistency measure for all input/output pairs of the software routine. In one embodiment, the optimization of total inconsistency is achieved by the computer system which repeatedly replaces a locally inconsistent invariant with a new invariant, randomly selected among the possible invariants which are locally less inconsistent with the current invariants at the neighboring program points.
公开/授权文献
信息查询