首页> 外国专利> System and method for generating a predicate abstraction of a program

System and method for generating a predicate abstraction of a program

机译:用于生成程序的谓词抽象的系统和方法

摘要

Described is a method that enables the automatic generation of a boolean program that is a predicate abstraction of a program written using a general programming language. The method is capable of abstracting code statements within the program that include procedure calls, assignments, goto statements, conditionals, and pointers. In accordance with the invention, predicates of interest are identified for each code statement in the program. For each particular code statement, the process generates predicate statements that describe an effect that the statement has on the predicates of interest. If the effect of a particular code statement is indeterminable, non-deterministic predicate statements are included in the boolean program to model the indeterminable nature of the code statement. In addition, if a particular code statement includes a procedure call, the arguments and return value of the procedure call are translated to associated predicates in the calling context.
机译:描述了一种能够自动生成布尔程序的方法,该布尔程序是使用通用编程语言编写的程序的谓词抽象。该方法能够抽象程序中的代码语句,包括过程调用,赋值,goto语句,条件和指针。根据本发明,为程序中的每个代码语句标识感兴趣的谓词。对于每个特定的代码语句,该过程都会生成谓词语句,这些语句描述了该语句对目标谓词的影响。如果特定代码语句的影响是不确定的,则布尔程序中将包含非确定性谓词语句,以对代码语句的不确定性质进行建模。另外,如果特定的代码语句包括过程调用,则过程调用的参数和返回值将转换为调用上下文中的关联谓词。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号