Class UnmanagedPEFileBuilder.BuilderContext
- Namespace
- AsmResolver.PE.Builder
- Assembly
- AsmResolver.PE.dll
Provides a workspace for UnmanagedPEFileBuilder.
public class UnmanagedPEFileBuilder.BuilderContext : PEFileBuilderContext
- Inheritance
-
UnmanagedPEFileBuilder.BuilderContext
- Inherited Members
Constructors
BuilderContext(PEImage, PEImage?)
Creates a new builder context.
public BuilderContext(PEImage image, PEImage? baseImage)
Parameters
image
PEImageThe image to build a PE file for.
baseImage
PEImageThe template image to base the file on.
Properties
BaseImage
Gets the template image to base the file on.
public PEImage? BaseImage { get; }
Property Value
ClonedSections
Gets a collection of sections that were cloned from the template file.
public List<PESection> ClonedSections { get; }
Property Value
ImportTrampolines
Gets the trampolines table for all imported symbols.
public TrampolineTableBuffer ImportTrampolines { get; }
Property Value
VTableTrampolines
Gets the trampolines table for all fixed up managed method addresses.
public TrampolineTableBuffer VTableTrampolines { get; }
Property Value
Methods
TryGetSectionContainingRva(uint, out PESection?)
Searches for a cloned section containing the provided RVA.
public bool TryGetSectionContainingRva(uint rva, out PESection? section)
Parameters
Returns
- bool
true
if the section was found,false
otherwise.