Files
SabreTools.Models/PortableExecutable/RSDSProgramDatabase.cs
Matt Nadareski 41a90278d5 Remove LayoutKind.Sequential
This may be replaced in the future when byte-serialzable types are more well-defined
2023-09-10 21:33:22 -04:00

39 lines
1.1 KiB
C#

using System;
namespace SabreTools.Models.PortableExecutable
{
/// <summary>
/// This file describes the format of the pdb (Program Database) files of the "RSDS"
/// or "DS" type which are emitted by Miscrosoft's link.exe from version 7 and above.
/// </summary>
/// <see href="http://www.godevtool.com/Other/pdb.htm"/>
public sealed class RSDSProgramDatabase
{
/// <summary>
/// "RSDS" signature
/// </summary>
public uint Signature { get; set; }
/// <summary>
/// 16-byte Globally Unique Identifier
/// </summary>
public Guid GUID { get; set; }
/// <summary>
/// Ever-incrementing value, which is initially set to 1 and
/// incremented every time when a part of the PDB file is updated
/// without rewriting the whole file.
/// </summary>
public uint Age { get; set; }
/// <summary>
/// zero terminated UTF8 path and file name
/// </summary>
#if NET48
public string PathAndFileName { get; set; }
#else
public string? PathAndFileName { get; set; }
#endif
}
}