Andrew Crawley (US - DIAGNOSTICS)
696cbc2136
Allow user to provide ID when generating a PDB
...
This commit adds a new parameter to PortablePdbWriter.WritePdb that
allows the caller to specify the exact Guid and timestamp that should be
used in the generated PDB. This will be useful for several scenarios
that are interesting for the Visual Studio debugger's integration:
1. Generating a PDB for an assembly that was built without debug info.
The PDB writer currently fails in this case, since the input assembly
has no debug directory from which to extract the relevant info. The
debugger can provide values that will allow us to load the generated
PDB.
2. Generating a PDB for an assembly that has multiple debug directories.
The PDB writer currently uses the first debug directory it finds, but
this isn't necessarily the correct one. The debugger can provide the
correct values.
3 years ago
Siegfried Pammer
a48f0d311c
Fix #2330 : Add conditional sub directory support
4 years ago
Siegfried Pammer
07199e2ecf
Fix #2038 : Add proper support for Long paths on Windows 10 and limit path segments to 255 characters (with long path support) or 30 characters. If a PathTooLongException is thrown display a better error message on project export.
4 years ago
Siegfried Pammer
5a8b488e99
PDBGen: Fix exception in case an ILFunction gets defined in C# twice: This may happen if a compiler-generated function gets transformed into a lambda expression, but its method definition is not removed from the syntax tree.
5 years ago
dotnet format
0d9f871a4f
#2128 : Reformat the whole code base.
5 years ago
dymanoid
a952cda502
Create dedicated namespace for project decompiler
5 years ago
Daniel Grunwald
0cf50aa827
Fix #1959 : Resolve the "F(G<A,B>(7));" grammar ambiguity by inserting parentheses when necessary.
5 years ago
Siegfried Pammer
413c5b3baf
PortablePdbWriter: Add primitive support for state-machine hoisted local scopes. All variables are visible in the whole MoveNext method.
6 years ago
Siegfried Pammer
22799ca6b1
#1942 : Make sure to group all types by filename in the generated PDB.
6 years ago
Siegfried Pammer
70b087bf8d
#1942 : WholeProjectDecompiler: Do not use filenames that collide with names of special devices. Note: this changes the PDB structure from multi-level folders per namespace to "dotted name" folders.
6 years ago
Siegfried Pammer
2efca22fae
Add Debug Metadata Explorer
6 years ago
Siegfried Pammer
ae08167521
PDBGen: LocalScopes must be sorted "first by Method in ascending order, then by StartOffset in ascending order, then by Length in descending order."
6 years ago
Siegfried Pammer
46ba4fc66a
Fix #1480 : InvalidOperationException in PortablePdbWriter.
6 years ago
Daniel Grunwald
d90c195b00
SHA256 instances are not thread-safe
7 years ago
Daniel Grunwald
f1c8142ce2
PDB generator now can emit "method stepping information" for async functions.
7 years ago
Siegfried Pammer
b4c376d195
Ignore document checksum and blob length in PdbGenerationTestRunner
7 years ago
Siegfried Pammer
25c757b7cd
Add first attempt at PdbGenerationTestRunner.
7 years ago
Siegfried Pammer
6926651791
First draft of support for ImportScope and LocalScope tables.
7 years ago
Siegfried Pammer
58c3a17a26
#1024 : Fix bug in sequence point blob mapping.
7 years ago
Siegfried Pammer
d5b495329f
#1024 : Make PDB Support in ILSpy more robust.
7 years ago
Daniel Grunwald
b396d203bd
Merge IDecompilerTypeSystem with ICompilation.
7 years ago
Daniel Grunwald
3b46776c5e
Rename IAssembly -> IModule.
...
While support for multi-module assemblies isn't fully working yet; it is clear at this point that we want
to treat each module in a multi-module assembly separately for the purposes of the type system.
7 years ago
Siegfried Pammer
bcfb3742eb
Clean up PEFile, move Pdb related types to DebugInfo namespace
7 years ago
Siegfried Pammer
458f448fae
Avoid unnecessary allocations of MetadataReader and clean up Dom structs a bit.
7 years ago
Siegfried Pammer
e91ad3915c
Add PortablePdbWriter and GeneratePdbContextMenuEntry
7 years ago