コード例 #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);
            }
        }