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
AddressFixupThe fixup to apply.
Properties
Fixup
Gets the fixup to apply.
public AddressFixup Fixup { get; }
Property Value
Methods
Apply(in PatchContext)
Applies the patch.
public 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.
public void UpdateOffsets(in RelocationParameters parameters)
Parameters
parameters
RelocationParametersThe parameters containing the new offset information for the segment.