Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Blumster opened this issue Apr 26, 2023 · 1 comment

Comments

@Blumster
Copy link

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.

@horsicq
Copy link
Owner

horsicq commented Apr 27, 2023

Thanks for the bugreport! I wull take a look,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants