DkmProcess.OnInstructionPatchInserted(UInt64, Byte[]) 方法

定义

基本调试监视器调用的方法,通知其他组件目标进程的指令内存已修改。 目前,这仅用于插入断点。

位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。

public:
 void OnInstructionPatchInserted(System::UInt64 Address, cli::array <System::Byte> ^ OriginalMemory);
public:
 void OnInstructionPatchInserted(unsigned long long Address, Platform::Array <byte> ^ OriginalMemory);
void OnInstructionPatchInserted(unsigned long Address, std::Array <byte> const & OriginalMemory);
public void OnInstructionPatchInserted (ulong Address, byte[] OriginalMemory);
member this.OnInstructionPatchInserted : uint64 * byte[] -> unit
Public Sub OnInstructionPatchInserted (Address As ULong, OriginalMemory As Byte())

参数

Address
UInt64

中用于写入目标进程的内存的基址。

OriginalMemory
Byte[]

中在目标进程中被替换的原始代码字节。

适用于