implement symbolic execution without model-checking

社会主义新天地 提交于 2019-12-01 13:12:12

You need:

  • A parser for the language to be symbolically executed that can build ASTs
  • Name resolution (and associated symbol tables), so when your execution engine encounters an identifier it can determine the associated type and value
  • Control flow analysis, so that the symbolic execution engine can follow flow of control through the program
  • A symbolic algebra that can compose and simplify symbolic terms. This needs a parser (so you can enter such equations) and prettyprinter (so you can see what it computes)
  • A way to specify assumed values at the point of symbolic execution start

This is rather a lot of machinery, and it is hard to find it all in one place. It is harder to build it all just for one tool, which is part of the reason you don't find many tools like this.

Our DMS Software Reengineering Toolkit has all the requisites. You may find an example of a symbolic language implemented with DMS interesting.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!