예제 #1
0
        public static SymbolEntity New(DbgEntityDescriptor aDescriptor, FSEntity aFSEntity)
        {
            SymbolEntity ret = null;

            // Validate that it's a supported file
            if (aFSEntity.Exists && aFSEntity.IsFile)
            {
                string          type         = string.Empty;
                DbgEngine       engine       = aDescriptor.Engine;
                DbgEngineSymbol symbolEngine = engine.Symbols;
                bool            supported    = symbolEngine.IsSupported(aFSEntity.FullName, out type);
                //
                if (supported)
                {
                    ret = new SymbolEntity(aDescriptor, aFSEntity);
                }
            }
            //
            return(ret);
        }
예제 #2
0
 private void FindImplementationSymbols()
 {
     iSymbols = DbgEngineSymbol.New(iEngine);
     System.Diagnostics.Debug.Assert(iSymbols != null);
 }