Esempio n. 1
0
        public static MemoryLayout EnableAccessToMemoryOfProcess(Process ProcessToAccess)
        {
            MemoryLayout OriginalMemoryLayout = ProcessManager.CurrentProcess.TheMemoryLayout;
            MemoryLayout NewMemoryLayout      = ProcessManager.CurrentProcess.TheMemoryLayout.Merge(ProcessToAccess.TheMemoryLayout);

            ProcessManager.CurrentProcess.TheMemoryLayout = NewMemoryLayout;
            NewMemoryLayout.Load(ProcessManager.CurrentProcess.UserMode);
            return(OriginalMemoryLayout);
        }
Esempio n. 2
0
 public virtual void LoadMemLayout()
 {
     TheMemoryLayout.Load(UserMode);
 }
Esempio n. 3
0
 public static void DisableAccessToMemoryOfProcess(MemoryLayout OriginalMemoryLayout)
 {
     ProcessManager.CurrentProcess.TheMemoryLayout = OriginalMemoryLayout;
     OriginalMemoryLayout.Load(ProcessManager.CurrentProcess.UserMode);
 }