コード例 #1
0
ファイル: Block.cs プロジェクト: kidhudi/de4dot
 public void remove(int index, int num)
 {
     if (index + num > instructions.Count)
     {
         throw new ApplicationException("Overflow");
     }
     if (num > 0 && index + num == instructions.Count && LastInstr.isConditionalBranch())
     {
         disconnectFromFallThroughAndTargets();
     }
     instructions.RemoveRange(index, num);
 }
コード例 #2
0
ファイル: Block.cs プロジェクト: kidhudi/de4dot
 // Returns true if it's a conditional branch
 public bool isConditionalBranch()
 {
     return(LastInstr.isConditionalBranch());
 }