Exemple #1
0
        /// <summary>
        /// Creates program point graph for native analyzer
        /// </summary>
        /// <param name="analyzer">Native analyzer</param>
        /// <returns>Created program point graph</returns>
        internal static ProgramPointGraph FromNative(NativeAnalyzer analyzer)
        {
            var basicBlock = new BasicBlock();

            basicBlock.AddElement(analyzer);
            return(new ProgramPointGraph(basicBlock, analyzer));
        }
Exemple #2
0
 /// <inheritdoc />
 public FunctionValue CreateFunction(Name name, NativeAnalyzer analyzer)
 {
     return(Snapshot.CreateFunction(name, analyzer));
 }