Siegfried Pammer
f0012cbc1a
#2198 : Make ILSpy more resilient in case of obfuscated assemblies.
5 years ago
Daniel Grunwald
8573c5282e
Avoid code duplication when disassembling signature headers.
5 years ago
Daniel Grunwald
6d3239678c
Function pointers: add support for the builtin unmanaged calling conventions.
5 years ago
Siegfried Pammer
f128c1c16b
Fix #2130 : Crash in mouseover of string literal token
5 years ago
dotnet format
0d9f871a4f
#2128 : Reformat the whole code base.
5 years ago
Austin Wise
aae304b3db
Update links to Microsoft Docs.
5 years ago
Siegfried Pammer
3436ac3246
Fix #2018 : Improve tooltips in IL/IL with C#/R2R view to show full member signatures
5 years ago
Siegfried Pammer
853cad5fd0
Disassembler: Implement cancellation token.
5 years ago
Siegfried Pammer
deaedd0914
Link metadata tokens in decompilation output to metadata tables.
6 years ago
Siegfried Pammer
270547cb46
Fix release build.
6 years ago
Daniel Grunwald
152aa2a21b
IL Disassembler: show attributes on constraints
dotnet/coreclr#25488
6 years ago
Siegfried Pammer
8e7a197c8d
FieldValueSizeDecoder: Use pointer size defined in decompiled module.
Use same prefixes for PE sections as ildasm.
6 years ago
Daniel Grunwald
ef035e6e02
Use ".data cil" if data is in text section.
6 years ago
Daniel Grunwald
f5317b853a
Fix #661 : Emit ".data" IL directives for fields with associated data
6 years ago
Daniel Grunwald
7f2b3a4506
Fix #1529 : Handle exceptions on invalid metadata signatures
6 years ago
Siegfried Pammer
2a5ba0f665
Fix linking of local variables and parameters to their usages in the IL view.
6 years ago
Siegfried Pammer
fbfcd6f72a
Fix #628 : Add option to display metadata token in 10-based or hex format.
7 years ago
Daniel Grunwald
72d755037b
Fix #1283 : handle invalid metadata when decoding constants
7 years ago
Siegfried Pammer
0545025705
Add back support for ".other" method references in disassembler, as it is now supported by SRM.
7 years ago
Siegfried Pammer
e418bcc753
Fix default case of ReflectionDisassembler.WriteSimpleValue, bool values were printed incorrectly.
7 years ago
Daniel Grunwald
61698b615d
Fix #1232 : BadImageFormatException: Invalid SEH header
This makes the decompiler and a bunch of analyzers more robust against invalid assemblies.
7 years ago
Siegfried Pammer
b20d4df95b
Fix #1231 : System.BadImageFormatException: Invalid coded index
7 years ago
Siegfried Pammer
697074f88b
MethodBodyDisassembler: print variable names found in PDB.
7 years ago
Siegfried Pammer
2a80757e0a
Fix parameter output of disassembler. Closes #1214
7 years ago
Siegfried Pammer
420ecb5906
Move ILParser to separate file.
7 years ago
Daniel Grunwald
08e8091336
Fix #1211 : Handle BadImageFormatException on invalid local signatures.
7 years ago
Siegfried Pammer
58c2746e60
LiteralSearchStrategy: implement support for field constants.
7 years ago
Siegfried Pammer
ce855885b1
Implement new declsec parser in ReflectionDisassembler + added unit tests.
7 years ago
Siegfried Pammer
716eade5a6
Add missing "method" keyword to method definition tokens in ldtoken instruction.
7 years ago
Siegfried Pammer
d3d7dda7e4
Rework WriteSecurityDeclarationArgument to make sure it produces output, that can be reassembled.
7 years ago
Siegfried Pammer
01e374fd4f
Add EnumUnderlyingTypeResolveException and clean up exceptions in ReflectionDisassembler: use BadImageFormatException for any unexpected values.
7 years ago
Siegfried Pammer
68123fc6b3
Fix build.
7 years ago
Siegfried Pammer
f40743994b
Remove EventDefinition.DecodeSignature
7 years ago
Siegfried Pammer
4540b93e19
Use ArgumentOutOfRangeException or BadImageFormatException in switch-default sections.
7 years ago
Siegfried Pammer
b5191c169b
Implement TextOutputWithRollback to allow rolling back output of security declarations we could not parse due to missing enum types.
7 years ago
Siegfried Pammer
bc97127d9d
Reorganize extension methods + remove unused/obsolete.
7 years ago
Siegfried Pammer
93aca8ef03
Add support for module references in ReflectionDisassembler.
7 years ago
Siegfried Pammer
e548aa88c2
Disassembler: Fix output of class type names in security declarations.
7 years ago
Siegfried Pammer
19dcd23b13
Disassembler: Fix bug ILStructure primitive loop detection.
7 years ago
Siegfried Pammer
5af952dc37
Print XML security declarations as blob like ildasm does.
7 years ago
Siegfried Pammer
4f8441e142
Introduce several new WriteReference overloads
7 years ago
Siegfried Pammer
bcfb3742eb
Clean up PEFile, move Pdb related types to DebugInfo namespace
7 years ago
Siegfried Pammer
9acc372a68
Use TypeSystem for ILSpy UI:
Most important tree nodes and search ported,
Currently only ILLanguage is active
7 years ago
Siegfried Pammer
d8c1796c4a
Add MetadataTokenHelpers to avoid crashing when dealing with MetadataTokens
7 years ago
Daniel Grunwald
6360b70ee6
#1189 : Fix exception trying to disassemble a bunch of random bytes.
7 years ago
Siegfried Pammer
bd2a0ec8d7
Fix output of .emitbyte directive on multi-byte opcode values.
7 years ago
Daniel Grunwald
385433aff4
Add MetadataMethod.
7 years ago
Daniel Grunwald
0f8c310de2
Started work on new resolved TS implementation that directly uses SRM.
This is a work-in-progress; ILSpy is not functional with this commit.
The old code path still exists but is broken because some classes were modified for the new system.
The new system is still highly incomplete (types only have fields, but no methods).
7 years ago
Daniel Grunwald
4e449de58d
Show metadata tokens in disassembly.
7 years ago
Siegfried Pammer
1941948a4b
Further improvements to MetadataResolver and MainWindow.FindTreeNode
7 years ago