delphi - Reading arbitrary memory locations? Possible? -


Is there any way to use any arbitrary memory space to avoid participating in an access violation? I thought that each process has its own virtual address space and it can read all the available memory places ... does not seem to be because my program is hanging if I do something like this

  var IntPtr: PInteger; Unitega: Integer; ... IntPtr: $ 100; AnInteger: = IntPtr ^;  

I am still trying to write down my lower level recursive function and trying to find out if a data member is an object reference or not.

Thank you!

You can only access the memory of your own process through pointers, and still It is only in those parts that are mapped for your process. Debugger hooks will give you access to other processes memory; But they are difficult to get right.

So if you really want to recreate your process through memory, then you can probably find the tasks you need here:

AFAIR also in the Air Force The part of the kernel is mapped to your process memory space (which is the reason all 4G is not available for your process).


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -