修复未混淆long字段的bug
parent
f23ea3a46c
commit
49520abcae
|
@ -63,6 +63,7 @@ namespace Obfuz.Virtualization
|
|||
switch (inst.OpCode.OperandType)
|
||||
{
|
||||
case OperandType.InlineI:
|
||||
case OperandType.InlineI8:
|
||||
case OperandType.ShortInlineI:
|
||||
case OperandType.ShortInlineR:
|
||||
case OperandType.InlineR:
|
||||
|
|
|
@ -16,8 +16,8 @@ namespace Obfuz.Virtualization
|
|||
_random = random;
|
||||
var int32Funcs = new List<IFunction>()
|
||||
{
|
||||
//new IntAdd(),
|
||||
//new IntXor(),
|
||||
new IntAdd(),
|
||||
new IntXor(),
|
||||
new IntRotateShift(),
|
||||
//new ConstFromFieldRvaDataCreator(),
|
||||
//new ConstDataCreator(),
|
||||
|
@ -32,7 +32,7 @@ namespace Obfuz.Virtualization
|
|||
{
|
||||
throw new System.Exception($"No functions available for type {type}");
|
||||
}
|
||||
if (options.depth >= 3)
|
||||
if (options.depth >= 4)
|
||||
{
|
||||
//return new ConstDataNode() { Type = type, Value = value };
|
||||
return _random.NextInt(100) < 50 ?
|
||||
|
|
Loading…
Reference in New Issue