首页> 外国专利> Determining guarding predicate from partition graph based deduction to generate inverse predicate expression for branch reversal

Determining guarding predicate from partition graph based deduction to generate inverse predicate expression for branch reversal

机译:从基于分区图的推导确定保护谓词,以生成用于分支反转的逆谓词表达式

摘要

Described is a method that identifies a predicate expression representing conditions in predicated assembly language instructions that determine a direction of a conditional branch instruction. The predicate expression is employed to enable a transformation to be made that causes the conditional branch instruction to trigger, or execute, when an opposite condition is true. A method is directed to producing a binary-level conditional branch reversal within a binary program on a computer architecture that supports a predicated execution. The method includes obtaining a predicate expression representing a condition that influences a direction of program flow of the binary-level conditional branch to be reversed, determining a binary-level transformation that causes the binary-level conditional branch to be triggered when an opposite condition is true, and modifying the binary-level conditional branch with the determined binary-level transformation, wherein the binary-level conditional branch is reversed.
机译:所描述的是一种方法,该方法识别表示谓语的谓词表达式,该谓词表示确定条件分支指令的方向的谓词汇编语言指令中的条件。谓词表达式用于实现一种转换,当条件相反时,转换将导致条件分支指令触发或执行。一种方法针对在支持谓词执行的计算机体系结构上的二进制程序内产生二进制级条件分支反转。该方法包括:获得表示条件的谓词表达式,该条件影响要反转的二进制级条件分支的程序流的方向;确定二进制级变换,该二进制级变换使得在相反条件为条件时触发二进制级条件分支。如果是,则使用确定的二进制级转换来修改二进制级条件分支,其中将二进制级条件分支反转。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号