I want to be able to type down a hex address and to see what's in this particular memory address. How can I do this using visual studio?
Asked
Active
Viewed 160 times
-1
-
@YuvalCohen: are you talking about physical addresses or process address space. – Mat Oct 15 '11 at 17:31
-
@YuvalCohen : gdb or ptrace()? :) – user2284570 May 11 '14 at 22:20
1 Answers
0
You can't access physical memory from a user-level program, only from the kernel.
Besides, your quest is meaningless: the kernel may assign e.g. physical page 123
to Internet explorer at one instance in time, and to Adobe Photoshop the next. So what would you gain by knowing that physical address 0x1234000
contained value 0x222
at the instant when you examined it (if you could).

Employed Russian
- 199,314
- 34
- 295
- 362