Exemple #1
0
        } // end property IsAbstract


        public static DbgFunctionTypeInfo GetFunctionTypeInfo(DbgEngDebugger debugger,
                                                              DbgModuleInfo module,
                                                              uint typeId)
        {
            if (null == debugger)
            {
                throw new ArgumentNullException("debugger");
            }

            if (null == module)
            {
                throw new ArgumentNullException("module");
            }

            RawFuncInfo rfi = DbgHelp.GetFuncInfo(debugger.DebuggerInterface, module.BaseAddress, typeId);

            return(new DbgFunctionTypeInfo(debugger,
                                           module,
                                           typeId,
                                           rfi.FuncName,
                                           rfi.FunctionTypeTypeId,
                                           rfi.OwningClassTypeId,
                                           rfi.ChildrenCount,
                                           rfi.Address,
                                           rfi.Length,
                                           rfi.VirtualBaseOffset,
                                           rfi.SymIndex));
        } // end GetFunctionTypeInfo()