Files
SabreTools.Models/PortableExecutable/NB10ProgramDatabase.cs

40 lines
1.2 KiB
C#
Raw Normal View History

namespace SabreTools.Models.PortableExecutable
2023-09-04 00:11:04 -04:00
{
/// <summary>
/// PDB 2.0 files
/// </summary>
/// <see href="https://www.debuginfo.com/articles/debuginfomatch.html"/>
public sealed class NB10ProgramDatabase
{
/// <summary>
/// "CodeView signature, equal to “NB10”
/// </summary>
2023-09-10 21:24:10 -04:00
public uint Signature { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// CodeView offset. Set to 0, because debug information
/// is stored in a separate file.
/// </summary>
2023-09-10 21:24:10 -04:00
public uint Offset { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// The time when debug information was created (in seconds
/// since 01.01.1970)
/// </summary>
2023-09-10 21:24:10 -04:00
public uint Timestamp { get; set; }
2023-09-04 00:11:04 -04:00
/// <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>
2023-09-10 21:24:10 -04:00
public uint Age { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// Null-terminated name of the PDB file. It can also contain full
/// or partial path to the file.
/// </summary>
2023-09-10 21:24:10 -04:00
public string? PdbFileName { get; set; }
2023-09-04 00:11:04 -04:00
}
}