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
ISegmentThe segment to be patched.
imageBase
ulongThe image base to assume while patching.
writer
BinaryStreamWriterThe object responsible for writing the patches.
Properties
ImageBase
Gets the image base that is assumed while patching.
public ulong ImageBase { get; }
Property Value
Segment
Gets the segment to be patched.
public ISegment Segment { get; }
Property Value
Writer
Gets the object responsible for writing the patches.
public BinaryStreamWriter Writer { get; }