WHV_EMULATOR_MEMORY_CALLBACK
Syntax
typedef HRESULT (CALLBACK *WHV_EMULATOR_MEMORY_CALLBACK)(
_In_ VOID* Context,
_Inout_ WHV_EMULATOR_MEMORY_ACCESS_INFO* MemoryAccess
);
Remarks
Callback notifying the virtualization stack that the current instruction is attempting to accessing memory as specified in the MemoryAccess
structure.
NOTE: As mentioned above, since in x86/AMD64 it is legal to do unaligned memory accesses, a memory access spanning a page boundary ie:
movq [0xffe], rax
This would cause two different memory callbacks to be invoked, one for two bytes, and one for 6 bytes.
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應