Table of Contents

Struct PatchContext

Namespace
AsmResolver.Patching
Assembly
AsmResolver.dll

Provides members describing the context in which a patch may be situated in.

public readonly struct PatchContext
Inherited Members

Constructors

PatchContext(ISegment, ulong, BinaryStreamWriter)

Creates a new instance of the PatchContext structure.

public PatchContext(ISegment segment, ulong imageBase, BinaryStreamWriter writer)

Parameters

segment ISegment

The segment to be patched.

imageBase ulong

The image base to assume while patching.

writer BinaryStreamWriter

The object responsible for writing the patches.

Properties

ImageBase

Gets the image base that is assumed while patching.

public ulong ImageBase { get; }

Property Value

ulong

Segment

Gets the segment to be patched.

public ISegment Segment { get; }

Property Value

ISegment

Writer

Gets the object responsible for writing the patches.

public BinaryStreamWriter Writer { get; }

Property Value

BinaryStreamWriter