ConstEncrypt不加密长度为0的字符串
parent
78699d7959
commit
b51893d154
|
@ -432,6 +432,10 @@ namespace Obfuz.ObfusPasses.ConstEncrypt
|
||||||
|
|
||||||
public override bool NeedObfuscateString(MethodDef method, bool currentInLoop, string value)
|
public override bool NeedObfuscateString(MethodDef method, bool currentInLoop, string value)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(value))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
ObfuscationRule rule = GetMethodObfuscationRule(method);
|
ObfuscationRule rule = GetMethodObfuscationRule(method);
|
||||||
if (rule.encryptString == false)
|
if (rule.encryptString == false)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue