MCPcopy Create free account
hub / github.com/acl-dev/acl / DetourCopyInstruction

Function DetourCopyInstruction

lib_fiber/cpp/src/detours/disasm.cpp:313–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311};
312
313PVOID WINAPI DetourCopyInstruction(_In_opt_ PVOID pDst,
314 _Inout_opt_ PVOID *ppDstPool,
315 _In_ PVOID pSrc,
316 _Out_opt_ PVOID *ppTarget,
317 _Out_opt_ LONG *plExtra)
318{
319 UNREFERENCED_PARAMETER(ppDstPool); // x86 & x64 don't use a constant pool.
320
321 CDetourDis oDetourDisasm((PBYTE*)ppTarget, plExtra);
322 return oDetourDisasm.CopyInstruction((PBYTE)pDst, (PBYTE)pSrc);
323}
324
325/////////////////////////////////////////////////////////// Disassembler Code.
326//

Callers 1

DetourAttachExFunction · 0.85

Calls 4

CopyInstructionMethod · 0.80
IsBrlMethod · 0.80
GetBrlTargetMethod · 0.80
CopyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…