public static void Rewrite(Program program) { var crw = new CallRewriter(program); foreach (Procedure proc in program.Procedures.Values) { crw.RewriteCalls(proc); crw.RewriteReturns(proc); } }
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); } }
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); } }