obfuz/Editor/ObfusPasses/CallObfus/ObfuscationPolicyBase.cs

14 lines
457 B
C#
Raw Normal View History

2025-05-10 09:41:45 +08:00
using dnlib.DotNet;
namespace Obfuz.ObfusPasses.CallObfus
{
public abstract class ObfuscationPolicyBase : IObfuscationPolicy
{
2025-05-10 11:04:25 +08:00
public abstract bool NeedObfuscateCallInMethod(MethodDef method);
2025-05-10 09:41:45 +08:00
public abstract ObfuscationCachePolicy GetMethodObfuscationCachePolicy(MethodDef method);
2025-05-10 11:04:25 +08:00
public abstract bool NeedObfuscateCalledMethod(MethodDef callerMethod, IMethod calledMethod, bool callVir, bool currentInLoop);
2025-05-10 09:41:45 +08:00
}
}