+ 1
Can I Dump data from RAM?
I wants to dump data from RAM using C programming language. And I also wants to use custom memory address in pointer. Can I do that? I think I can. But don't know how I can.
6 Respostas
+ 3
You likely won't be able to dump data from the RAM, at least not a significant amount. The OS manages the virtual address space for each program and kills it when it accesses memory it doesn't own. Linux is very strict with this and you'll instantly receive a segmentation fault while Windows might take a bit longer to kill your program.
+ 3
Yo!
Martin Taylor
Aaron Eberhardt
I know that modern OS assign a virtual memory space to every program which runs.
But what about Windows XP ?? Does Windows XP also assign memory space to programs ???
And, Will this program work in XP or DOS or any other OS ???
And what about use of USB as RAM in Windows, can I do something within it ???
https://code.sololearn.com/cy64Ffx1k6AP/?ref=app
+ 2
It looks like I will have to study very much more to do that.
😅😄😅😄
+ 2
Shail Murtaza I guess Windows XP can be counted as a modern OS, even Windows 10 still has many components from the NT kernel in XP. Actually virtual address spaces dates back to very early Windows versions. Maybe you program will "work" in old DOS versions but probably not in Windows except for very early versions. I don't know about using USB as RAM in Windows but it's definitely possible with Linux. But even if it's possible it's so slow that your PC will become unusable.
+ 1
Aaron Eberhardt
I have program named "Cheat Engine" which can do it. I also can change values of program in RAM.
It is written in Object Pascal and C programming language.
0
Shail Murtaza that's right, I forgot that Windows seems to have that possibility for some reason... which of course is a huge security nightmare. I'm pretty sure Linux always prevents such behaviour.