首页> 外国专利> Withdrawal by retrospective symbolic design

Withdrawal by retrospective symbolic design

机译:通过追溯符号设计退出

摘要

Possible values for a computed destination address of an execution transfer instruction are found by a backward search through a flowgraph of a program. During the search, a symbolic expression for the destination address is successively modified to reflect the effect of each prior instruction until the symbolic expression represents an absolute or program-counter relative address, or until the search can no longer continue. The search can no longer continue, for example, when an instruction is reached that affects the value of the expression in an indefinite way. When backward symbolic execution reaches the entry point of a block in the flowgraph, backward symbolic execution proceeds backward to each predecessor block that has not already been examined for the execution transfer instruction. Therefore multiple definite values as well as a value of "unknown" may be found for a computed destination address. Preferably backward symbolic execution is performed while constructing the flowgraph, in order to find the locations of additional instructions. As additional instructions are found, new blocks and new paths between blocks are added to the flowgraph. Backward symbolic execution is repeated when the new paths may provide additional values for the computed destination addresses.
机译:通过对程序流程图的向后搜索,可以找到执行转移指令的计算出的目标地址的可能值。在搜索过程中,将连续修改目标地址的符号表达式,以反映每个先前指令的效果,直到该符号表达式表示绝对或程序计数器的相对地址,或者直到搜索不再继续为止。例如,当到达一条以不确定方式影响表达式值的指令时,搜索将不再继续。当后向符号执行到达流程图中某个块的入口点时,后向符号执行将向后进行到尚未检查过执行转移指令的每个先前块。因此,可以为计算出的目的地地址找到多个确定值以及“未知”值。优选地,在构造流程图时执行后向符号执行,以便找到附加指令的位置。找到其他说明后,新的块和块之间的新路径将添加到流程图中。当新路径可能为计算出的目标地址提供附加值时,将重复执行向后符号执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号