|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
A block of base relocations, corresponding to a single page in the image. More...
#include <peexe.h>
Public Member Functions | |
| BaseRelocationBlock (uint32_t page_rva=0) | |
Public Attributes | |
| uint32_t | page_rva |
| The relative virtual address of the page this block corresponds to, with the least significant 12 bits set to 0. | |
| uint32_t | block_size |
| Number of bytes in this block, including the initial 8 bytes for the relative virtual address of the page and the size of the block. | |
| std::vector< BaseRelocation > | relocations_list |
| Sequence of relocations in this block, filled in by the linker once all the relocations have been collected. | |
| std::map< uint16_t, BaseRelocation > | relocations_map |
| Collection of relocations, accessed via their page offset. | |
Static Public Attributes | |
| static constexpr uint32_t | PAGE_SIZE = 0x1000 |
| Pages are 4 KiB long. | |
A block of base relocations, corresponding to a single page in the image.