Beispiel #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);
        }
Beispiel #2
0
 public virtual void LoadMemLayout()
 {
     TheMemoryLayout.Load(UserMode);
 }
Beispiel #3
0
 public static void DisableAccessToMemoryOfProcess(MemoryLayout OriginalMemoryLayout)
 {
     ProcessManager.CurrentProcess.TheMemoryLayout = OriginalMemoryLayout;
     OriginalMemoryLayout.Load(ProcessManager.CurrentProcess.UserMode);
 }