RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Microsoft::PEFormat::BaseRelocationBlock Class Reference

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< BaseRelocationrelocations_list
 Sequence of relocations in this block, filled in by the linker once all the relocations have been collected.
 
std::map< uint16_t, BaseRelocationrelocations_map
 Collection of relocations, accessed via their page offset.
 

Static Public Attributes

static constexpr uint32_t PAGE_SIZE = 0x1000
 Pages are 4 KiB long.
 

Detailed Description

A block of base relocations, corresponding to a single page in the image.


The documentation for this class was generated from the following file: