obfuz/Editor/ObfusPasses/ConstObfus/IConstObfuscationPolicy.cs

27 lines
681 B
C#
Raw Normal View History

2025-04-21 21:02:47 +08:00
using dnlib.DotNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2025-05-04 19:55:10 +08:00
namespace Obfuz.ObfusPasses.ConstObfus
2025-04-21 21:02:47 +08:00
{
public interface IConstObfuscationPolicy
2025-04-21 21:02:47 +08:00
{
bool NeedObfuscateMethod(MethodDef method);
bool NeedObfuscateInt(MethodDef method, int value);
bool NeedObfuscateLong(MethodDef method, long value);
bool NeedObfuscateFloat(MethodDef method, float value);
bool NeedObfuscateDouble(MethodDef method, double value);
bool NeedObfuscateString(MethodDef method, string value);
2025-04-23 13:46:50 +08:00
bool NeedObfuscateArray(MethodDef method, byte[] array);
2025-04-21 21:02:47 +08:00
}
}