brutaldev / StrongNameSigner

Strong-name sign third party .NET assemblies without the source code.
https://brutaldev.com/post/net-assembly-strong-name-signer
Other
327 stars 68 forks source link

Debug directory removed from PE header #44

Closed Sam13 closed 3 years ago

Sam13 commented 6 years ago

By comparing the PE header of an existing unsigned assembly and the same assembly signed with StrongNameSigner, I found out that the "Debug directory" is stripped out from the PE header.

Without information in the header that it's e.g. impossible to generate a PDB with JetBrains dotPeek (https://youtrack.jetbrains.com/issue/DOTP-6889)

I'm using version 2.1.4

brutaldev commented 3 years ago

@Sam13 I've tested this myself and the directory is not stripped at all. Do you have an assembly with corresponding PDB that this happens with? I used tools like PE Editor to verify the header.

Sam13 commented 2 years ago

@brutaldev I'm afraid, I cannot provide any test data. Since you tested again I would consider this fixed...