发明申请
- 专利标题: Determining whether method of computer program is a validator
- 专利标题(中): 确定计算机程序的方法是否为验证程序
-
申请号: US12950432申请日: 2010-11-19
-
公开(公告)号: US20120131669A1公开(公告)日: 2012-05-24
- 发明人: Takaaki Tateishi , Marco Pistoia , Omer Tripp , Ryan Berg , Robert Wiener
- 申请人: Takaaki Tateishi , Marco Pistoia , Omer Tripp , Ryan Berg , Robert Wiener
- 主分类号: G06F21/00
- IPC分类号: G06F21/00
摘要:
An illegal pattern and a computer program having a method are received. The method has one or more return statements, and a number of basic blocks. The method is normalized so that each return statement of the target method relating to the illegal pattern returns a constant Boolean value. A first path condition and a second path condition for one or more corresponding paths is determined such that one or more corresponding basic blocks return a constant Boolean value of true for the first path condition and a constant Boolean value of false for the second path condition. An unsatisfiability of each path condition is determined using a monadic second-order logic (M2L) technique. Where the unsatisfiability of either path condition is false, the method is reported as not being a validator. Where the unsatisfiability of either path condition is true, the method is reported as being a validator.
公开/授权文献
信息查询