Skip to content

MSF File Format: SuperBlock's FileMagic documentation is incorrect #158492

@nlguillemot

Description

@nlguillemot

Documentation bug here:

https://llvm.org/docs/PDB/MsfFile.html

Documentation says:

FileMagic - Must be equal to "Microsoft C / C++ MSF 7.00\r\n" followed by the bytes 1A 44 53 00 00 00.

In reality, the FileMagic string has no space before and after the slash. So the documentation should say this:

FileMagic - Must be equal to "Microsoft C/C++ MSF 7.00\r\n" followed by the bytes 1A 44 53 00 00 00.

Here's the raw data as seen in a debugger for a real world pdb made by Visual C++:

(const char*)pdb,32 | 0x00000215bb710000 "Microsoft C/C++ MSF 7.00\r\n\x1aDS\0\0\0\0"

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions