SectionInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Information about a single PE section (e.g., .text, .rsrc, .reloc).
public sealed record SectionInfo : IEquatable<SectionInfo>Inheritance
Section titled “Inheritance”Object → SectionInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”SectionInfo(string, int, int, int, int, SectionCharacteristics)
Section titled “SectionInfo(string, int, int, int, int, SectionCharacteristics)”Information about a single PE section (e.g., .text, .rsrc, .reloc).
Parameters:
Name(String): The section name (up to 8 characters).VirtualAddress(Int32): The RVA of the section when loaded into memory.VirtualSize(Int32): The size of the section in memory.RawDataOffset(Int32): The file offset of the section’s raw data.RawDataSize(Int32): The size of the section’s raw data on disk.Characteristics(SectionCharacteristics): Section characteristic flags (readable, writable, executable, etc.).
public SectionInfo(string Name, int VirtualAddress, int VirtualSize, int RawDataOffset, int RawDataSize, SectionCharacteristics Characteristics)Properties
Section titled “Properties”Characteristics
Section titled “Characteristics”Section characteristic flags (readable, writable, executable, etc.).
Returns: SectionCharacteristics
public SectionCharacteristics Characteristics { get; init; }The section name (up to 8 characters).
Returns: String
public string Name { get; init; }RawDataOffset
Section titled “RawDataOffset”The file offset of the section’s raw data.
Returns: Int32
public int RawDataOffset { get; init; }RawDataSize
Section titled “RawDataSize”The size of the section’s raw data on disk.
Returns: Int32
public int RawDataSize { get; init; }VirtualAddress
Section titled “VirtualAddress”The RVA of the section when loaded into memory.
Returns: Int32
public int VirtualAddress { get; init; }VirtualSize
Section titled “VirtualSize”The size of the section in memory.
Returns: Int32
public int VirtualSize { get; init; }