Class SerializedTlsDirectory
- Namespace
- AsmResolver.PE.Tls
- Assembly
- AsmResolver.PE.dll
Provides an implementation of a TLS directory that was read from an existing PE file.
public class SerializedTlsDirectory : TlsDirectory, ISegment, IOffsetProvider, IWritable
- Inheritance
-
SerializedTlsDirectory
- Implements
- Inherited Members
Constructors
SerializedTlsDirectory(PEReaderContext, ref BinaryStreamReader)
Reads a single TLS directory from an input stream.
public SerializedTlsDirectory(PEReaderContext context, ref BinaryStreamReader reader)
Parameters
context
PEReaderContextThe reader context.
reader
BinaryStreamReaderThe input stream.
Methods
GetCallbackFunctions()
Obtains the table of callback functions.
protected override ReferenceTable GetCallbackFunctions()
Returns
- ReferenceTable
The callback functions.
Remarks
This method is called upon initialization of the CallbackFunctions property.
GetTemplateData()
Obtains the block of template data.
protected override IReadableSegment? GetTemplateData()
Returns
- IReadableSegment
The template data.
Remarks
This method is called upon initialization of the TemplateData property.