Class PEFileBuilderContext
- Namespace
- AsmResolver.PE.Builder
- Assembly
- AsmResolver.PE.dll
Provides a working space for constructing a portable executable file.
public class PEFileBuilderContext
- Inheritance
-
PEFileBuilderContext
- Derived
- Inherited Members
Constructors
PEFileBuilderContext(PEImage)
Creates a new PE file builder context.
public PEFileBuilderContext(PEImage image)
Parameters
image
PEImageThe image to build.
Properties
ClrBootstrapper
Gets the code segment used as a native entry point of the resulting PE file.
public RelocatableSegment? ClrBootstrapper { get; set; }
Property Value
Remarks
This property might be null
if no bootstrapper is to be emitted. For example, since the
bootstrapper is a legacy feature from older versions of the CLR, we do not see this segment in
managed PE files targeting 64-bit architectures.
DebugDirectory
Gets the buffer that builds up a new debug directory.
public DebugDirectoryBuffer DebugDirectory { get; }
Property Value
ExportDirectory
Gets the buffer that builds up a new export directory.
public ExportDirectoryBuffer ExportDirectory { get; }
Property Value
FieldRvaDataReader
Gets the object responsible for reading a field RVA data.
public IFieldRvaDataReader FieldRvaDataReader { get; set; }
Property Value
FieldRvaTable
Gets a table containing all constants used as initial values for fields defined in the .NET assembly.
public SegmentBuilder FieldRvaTable { get; }
Property Value
Image
Gets the input PE image to construct a file for.
public PEImage Image { get; }
Property Value
ImportDirectory
Gets the buffer that builds up a new import lookup and address directory.
public ImportDirectoryBuffer ImportDirectory { get; }
Property Value
MethodBodyTable
Gets a table containing method bodies for methods defined in the .NET assembly.
public MethodBodyTableBuffer MethodBodyTable { get; }
Property Value
Platform
Gets the target platform of the image.
public Platform Platform { get; }
Property Value
RelocationsDirectory
Gets the buffer that builds up the base relocations directory.
public RelocationsDirectoryBuffer RelocationsDirectory { get; }
Property Value
ResourceDirectory
Gets the buffer that builds up the win32 resources directory.
public ResourceDirectoryBuffer ResourceDirectory { get; }