Perl cannot access an absolute physical memory address.
In "C" there are ways to "map" a piece of physical memory to an array - maybe for memory mapped I/O?
But such a thing has to run as a kernel process (device driver, etc).
A user process like Perl simply cannot do it. Thats it.
A user process can access its own DATA space, but this is an offset from a physical address of which the user process is completely unaware - the hardware does some magic. Since Perl is a "user" process, it cannot know and it cannot access an actual physical memory address like say, "0x000" - the OS will prevent such a thing - its just that simple. NO, Absolutely NOT!
In reply to Re: How to access the contents of a specific memory address?
by Marshall
in thread How to access the contents of a specific memory address?
by pat_mc
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |