Module hotpatch

Module hotpatch 

Source
Expand description

Hot-patch style hooks

Windows functions compiled with /hotpatch have a 2-byte NOP (mov edi, edi) at the entry point and 5 bytes of padding before. This allows atomic hook installation with minimal disruption.

Structs§

HotPatchHook
hot-patch style hook

Functions§

hotpatch
convenience function to create and install a hot-patch hook
is_hot_patchable
check if a function is hot-patchable