From e1b33cbf268f25e2dbdcb30c1371765295c964d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Tue, 29 Aug 2023 19:30:19 +0300 Subject: [PATCH] Fix the example plugin --- bin/dotplugins/example/ExamplePlugin.Events.cs | 6 +++--- bin/dotplugins/example/ExamplePlugin.Expressions.cs | 2 +- bin/dotplugins/example/ExamplePlugin.Menus.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/dotplugins/example/ExamplePlugin.Events.cs b/bin/dotplugins/example/ExamplePlugin.Events.cs index 2b55883..dab3f31 100644 --- a/bin/dotplugins/example/ExamplePlugin.Events.cs +++ b/bin/dotplugins/example/ExamplePlugin.Events.cs @@ -20,7 +20,7 @@ public void OnThreadExitEvent(ThreadExitEventInfo ev) public void OnProcessCreateEvent(ProcessCreateEventInfo ev) { - Utils.PrintFields(ev); + //Utils.PrintFields(ev); } public void OnProcessExitEvent(ProcessExitEventInfo ev) @@ -55,11 +55,11 @@ public void OnDebuggerPause() public void OnModuleLoadEvent(ModuleLoadEventInfo ev) { - Utils.PrintFields(ev); + //Utils.PrintFields(ev); } public void OnModuleUnloadEvent(ModuleUnloadEventInfo ev) { - Utils.PrintFields(ev); + //Utils.PrintFields(ev); } } diff --git a/bin/dotplugins/example/ExamplePlugin.Expressions.cs b/bin/dotplugins/example/ExamplePlugin.Expressions.cs index a305361..38c4ac4 100644 --- a/bin/dotplugins/example/ExamplePlugin.Expressions.cs +++ b/bin/dotplugins/example/ExamplePlugin.Expressions.cs @@ -1,7 +1,7 @@ using Dotx64Dbg; using System; -public partial class MyPlugin +public partial class ExamplePlugin { [Expression("expr_no_input")] public nuint MyExpr1() diff --git a/bin/dotplugins/example/ExamplePlugin.Menus.cs b/bin/dotplugins/example/ExamplePlugin.Menus.cs index 6aace31..bc72f17 100644 --- a/bin/dotplugins/example/ExamplePlugin.Menus.cs +++ b/bin/dotplugins/example/ExamplePlugin.Menus.cs @@ -3,7 +3,7 @@ using static Dotx64Dbg.UI; -public partial class MyPlugin +public partial class ExamplePlugin { [Menu(Disassembly.Menu, "Print selection")] public void TestMenu01()