82 Commits (c803b71a474fbfce7040008c5554284462b91221)

Author SHA1 Message Date
Siegfried Pammer c803b71a47 Guard against nil field tokens in the localloc cpblk prefix 14 hours ago
Siegfried Pammer dee0b1625f Build jagged array initializer blocks with the shared helper 14 hours ago
Siegfried Pammer 587c55ca05 Drop the bool result of the localloc prefix handler 14 hours ago
Siegfried Pammer 58edd4f38f Extract localloc initializer prefix and store offset matching 14 hours ago
Siegfried Pammer a7354ed73e Extract simple array initializer block construction 14 hours ago
Siegfried Pammer 04505bbdf2 Highlight and scroll to the changed instruction in the ILAst view 6 days ago
Siegfried Pammer de33be74da Don't reconstruct a partially written stackalloc as an initializer 2 weeks ago
Siegfried Pammer a06c22b88a Decode float/double stackalloc initializer constants by their type 2 weeks ago
Siegfried Pammer 51a26180bb Fix #3492: Do not crash, if field used by RuntimeHelpers.InitializeArray is malformed. 1 year ago
ds5678 3a13d5a698 Allow explicit null termination character 1 year ago
Siegfried Pammer 38cdf6d50a Avoid transforming sub pattern of cpblk stackalloc initializer 1 year ago
Siegfried Pammer bd0fd8db1f Small refactorings: 1 year ago
ds5678 b0d6fa2276 Add support for array initialization based on RuntimeHelpers.CreateSpan<T> 1 year ago
Siegfried Pammer dab256ceb0 Update stackalloc initializer patterns for Roslyn 4.10.0. 2 years ago
Siegfried Pammer ca78d4a14d Use MetadataFile instead of PEFile in TypeSystem. 2 years ago
Daniel Grunwald f568123704 Add support for UTF8 string literals 3 years ago
ElektroKill 760a6a653e
Reduce allocations in TransformArrayInitializers 4 years ago
Siegfried Pammer 6a3bb2bbf1 Fix #2655: TranslateArrayInitializer crashes with out of order array init 4 years ago
Siegfried Pammer d98ff730a0 Fix build. 5 years ago
Siegfried Pammer 4aa7f5fc38 Fix #2612 decompilation of newarr with int.MaxValue causes OOME in decompiler. 5 years ago
Daniel Grunwald 0414e7f8e9 Fix potential NRE in ILFunction.RegisterVariable() 5 years ago
Siegfried Pammer 67be41a998 #2294: Fix potential NRE: finalStore is accessed before null check. 5 years ago
Daniel Grunwald 5bd8c69a48 Disable transform for Span<T> initialization from field with RVA if "ArrayInitializers" setting is disabled. 6 years ago
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 6 years ago
Siegfried Pammer 7ed4a736f3 Fix #2103: Support for `Stackalloc initializers` not working for `byte` 6 years ago
Siegfried Pammer 68e4d7dfa6 Adapt TransformArrayInitializers to ILAst changes. 6 years ago
Daniel Grunwald 925a4e1e65 #2050: Don't put ldflda/ldelema with immediate exceptions into StObj.TargetSlot. 6 years ago
Siegfried Pammer 587f61be19 Fix #1280: Transform RuntimeHelpersInitializeArray calls without receiving assignments. 7 years ago
Daniel Grunwald 961923f4fd #1499, #1240: Translate pointer arithmetic on managed pointers (ref T) using the System.Runtime.CompilerServices.Unsafe intrinsics 7 years ago
Siegfried Pammer b03aa488aa Performance: Cache ChainedConstructorCallILOffset in ILFunction to avoid having to scan the method body in every inlining step. Take a shortcut for static ctors, as there cannot be chained ctor calls in static ctors. 7 years ago
Siegfried Pammer 94cd891609 Add support for ReadOnlySpan<T> initialization pattern. 7 years ago
Siegfried Pammer 3d5b300602 Improve TransformArrayInitializers: allow default entries at the end of a dimension > 0. 8 years ago
Siegfried Pammer 46b56f8482 Fix #1382: Do not reuse index instructions in TransformArrayInitializers 8 years ago
Siegfried Pammer 37a8156dab Fix #1383: NRE in TransformArrayInitializers. 8 years ago
Siegfried Pammer 859872ba8c Fix #1377: Fix IndexOutOfRangeException in TransformArrayInitializers 8 years ago
Siegfried Pammer 64686b9547 Fix #1336: multi-dimensional array initializers with custom objects not detected. 8 years ago
Siegfried Pammer ab8c73b2f7 #1336: Add limit in HandleSimpleArrayInitializer. 8 years ago
Siegfried Pammer 0dac55d584 Add transformation for stackalloc to Span<T>. 8 years ago
Siegfried Pammer 08af55aa57 Avoid ITypeDefinition.FullName. Use Name and Namespace separately to avoid string allocation. Reorder checks to improve performance on pattern mismatch. 8 years ago
Siegfried Pammer ebbe25fba7 Apply suggested refactorings on TransformArrayInitializers.cs 8 years ago
Siegfried Pammer 772b529d16 Add support for stackalloc initializer pattern that uses initblk. 8 years ago
Siegfried Pammer 057ab82534 Add basic stackalloc initializer transforms. 8 years ago
Siegfried Pammer 2a537fcecb Reorder code in TransformArrayInitializers.cs 8 years ago
Daniel Grunwald 1f3916d554 Use the resolve methods in MetadataModule, and remove the wrappers in DecompilerTypeSystem. 8 years ago
Siegfried Pammer 68123fc6b3 Fix build. 8 years ago
Daniel Grunwald 9a74f018b5 Decode metadata signatures directly into IType; without going through ITypeReference. 8 years ago
Siegfried Pammer 5e4b571a62 Add DynamicCallSiteTransform 8 years ago
Siegfried Pammer bd15d69ada Add test cases for #1138 8 years ago
Siegfried Pammer 5290677f80 Fix #1138: Array-index out of bounds crash in TransformArrayInitializers.HandleSimpleArrayInitializer 8 years ago
Daniel Grunwald 469501210c Add support for C# 7 tuple types: 8 years ago