Files
BinaryObjectScanner/BinaryObjectScanner.Models/PortableExecutable/NB10ProgramDatabase.cs

43 lines
1.3 KiB
C#
Raw Normal View History

2022-12-14 20:56:13 -08:00
using System.Runtime.InteropServices;
2023-03-07 16:59:14 -05:00
namespace BinaryObjectScanner.Models.PortableExecutable
2022-12-14 20:56:13 -08:00
{
/// <summary>
/// PDB 2.0 files
/// </summary>
/// <see href="https://www.debuginfo.com/articles/debuginfomatch.html"/>
[StructLayout(LayoutKind.Sequential)]
2022-12-27 17:12:55 -08:00
public sealed class NB10ProgramDatabase
2022-12-14 20:56:13 -08:00
{
/// <summary>
/// "CodeView signature, equal to “NB10”
/// </summary>
public uint Signature;
/// <summary>
/// CodeView offset. Set to 0, because debug information
/// is stored in a separate file.
/// </summary>
public uint Offset;
/// <summary>
/// The time when debug information was created (in seconds
/// since 01.01.1970)
/// </summary>
public uint Timestamp;
/// <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;
/// <summary>
/// Null-terminated name of the PDB file. It can also contain full
/// or partial path to the file.
/// </summary>
public string PdbFileName;
}
}