Exemplo n.º 1
0
        public async Task <CallGraph <MethodDescriptor, LocationDescriptor> > Analyze()
        {
            //var analyzer = SolutionAnalyzer.CreateFromSolution(solutionFileName);
            await analyzer.AnalyzeAsync(AnalysisStrategyKind.ONDEMAND_ORLEANS);

            var callgraph = await analyzer.GenerateCallGraphAsync();

            return(callgraph);
        }
Exemplo n.º 2
0
        private void GenerateCallGraph()
        {
            Console.WriteLine("Generating call graph...");

            var callgraph = analyzer.GenerateCallGraphAsync().Result;

            callgraph.Save(CallGraphPath);

            Console.WriteLine("Call graph generated successfully.");
        }
Exemplo n.º 3
0
        public async Task GenerateCallGraphAsync(string outputPath)
        {
            var callgraph = await analyzer.GenerateCallGraphAsync();

            callgraph.Save(outputPath);
        }