From 236b1768f4d2aca1324dbfa1551b106d30fb0395 Mon Sep 17 00:00:00 2001 From: xode0 Date: Tue, 16 Feb 2016 23:47:14 +0100 Subject: [PATCH] Fix for the last .NETReactor. --- de4dot.blocks/cflow/Int32Value.cs | 4 ++-- .../deobfuscators/dotNET_Reactor/v4/EncryptedResource.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/de4dot.blocks/cflow/Int32Value.cs b/de4dot.blocks/cflow/Int32Value.cs index ba03a9a0..a0960114 100644 --- a/de4dot.blocks/cflow/Int32Value.cs +++ b/de4dot.blocks/cflow/Int32Value.cs @@ -333,13 +333,13 @@ namespace de4dot.blocks.cflow { public static Real8Value Conv_R_Un(Int32Value a) { if (a.AllBitsValid()) - return new Real8Value((float)(uint)a.Value); + return new Real8Value((double)(uint)a.Value); return Real8Value.CreateUnknown(); } public static Real8Value Conv_R4(Int32Value a) { if (a.AllBitsValid()) - return new Real8Value((float)(int)a.Value); + return new Real8Value((double)(int)a.Value); return Real8Value.CreateUnknown(); } diff --git a/de4dot.code/deobfuscators/dotNET_Reactor/v4/EncryptedResource.cs b/de4dot.code/deobfuscators/dotNET_Reactor/v4/EncryptedResource.cs index 6fc7cee1..0256a903 100644 --- a/de4dot.code/deobfuscators/dotNET_Reactor/v4/EncryptedResource.cs +++ b/de4dot.code/deobfuscators/dotNET_Reactor/v4/EncryptedResource.cs @@ -202,6 +202,7 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v4 { "System.Byte[]", "System.IO.BinaryReader", "System.IO.MemoryStream", + "System.Reflection.Assembly", "System.Security.Cryptography.CryptoStream", "System.Security.Cryptography.ICryptoTransform", };