首页> 外国专利> Determining control flow divergence due to variable value difference

Determining control flow divergence due to variable value difference

机译:确定由于变量值差异而引起的控制流分歧

摘要

An embodiment is directed to a method for analyzing a computer program that includes receiving an instruction specifying a first variable of the program. The first variable has a first value at a first location during program execution. The instruction further specifies a second value for the first variable at the first location. The method includes determining that a second location during program execution includes a conditional control flow instruction that includes the first variable. In addition, the method includes evaluating the conditional control flow instruction using the first and second values of the first variable at the second location. It may be determined whether control flow diverges at the second location based on the evaluating of the conditional control flow instruction using the first and second values at the second location.
机译:一个实施例针对一种用于分析计算机程序的方法,该方法包括:接收指定该程序的第一变量的指令。在程序执行期间,第一变量在第一位置具有第一值。该指令进一步在第一位置为第一变量指定第二值。该方法包括确定程序执行期间的第二位置包括条件控制流指令,该条件控制流指令包括第一变量。另外,该方法包括在第二位置使用第一变量的第一和第二值来评估条件控制流指令。可以基于使用第二位置处的第一值和第二值对条件控制流指令的评估,来确定控制流是否在第二位置处发散。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号