15 Commits
Author SHA1 Message Date
Siegfried Pammer 7218a63a46 #3367: Extend range check to support negative integers. 2025-01-15 21:10:19 +01:00
Siegfried Pammer b9f50901a4 Fix #3367: Add extra validation to TransformDecimalCtorToConstant to prevent crashes with obfuscated assemblies. 2025-01-13 19:35:44 +01:00
Siegfried Pammer e193b838da Move TransformDecimalCtorToConstant to EarlyExpressionTransforms 2023-08-05 15:33:55 +02:00
Siegfried Pammer 15d74751f4 Fix #2459, fix #2460: Make sure that LdObjToLdLoc and StObjToStLoc preserve the result type, if the source variable has an unknown type. 2021-10-29 19:57:54 +02:00
Siegfried Pammer dbbcbb87fe Make pattern matching transform a simple ILTransform for both reference and value types. Check that the true branch dominates all uses of the pattern variable. 2021-09-05 18:46:03 +02:00
Daniel Grunwald 80cf72e498 #2182: Move "Transform call to struct constructor" from EarlyExpressionTransforms to ILReader.
This fixes the evaluation order for such calls (and an assertion in StObj.CheckTargetSlot).
2020-10-07 23:59:22 +02:00
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 2020-08-28 01:05:38 +02:00
Daniel Grunwald 2acc4339df #2058: Mark most transforms as public to help users that use the ILAst directly without decompiling to C#. 2020-07-22 21:25:22 +02:00
Daniel Grunwald 57b725df79 Fix #1655: Incorrect pointer cast when calling method on integer constant 2019-08-23 22:49:57 +02:00
Siegfried Pammer 19a7898786 Add addressof(ldloc) => ldloca transform to EarlyExpressionTransforms 2019-07-15 23:34:23 +02:00
Siegfried Pammer c1fca21e8a Make ILRange field private - introduce public API for IL range manipulation. 2019-02-16 20:36:17 +01:00
Daniel Grunwald ba0a3af3c4 #1195: Fix several issues decompiling SharpSvn.dll (C++/CLI) 2018-07-28 23:04:01 +02:00
Siegfried Pammer 60894a02a4 Fix missing ILStackWasEmpty-flag on call after conversion to newobj 2017-10-17 13:15:52 +02:00
Daniel Grunwald f6ab796ba7 Add ldobj(ldloca) -> ldloc transform; and remove special case in ProxyCallReplacer. 2017-10-10 00:01:16 +02:00
Daniel Grunwald 39bb6856b7 Fix various bugs with compound assignments. 2017-10-01 21:15:32 +02:00