morpheus_persistent::pe

Module embedded_reloc_data

Source
Expand description

Hardcoded relocation data

UEFI discards .reloc section from memory after applying relocations. This data is the original .reloc section content, embedded in the code so it’s always available for unrelocating the image.

AUTO-GENERATED by tools/extract-reloc-data.sh Run: ./tools/extract-reloc-data.sh after each build

Constants§

  • Original ImageBase from linker script
  • Hardcoded .reloc section data (692 bytes) Extracted from morpheus-bootloader.efi at file offset 0x00046400
  • Original .reloc section RVA
  • Original .reloc section size