JD2022-TU1/main/tools/legacy/MemoryViewer/MemoryViewerPlugin.cs

17 lines
441 B
C#

using UAF.Remoting;
namespace MemoryViewer
{
public class MemoryViewerPlugin : UAF.Remoting.Plugin
{
public MemoryViewerPlugin(string name, FormMemoryViewer mainForm) : base(name)
{
DispatchOnMainThread = (action) => mainForm.BeginInvoke(action);
}
public void SendIdCommand(int filter)
{
this.Send("dumpallocatorid", blob => blob.Push(filter));
}
}
}