Пример #1
0
 public static void Rewrite(Program program)
 {
     var crw = new CallRewriter(program);
     foreach (Procedure proc in program.Procedures.Values)
     {
         crw.RewriteCalls(proc);
         crw.RewriteReturns(proc);
     }
 }
Пример #2
0
        public static void Rewrite(Program program)
        {
            var crw = new CallRewriter(program);

            foreach (Procedure proc in program.Procedures.Values)
            {
                crw.RewriteCalls(proc);
                crw.RewriteReturns(proc);
            }
        }
Пример #3
0
 public static void Rewrite(Program program, DecompilerEventListener listener)
 {
     var crw = new CallRewriter(program);
     foreach (Procedure proc in program.Procedures.Values)
     {
         if (listener.IsCanceled())
             break;
         crw.RewriteCalls(proc);
         crw.RewriteReturns(proc);
     }
 }
Пример #4
0
        public static void Rewrite(Program program, DecompilerEventListener listener)
        {
            var crw = new CallRewriter(program);

            foreach (Procedure proc in program.Procedures.Values)
            {
                if (listener.IsCanceled())
                {
                    break;
                }
                crw.RewriteCalls(proc);
                crw.RewriteReturns(proc);
            }
        }