obfuz/Editor/ObfusPasses/CallObfus/IObfuscator.cs

21 lines
568 B
C#
Raw Permalink Normal View History

2025-05-30 13:32:29 +08:00
using dnlib.DotNet;
using dnlib.DotNet.Emit;
using System.Collections.Generic;
namespace Obfuz.ObfusPasses.CallObfus
{
public interface IObfuscator
{
2025-07-01 18:46:09 +08:00
bool Obfuscate(MethodDef callingMethod, IMethod calledMethod, bool callVir, List<Instruction> obfuscatedInstructions);
void Done();
}
public abstract class ObfuscatorBase : IObfuscator
{
2025-07-01 18:46:09 +08:00
public abstract bool Obfuscate(MethodDef callingMethod, IMethod calledMethod, bool callVir, List<Instruction> obfuscatedInstructions);
public abstract void Done();
}
}