修复bug
parent
f9435d39ff
commit
289e38f827
|
@ -121,6 +121,7 @@ namespace Obfuz.Virtualization
|
|||
}
|
||||
case OperandType.InlineString:
|
||||
{
|
||||
obfuscatedInstructions.Clear();
|
||||
//RuntimeHelpers.InitializeArray
|
||||
string value = (string)inst.Operand;
|
||||
if (_dataObfuscatorPolicy.NeedObfuscateString(method, value))
|
||||
|
@ -143,7 +144,7 @@ namespace Obfuz.Virtualization
|
|||
}
|
||||
|
||||
instructions.Clear();
|
||||
foreach (var obInst in obfuscatedInstructions)
|
||||
foreach (var obInst in resultInstructions)
|
||||
{
|
||||
instructions.Add(obInst);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue