memN0ps / illusion-rs

Rusty Hypervisor - Windows UEFI Blue Pill Type-1 Hypervisor in Rust (Codename: Illusion)
MIT License
228 stars 27 forks source link

Optimize Memory Management for EPT Hooks #25

Closed memN0ps closed 4 months ago

memN0ps commented 4 months ago

Description:

This PR significantly enhances the memory management strategy for Extended Page Table (EPT) hooks within the hypervisor framework. By integrating the heapless crate. A system is established where all memory allocations are pre-allocated and fixed, which not only improves stability but also boosts performance during runtime. The update facilitates precise mapping of guest page physical addresses to their corresponding shadow pages and page tables, supporting efficient EPT hook management.

Key Enhancements:

Enhancement and fixes for #21 and #10