Fix for the last .NETReactor.

This commit is contained in:
xode0 2016-02-16 23:47:14 +01:00
parent aa53cc0a81
commit 236b1768f4
2 changed files with 3 additions and 2 deletions

View File

@ -333,13 +333,13 @@ namespace de4dot.blocks.cflow {
public static Real8Value Conv_R_Un(Int32Value a) { public static Real8Value Conv_R_Un(Int32Value a) {
if (a.AllBitsValid()) if (a.AllBitsValid())
return new Real8Value((float)(uint)a.Value); return new Real8Value((double)(uint)a.Value);
return Real8Value.CreateUnknown(); return Real8Value.CreateUnknown();
} }
public static Real8Value Conv_R4(Int32Value a) { public static Real8Value Conv_R4(Int32Value a) {
if (a.AllBitsValid()) if (a.AllBitsValid())
return new Real8Value((float)(int)a.Value); return new Real8Value((double)(int)a.Value);
return Real8Value.CreateUnknown(); return Real8Value.CreateUnknown();
} }

View File

@ -202,6 +202,7 @@ namespace de4dot.code.deobfuscators.dotNET_Reactor.v4 {
"System.Byte[]", "System.Byte[]",
"System.IO.BinaryReader", "System.IO.BinaryReader",
"System.IO.MemoryStream", "System.IO.MemoryStream",
"System.Reflection.Assembly",
"System.Security.Cryptography.CryptoStream", "System.Security.Cryptography.CryptoStream",
"System.Security.Cryptography.ICryptoTransform", "System.Security.Cryptography.ICryptoTransform",
}; };