예제 #1
0
        public unsafe void LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
        {
            EnterCallback(PausedReason.Other, "LoadModule", pAppDomain);

            process.AddModule(pModule);

            ExitCallback_Continue();
        }
예제 #2
0
 internal LoadDllNativeEvent(
     NativePipeline pipeline,
     ref DebugEventHeader header,
     ref DebugEventUnion union
 )
     : base(pipeline, ref header, ref union)
 {
     Process.AddModule(new NativeDbgModule(Process, ReadImageName(), BaseAddressWorker, union.LoadDll.hFile));
 }
예제 #3
0
        internal CreateProcessDebugEvent(
            NativePipeline pipeline,
            ref DebugEventHeader header,
            ref DebugEventUnion union
        )
            : base(pipeline, ref header, ref union)
        {
            Process.InitHandle(union.CreateProcess.hProcess);

            // Module name of main program is unavailable.
            Process.AddModule(new NativeDbgModule(Process, "<main program>", union.CreateProcess.lpBaseOfImage, union.CreateProcess.hFile));
        }