Table of Contents

Interface IPatch

Namespace
AsmResolver.Patching
Assembly
AsmResolver.dll

Provides a mechanism for patching an instance of ISegment after it was serialized into its binary representation.

public interface IPatch

Methods

Apply(in PatchContext)

Applies the patch.

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.

void UpdateOffsets(in RelocationParameters parameters)

Parameters

parameters RelocationParameters

The parameters containing the new offset information for the segment.