Class ImageBaseRelocation
The ImageBaseRelocation structure holds information needed to relocate the image to another virtual address.
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageBaseRelocation : AbstractStructure
Constructors
| Improve this Doc View SourceImageBaseRelocation(IRawFile, Int64, UInt32)
Create a new ImageBaseRelocation object.
Declaration
public ImageBaseRelocation(IRawFile peFile, long offset, uint relocSize)
Parameters
Type | Name | Description |
---|---|---|
IRawFile | peFile | A PE file. |
System.Int64 | offset | Offset to the relocation struct in the PE file. |
System.UInt32 | relocSize | Size of the complete relocation directory. |
Properties
| Improve this Doc View SourceSizeOfBlock
SizeOfBlock-8 indicates how many TypeOffsets follow the SizeOfBlock.
Declaration
public uint SizeOfBlock { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
TypeOffsets
Array with the TypeOffsets for the relocation block.
Declaration
public ImageBaseRelocation.TypeOffset[] TypeOffsets { get; }
Property Value
Type | Description |
---|---|
ImageBaseRelocation.TypeOffset[] |
VirtualAddress
Declaration
public uint VirtualAddress { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |