Confuser.Core/Utils.cs
/// <summary>
/// This method generates a random sizeof value, which will get replaced with an sizeof instruction
/// </summary>
/// <returns>random sizeof value</returns>
This method generates a random sizeof value, which will get replaced with an sizeof instruction
This method generates a random sizeof value which will get replaced with an sizeof instruction
public static int GetSizeofValue()
        {
            switch (rnd.Next(0, 4))
            {
                case 0: return 2;
                case 1: return 4;
                case 2: return 8;
                case 3: return 12;
                default:
                    return 16;
            }
        }
public static int GetSizeofValue ( ) { switch ( rnd . Next ( 0 , 4 ) ) { case 0 : return 2 ; case 1 : return 4 ; case 2 : return 8 ; case 3 : return 12 ; default : return 16 ; } }
This method generates a random sizeof value, which will get replaced with an sizeof instruction
This method generates a random sizeof value which will get replaced with an sizeof instruction
random sizeof value
random sizeof value