From d14f52660d27821f4d9e093099b38bab345978b7 Mon Sep 17 00:00:00 2001 From: de4dot Date: Fri, 21 Oct 2011 20:19:51 +0200 Subject: [PATCH] Remove old comments --- blocks/cflow/Int32Value.cs | 4 ---- blocks/cflow/Int64Value.cs | 1 - 2 files changed, 5 deletions(-) diff --git a/blocks/cflow/Int32Value.cs b/blocks/cflow/Int32Value.cs index cbd7180c..7ca1dbba 100644 --- a/blocks/cflow/Int32Value.cs +++ b/blocks/cflow/Int32Value.cs @@ -114,14 +114,12 @@ namespace de4dot.blocks.cflow { } public static Int32Value Conv_U1(int value, uint validMask) { - //TODO: Doc says that result is sign-extended. You zero-extend it. Is that correct? value = (int)(byte)value; validMask |= NO_UNKNOWN_BITS << 8; return new Int32Value(value, validMask); } public static Int32Value Conv_U1(Real8Value a) { - //TODO: Doc says that result is sign-extended. You zero-extend it. Is that correct? return new Int32Value((int)(byte)a.value); } @@ -155,14 +153,12 @@ namespace de4dot.blocks.cflow { } public static Int32Value Conv_U2(int value, uint validMask) { - //TODO: Doc says that result is sign-extended. You zero-extend it. Is that correct? value = (int)(ushort)value; validMask |= NO_UNKNOWN_BITS << 16; return new Int32Value(value, validMask); } public static Int32Value Conv_U2(Real8Value a) { - //TODO: Doc says that result is sign-extended. You zero-extend it. Is that correct? return new Int32Value((int)(ushort)a.value); } diff --git a/blocks/cflow/Int64Value.cs b/blocks/cflow/Int64Value.cs index bf164943..b91211ef 100644 --- a/blocks/cflow/Int64Value.cs +++ b/blocks/cflow/Int64Value.cs @@ -74,7 +74,6 @@ namespace de4dot.blocks.cflow { } public static Int64Value Conv_U8(Int32Value a) { - //TODO: Doc says that result is sign-extended. You zero-extend it. Is that correct? long value = (long)(ulong)(uint)a.value; ulong validMask = a.validMask | (NO_UNKNOWN_BITS << 32); return new Int64Value(value, validMask);