Ejemplo n.º 1
0
        public unsafe void LoadModule(ICorDebugAppDomain pAppDomain, ICorDebugModule pModule)
        {
            EnterCallback(PausedReason.Other, "LoadModule", pAppDomain);

            process.AddModule(pModule);

            ExitCallback_Continue();
        }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
        }