CS420 6 - What is Virtual Memory ? Full Course
Support us on Patreon: http://bit.ly/38mnveC
CS420 6 What is Virtual Memory ? - Part of our complete game hacking course
When a executable file is loaded into memory it's given it's own area of virtual memory. Virtual memory addresses do not directly relate to physical memory. Virtual Memory allows the operating system to be efficient with memory usage. It doesn't need contiguous physical memory, contiguous virtual memory addresses can map to non-contiguous physical memory. Variables don't appear in the same address every time because of how virtual memory works.
What is virtual memory? Virtual Memory is the process of loading an executable file into RAM also known as Random Access Memory, giving each part of the executable file memory addresses for objects, variables, functions, and much more. A simplification of Virtual Memory is the limit of how much RAM a program can use!
In the first part of this Virtual Memory course, we will discuss how virtual memory is mapped to RAM from a physical disk via an executable file. The mapped executable file in RAM will have certain parts loaded, first the Virtual Memory will show the copied executable file in its entirety. In the next part of this Virtual Memory course, we will show that the executable file has different sections also known as Data and Code. The most important thing to take away from this part is that the section Code can create new data outside of the copied executable file. Once the executable is loaded into Virtual Memory its code will start running and the code could create more sections of data such as a world pointer, or a user interface, or a player class which will include your health, ammo, and the players x y z. Next in the virtual memory course we map out a diagram of Virtual Memory showing the entirety of its copied exe, and how the copied executable will create new objects that we can scope out in cheat engine. Then we will look at an executables file from software known as HxD, a hex editor, we will find some data that we can read in English. Such as, This program cannot run in DOS mode, and the sections .data, .rdata, and .text. Then we open cheat engine to view the Virtual Memory that was copied from our physical disk into the RAM, finding the copied executables sections, .data, .rdata, and .text. The last part of this Virtual Memory course will show you how programmers will sometimes code inefficient creating two instances of a players health object, but it makes it easier to program.
That wraps up todays Virtual Memory course, we went over the following topics, how an executable is loaded into RAM. The different types of sections in the copied executable to RAM .rdata, .text, and .data. The course also goes over how to find readable data in an Hex Editor and how to find it in cheat engine the same way.
Discussion & Download : http://bit.ly/2v4HsHX
Donate on our Forum : http://bit.ly/2HkOco9
Support us on Patreon : http://bit.ly/38mnveC
Follow us on Facebook : http://bit.ly/2vvHfhk
Follow us on Twitter : http://bit.ly/3bC7J1i
Follow us on Twitch : http://bit.ly/39ywOZ2
Follow us on Reddit : http://bit.ly/3bvOB57
Follow us on GitHub : http://bit.ly/2HoNXIS
Follow us on Instagram : http://bit.ly/2SoDOlu
https://guidedhacking.com