669 Commits (7542cc72bb9240b1c45a804c1778da41c0dc8bad)

Author SHA1 Message Date
Eusebiu Marcu 85b8f848c3 Add Decompilation data class to be used by other applications to store code mappings information. 15 years ago
Siegfried Pammer 4c4374cc8c add IntroduceIncrementAndDecrement setting for VB 15 years ago
Daniel Grunwald 17a75ded4e Fix #211 InvalidCastException in ILAstOptimizer.TransformArrayInitializers 15 years ago
Daniel Grunwald 3fad5cb76b Fix #249: Object Initializer not detected for value types 15 years ago
Daniel Grunwald 5c2f3633a0 Don't use variable name from .pdb file if it isn't a valid C# identifier. 15 years ago
David Srbecký 822e473df3 Replace endfinally with jump. Closes #232 15 years ago
Daniel Grunwald 3020bc9ce8 Fixed type analysis for right shift operator. 15 years ago
Daniel Grunwald 43b4339bea Simplify shift operators (<< and >>). 15 years ago
Siegfried Pammer 2a45819408 implement ArrayCreateExpression and CastExpression 15 years ago
Daniel Grunwald b9109469af Fixed bug that could cause variable names to be used twice, resulting in a crash in DeclareVariable step. Closes #222. 15 years ago
Daniel Grunwald 8beed6aa70 Fixed type inference for shift operators. Closes #239. 15 years ago
Daniel Grunwald 2783b02007 Fix #241: type analysis causes truncation of integer literals when calculating with types smaller than int32. 15 years ago
Daniel Grunwald 6c94092dc5 Fixed ILAstOptimizer.CanBeExpressionStatement to include more types of assignments. 15 years ago
Alex Lyman ed6380077f - Reverted changes to display decimal.MinValue and decimal.MaxValue 15 years ago
Alex Lyman e484d35fe2 - Altered the InitializerPeepholeTransforms' ArrayInitializer forward-scan to only look at the next instruction: in practice, CSC does not seem to generate code that needs anything more, and there are some questions as to the validity of the looping itself (i.e. what if there is a branch between them? 15 years ago
Alex Lyman 9faee0ad8d - Modified the InitializerPeepholeTransforms' Array Initializers to do a forward scan of the block instead of just checking the next instruction. The next-instruction thing breaks down under the case where you have an array-of-arrays (int[][]) 15 years ago
Alex Lyman 8dcea0b27b - Made the InitializerTests pass, through three changes: 15 years ago
Daniel Grunwald fde6361995 Fixed missing XML documentation on enum members. 15 years ago
Daniel Grunwald 4f5fb6c140 Fixed references to enum values nested within generic types. 15 years ago
Daniel Grunwald 320b6d96c2 Fix some compiler warnings. 15 years ago
David Srbecký f9d877b25a Remove unreachable return statements. Closes #174. Closes #192 15 years ago
David Srbecký de4389cb39 Do not fall though the end of try-block. It should never happen in valid IL, but some obfuscators generate such code. Closes #164 15 years ago
Daniel Grunwald 9376ece056 Fixed references to enum values nested within generic types. 15 years ago
Daniel Grunwald 6daf7cb6bc Fix some compiler warnings. 15 years ago
David Srbecký 6fd28e8b6e Remove unreachable return statements. Closes #174. Closes #192 15 years ago
David Srbecký c31f9232c5 Do not fall though the end of try-block. It should never happen in valid IL, but some obfuscators generate such code. Closes #164 15 years ago
Daniel Grunwald c339b9270a Fix crash in disassembler and decompiler when HasPInvokeInfo=true but PInvokeInfo=null (occurs with unmanaged methods in C++/CLI assemblies) 15 years ago
Daniel Grunwald e8b6e3d808 Annotate anonymous methods/lambdas with the MethodDefinition representing the lambda body. 15 years ago
Daniel Grunwald 67fcd4ef7d Fix NullReferenceException in ILAstOptimizer.RecombineVariables 15 years ago
Daniel Grunwald f1a34c6a31 Fix #202: Decompilation of multiple catch clauses sharing the same variable name 15 years ago
Daniel Grunwald 17ad27bfac Use AnyCPU config for BamlDecompiler.Plugin. 15 years ago
Daniel Grunwald e59edceccb Fix inlining into null coalescing operator. 15 years ago
Daniel Grunwald e0c7bebfe8 Add license headers to the files that were missing them. 15 years ago
David Srbecký 51eb00aac7 Remove unreachable code in ILAstBuilder. Closes #134. Closes #151. Closes #171. 15 years ago
Siegfried Pammer 111a6ca292 do not use primitive type names in TreeNodes; fixes #183 15 years ago
Siegfried Pammer 2b366fbb97 make pattern for custom short circuit operator invocations more restrictive 15 years ago
Siegfried Pammer f86fa5d1dd implement support for op_True and extend unit test 15 years ago
Siegfried Pammer a929decdeb implement basic support for custom short circuit operators + unit test; fixes #193 15 years ago
Daniel Grunwald 229218174f Inlining: remove the arg_-Variable in catch blocks. 15 years ago
Daniel Grunwald 399a87e5a1 Fix #195 IL identfier escaping. 15 years ago
Kevin Cathcart 20f9a624f2 Add support for privatescope. Fixes #186 15 years ago
KevinCathcart e198438a46 Added support for IL "forwardref" method definitions. 15 years ago
KevinCathcart 5274fe95c1 Support "instance explicit" method definitions. (The informative metadata validation text indicates that it only applies to function pointers, but that is not enforced except as part of metadata validation.) 15 years ago
KevinCathcart b74daf8c32 Add support for "instance explicit" calling convention for a MethodReference. 15 years ago
Daniel Grunwald 7d24f683d1 Decompile AssemblyVersion attribute. Closes #188. 15 years ago
Daniel Grunwald 3779381796 Add support for type forwarding declarations ([TypeForwardedToAttribute]). Closes #190. 15 years ago
Daniel Grunwald 32081feb1b Decompile security declarations. Closes #189. 15 years ago
Daniel Grunwald 2d42dd5c57 Fixed several issues related to [MarshalAs] attributes. 15 years ago
Daniel Grunwald dd4d090468 Lots of improvements/fixes for the disassembler. 15 years ago
Daniel Grunwald d362f8d0f6 Fixed several bugs in the IL disassembler. 15 years ago