IDkmInstructionPatchNotification.OnInstructionPatchInserted(DkmProcess, UInt64, Byte[]) Methode

Definition

Methode, die vom Basis-Debug-Monitor aufgerufen wird, um andere Komponenten darüber zu informieren, dass der Anweisungsspeicher des Ziel Prozesses geändert wurde. Dies wird derzeit nur für das Einfügen von Haltepunkten verwendet.

public:
 void OnInstructionPatchInserted(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, System::UInt64 address, cli::array <System::Byte> ^ originalMemory);
public void OnInstructionPatchInserted (Microsoft.VisualStudio.Debugger.DkmProcess process, ulong address, byte[] originalMemory);
abstract member OnInstructionPatchInserted : Microsoft.VisualStudio.Debugger.DkmProcess * uint64 * byte[] -> unit
Public Sub OnInstructionPatchInserted (process As DkmProcess, address As ULong, originalMemory As Byte())

Parameter

process
DkmProcess

In Dkmprocess stellt einen Ziel Prozess dar, der debuggt wird. Der Debugger debuggt die Prozesse, sodass dies die grundlegende debugeinheit ist. Ein dkmprocess kann einen System Prozess oder einen virtuellen Prozess, z. b. Minidumps, darstellen.

address
UInt64

In Die Basisadresse, aus der der Arbeitsspeicher des Ziel Prozesses geschrieben werden soll.

originalMemory
Byte[]

In Die ursprünglichen Code bytes, die im Ziel Prozess ersetzt wurden.

Gilt für