Expand description
Memory image capture (Future API)
This module defines a higher-level API for capturing and unrelocating PE images.
§Current Status
This API is not yet implemented. The current working implementation uses:
PeHeaders::unrelocate_image()inpe/header/pe_headers.rsunrelocate_image()inpe/reloc/unrelocate.rs- Direct integration in
bootloader/src/installer/operations.rs
This module exists as a future abstraction layer that would provide a cleaner API.
§Future Usage
ⓘ
let captured = MemoryImage::capture_from_memory(image_base, image_size)?;
let bootable = captured.create_bootable_image()?;
esp_backend.store_bootloader(&bootable)?;Structs§
- Captured memory image of running bootloader