Table of Contents

Class AddressFixupPatch

Namespace
AsmResolver.PE.Code
Assembly
AsmResolver.PE.dll

Implements a patch that patches a segment with an address to a symbol.

public class AddressFixupPatch : IPatch
Inheritance
AddressFixupPatch
Implements
Inherited Members

Constructors

AddressFixupPatch(AddressFixup)

Creates a new instance of the AddressFixupPatch class.

public AddressFixupPatch(AddressFixup fixup)

Parameters

fixup AddressFixup

The fixup to apply.

Properties

Fixup

Gets the fixup to apply.

public AddressFixup Fixup { get; }

Property Value

AddressFixup

Methods

Apply(in PatchContext)

Applies the patch.

public void Apply(in PatchContext context)

Parameters

context PatchContext

The context in which to

UpdateOffsets(in RelocationParameters)

Assigns a new file and virtual offset to the segment and all its sub-components.

public void UpdateOffsets(in RelocationParameters parameters)

Parameters

parameters RelocationParameters

The parameters containing the new offset information for the segment.