예제 #1
0
        public void Analyze(Program program)
        {
            var gr = new ProcedureGraph(program);

            foreach (var proc in new DfsIterator <Procedure>(gr).PostOrder())
            {
                Analyze(proc);
            }
        }
예제 #2
0
        public void Analyze(Program program)
        {
            var gr = new ProcedureGraph(program);

            foreach (var proc in new DfsIterator <Procedure>(gr).PostOrder())
            {
                if (this.eventListener.IsCanceled())
                {
                    break;
                }
                Analyze(proc);
            }
        }