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
PatchContextThe 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
RelocationParametersThe parameters containing the new offset information for the segment.