Table of Contents

Interface ISegment

Namespace
AsmResolver
Assembly
AsmResolver.dll

Represents a single chunk of data residing in a file or memory space.

public interface ISegment : IOffsetProvider, IWritable
Inherited Members
Extension Methods

Properties

CanUpdateOffsets

Determines whether this structure can be relocated to another offset or virtual address.

bool CanUpdateOffsets { get; }

Property Value

bool

Methods

GetVirtualSize()

Computes the number of bytes the segment will contain when it is mapped into memory.

uint GetVirtualSize()

Returns

uint

The number of bytes.

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 RelocationParameters

The parameters containing the new offset information for the segment.