The presence of subroutines in the form of procedures or functions is as important as it is challenging from the point of view of verification. The challenges include, for instance, the treatment of recursive calls (another possible source of non-termination of program execution) and parameters. The presence of functions, on the other hand, complicates the treatment of expression evaluation, which may now be non-terminating. Also, since expressions may contain multiple function calls, side effects have to be carefully considered.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Procedures and Contracts

  • José Bacelar Almeida,
  • Maria João Frade,
  • Jorge Sousa Pinto,
  • Simão Melo de Sousa

摘要

The presence of subroutines in the form of procedures or functions is as important as it is challenging from the point of view of verification. The challenges include, for instance, the treatment of recursive calls (another possible source of non-termination of program execution) and parameters. The presence of functions, on the other hand, complicates the treatment of expression evaluation, which may now be non-terminating. Also, since expressions may contain multiple function calls, side effects have to be carefully considered.