Show / Hide Table of Contents

Class ImageBaseRelocation

The ImageBaseRelocation structure holds information needed to relocate the image to another virtual address.

Inheritance
System.Object
AbstractStructure
ImageBaseRelocation
Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public class ImageBaseRelocation : AbstractStructure

Constructors

| Improve this Doc View Source

ImageBaseRelocation(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 Source

SizeOfBlock

SizeOfBlock-8 indicates how many TypeOffsets follow the SizeOfBlock.

Declaration
public uint SizeOfBlock { get; set; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

TypeOffsets

Array with the TypeOffsets for the relocation block.

Declaration
public ImageBaseRelocation.TypeOffset[] TypeOffsets { get; }
Property Value
Type Description
ImageBaseRelocation.TypeOffset[]
| Improve this Doc View Source

VirtualAddress

Declaration
public uint VirtualAddress { get; set; }
Property Value
Type Description
System.UInt32
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX