Skip to content

Symbols are not exported with XNTVS containing invalid characters on Windows #22

@Blumster

Description

@Blumster

Hey!

When I'm trying to export symbols from a PDB that contains names that are invalid file names on Windows, the files are getting skipped, but the output JSON file says they are there:

  "infofile": "class std::map<int,float,std::less<int>,std::allocator<std::pair<int const ,float> > >.txt",
  "name": "class std::map<int,float,std::less<int>,std::allocator<std::pair<int const ,float> > >",
  "positions": [
    {
      "name": "",
      "offset": 0,
      "size": 0,
      "type": ""
    },
    ...

In reality, that file is not created.
Windows file naming information: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file

File name sanitization is required before saving.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions