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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈