Home | History | Annotate | Download | only in windows

Lines Matching defs:Patch

104 // To patch a function, use either of the typesafe Patch() methods.  You
115 // original_func_stub = PreamblePatcher::Patch(
128 // the function being patched, we cannot patch it because in the
131 // if you really really need to patch a function like this, it
134 // we cannot patch the function because it may not be long enough
135 // for the jmp instruction we use to inject our patch.
149 // may mean if you patch the function in between your patch will never get
164 // PreamblePatcher::Patch(MessageBox, Hook_MessageBox, &original);
167 static SideStepError Patch(T target_function,
187 // is being imported. Note that the patch will fail if this module
190 // @param function_name The name of the function you wish to patch.
202 static SideStepError Patch(LPCTSTR module_name,
233 // for each of the typesafe Patch() functions. In most cases,
234 // it is preferable to use the Patch() functions rather than
286 // Patch(VirtualAlloc, MyVirtualAlloc, &origptr)
316 // to patch 5 bytes in the target function.
342 // target in order to only require 5 bytes for the function patch. To meet