Skip to content

Commit

Permalink
Merge pull request #90 from ZehMatt/example-plugin-fix
Browse files Browse the repository at this point in the history
Fix the example plugin
  • Loading branch information
ZehMatt authored Aug 29, 2023
2 parents 3cd9f95 + e1b33cb commit 7aac799
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bin/dotplugins/example/ExamplePlugin.Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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);
}
}
2 changes: 1 addition & 1 deletion bin/dotplugins/example/ExamplePlugin.Expressions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Dotx64Dbg;
using System;

public partial class MyPlugin
public partial class ExamplePlugin
{
[Expression("expr_no_input")]
public nuint MyExpr1()
Expand Down
2 changes: 1 addition & 1 deletion bin/dotplugins/example/ExamplePlugin.Menus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using static Dotx64Dbg.UI;

public partial class MyPlugin
public partial class ExamplePlugin
{
[Menu(Disassembly.Menu, "Print selection")]
public void TestMenu01()
Expand Down

0 comments on commit 7aac799

Please sign in to comment.