MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / Detour2gbAbove

Function Detour2gbAbove

KernelLibrary/detours.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63ULONG_PTR Detour2gbAbove(ULONG_PTR address) {
64#if defined(DETOURS_64BIT)
65 return (address < (ULONG_PTR)0xffffffff80000000) ? address + 0x7ff80000 : (ULONG_PTR)0xfffffffffff80000;
66#else
67 return (address < (ULONG_PTR)0x80000000) ? address + 0x7ff80000 : (ULONG_PTR)0xfff80000;
68#endif
69}
70
71void MapLockedCopyMemory(PUCHAR pDst, PVOID pSrc, ULONG length) {
72 UCHAR code[4] = { 0 };

Callers 1

DetourFindJmpBoundsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected