| 311 | }; |
| 312 | |
| 313 | PVOID 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 | // |
no test coverage detected
searching dependent graphs…