.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christoph Wille
bdb4ffaa56
Bound every .resources length against the remaining stream before allocating
...
A .resources file's resource count, type count, name lengths, binary
resource lengths and serialized-object lengths all come from the file
and were only checked for being non-negative before sizing an allocation.
A crafted file can therefore request multi-gigabyte arrays from a
few-hundred-byte payload (CWE-789), turning a click on a resource node
into an out-of-memory condition. The serialization-format kind was
additionally an assert-only check that vanishes in Release builds.
Each element of these counts occupies at least one byte in the stream, so
a value needing more bytes than remain after the current position cannot
be honest. Reject it with the same BadImageFormatException the callers
already handle, and promote the format-kind assert into a real check.
Assisted-by: Claude:claude-fable-5:Claude Code
3 weeks ago
..
Documentation
Assemble the ID string probe once, outside the source tree
2 months ago
Helpers
Ignore blank, comment and directive lines when aligning code diffs
4 weeks ago
Instrumentation
Report deduplicated reference count, deflake EventSource schema tests
2 months ago
Metadata
Bound WebCilFile section access against mapped-view length
2 months ago
Output
Fix #749 : toggle a member's fold together with its documentation
2 months ago
PatternMatching
Port the pattern matcher to list-indexed slot children
3 months ago
ProjectDecompiler
Fix #3510 : keep exporting a project when a member cannot be decompiled
1 month ago
Properties
Add license headers to source files that lacked them
2 months ago
Semantics
Emit C# 7.1 default literals where the context supplies the type
4 weeks ago
Syntax
Fix #3845 : Add option to expand XML documentation comments
2 months ago
TestCases
Keep the default literal's type when a conversion is unwrapped
4 weeks ago
TypeSystem
Align span conversions, betterness and inference with the C# 14 spec
1 month ago
Util
Bound every .resources length against the remaining stream before allocating
3 weeks ago
.editorconfig
…
CLAUDE.md
Cover more constructs in the PDB sequence-point tests
3 months ago
CorrectnessTestRunner.cs
Add an async/await pattern test suite for ExpressionBuilder.VisitAwait
4 weeks ago
DataFlowTest.cs
…
DecompilationErrorRecoveryTests.cs
Fix #3510 : keep exporting a project when a member cannot be decompiled
1 month ago
DecompilerSettingsTests.cs
Pin the GetMinimumRequiredVersion contract with a settings test
1 month ago
DisassemblerPrettyTestRunner.cs
Show the hexadecimal form of negative ldc.i4/ldc.i8 operands
1 month ago
ICSharpCode.Decompiler.Tests.csproj
Use server GC for the decompiler test suite
4 weeks ago
ILPrettyTestRunner.cs
Merge pull request #3930 from icsharpcode/tests/829-first-class-span
1 month ago
IsolatedMethodDecompilationTests.cs
Fix #3938 : nested-type members must not inherit ExtensionInfo
2 months ago
PdbGenerationTestRunner.cs
Add license headers to source files that lacked them
2 months ago
PrettyTestRunner.cs
Emit C# 7.1 default literals where the context supplies the type
4 weeks ago
RoundtripAssembly.cs
Fix #3510 : keep exporting a project when a member cannot be decompiled
1 month ago
SingleFileBundleTests.cs
Guard against OOB read when bundle signature is at file start
3 months ago
TestAssemblyResolver.cs
Add license headers to source files that lacked them
2 months ago
TestTraceListener.cs
…
UglyTestRunner.cs
Merge pull request #3964 from icsharpcode/fix-copypropagation-stobj-target
1 month ago
VBPrettyTestRunner.cs
Add VBPretty fixtures for VB anonymous types and queries
1 month ago
XamarinCompressedFileLoaderTests.cs
Bound XamarinCompressedFileLoader against crafted XALZ headers
2 months ago
packages.lock.json
NuGet August 2026 Updates ( #3981 )
1 month ago