Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Welcome to the world of virtual memory, a key concept in computer science that allows your operating system to create the illusion of having more memory than physically available. Let's embark on this journey to understand what exactly virtual memory is, how it works, and its significance.

Welcome to virtual memory: OS's illusion of limitless RAM. Understanding paging: Disk Paging and Demand Paging. Virtual Address Space: Indirect, private memory access. User vs Kernel mode: Robust security, complex interaction. Mastering Virtual Memory: Optimal system resource usage. 

Files

Previews only

🛠️ Windows Virtual Memory Explained 📚 Windows Internals 💻

🔥 Learn How Virtual Memory Works on Windows Operating System 👨‍💻 Buy Our Courses: https://guidedhacking.com/register/ 💰 Donate on Patreon: https://patreon.com/guidedhacking ❤️ Follow us on Social Media: https://linktr.ee/guidedhacking 🔗 Article Link: https://guidedhacking.com/threads/windows-virtual-memory-explained-windows-internals.20362/ 📜 Video Description: Virtual memory is an essential concept in computer science that allows an operating system to create the illusion of having more memory than what is physically available. This Virtual Memory tutorial' explains how Windows uses this system, giving a glimpse into the Windows Internals. At the core of virtual memory is the concept of paging. Both virtual and physical memory are divided into four-kilobyte chunks, known as pages in virtual memory and page frames in physical memory. Windows employs two types of paging: disk paging with clustering and demand paging. In Disk Paging, when the system requires more physical memory than available, the memory manager moves unused memory pages to special files called page files on disk to free up memory, a process known as paging out memory. The memory addresses remain valid, and when required, the operating system retrieves the page from the page file and moves it back into physical memory. Demand Paging is used when a thread requests memory allocation. The memory manager does not immediately allocate memory but instead returns a pointer to memory that has yet to be allocated. The memory is allocated only when accessed. This method is used because programs may request memory that they never access or use, and keeping such pages in memory wastes system resources. The Windows Virtual Memory system also involves the concept of virtual address space. Operating systems like Windows do not allow direct access to physical memory. Instead, they provide indirect access to a private virtual address space that each process has. The virtual address space of each process is private, and a process cannot access the virtual address space of another process. Understanding 'Windows Internals', the address space in a 64-bit processor is divided into two parts: the user mode address space and the kernel mode address space. The user mode address space is reserved for non-critical information related to a process, while the kernel mode address space is allocated to store more crucial information. To ensure system security, Windows has a protection mechanism called Data Execution Prevention (DEP), which prevents malicious software from executing memory pages as code. The Windows Virtual Memory tutorial also provides a practical guide to allocating and using virtual memory using the Windows API. It explains the function used to allocate virtual memory and the arguments of this function. It also provides example code that uses virtual allocation to allocate memory. This tutorial, like many Virtual Memory tutorials, offers a comprehensive insight into the Windows Internals, showcasing how the Windows Virtual Memory system operates, thus illuminating a crucial aspect of computer science. 📝 Timestamps: 0:00 Introduction to Virtual Memory 0:15 Understanding Paging 0:46 Disk Paging Explained 1:26 Demand Paging 1:52 Virtual Address Space 2:10 Join GuidedHacking.com 2:40 Virtual Address Continued 3:57 Data Execution Prevention 4:37 Allocating Virtual Memory 6:24 Example Code 6:55 Conclusion ✏️ Virtual Memory Tutorial Tags: #windowsinternals Virtual Memory Paging #reverseengineering Virtual Memory Explained #virtualmemory

Comments

No comments found for this post.