Ejemplo n.º 1
0
        public void LoadModule(string module, ulong addr)
        {
            string realPath = mFileMap.GetFilePathFromShortName((Path.GetFileNameWithoutExtension(module) + ".nostrip").ToUpper());

            if (realPath != null)
            {
                long loadResult = DbgHelp.SymLoadModuleEx
                                      (hProcess,
                                      IntPtr.Zero,
                                      realPath,
                                      null,
                                      addr,
                                      0,
                                      IntPtr.Zero,
                                      0);
            }
        }