public static void AddHook(this ICPUWithBlockBeginHook cpu, [AutoParameter] Machine m, uint addr, string pythonScript) { var engine = new BlockPythonEngine(m, cpu, pythonScript); cpu.AddHook(addr, engine.Hook); }
public static void AddHook(this ICPUWithHooks cpu, [AutoParameter]Machine m, uint addr, string pythonScript) { var engine = new BlockPythonEngine(m, cpu, pythonScript); cpu.AddHook(addr, engine.Hook); }
public static void SetHookAtBlockBegin(this ICPUWithBlockBeginHook cpu, [AutoParameter] Machine m, string pythonScript) { var engine = new BlockPythonEngine(m, cpu, pythonScript); cpu.SetHookAtBlockBegin(engine.HookWithSize); }
public static void SetHookAtBlockBegin(this ICPUWithHooks cpu, [AutoParameter]Machine m, string pythonScript) { var engine = new BlockPythonEngine(m, cpu, pythonScript); cpu.SetHookAtBlockBegin(engine.HookWithSize); }