MCPcopy Create free account
hub / github.com/Yeuoly/0xUBypass / p64

Method p64

WindowsShellcodeInjector/WindowsShellcodeInjector.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12void WindowsShellCodeInvoke::p64(UINT64 src, UINT8 *dst) {
13 for (int i = 0; i < 8; i++) {
14 dst[i] = src & 0xff;
15 src >>= 8;
16 }
17}
18
19LPVOID WindowsShellCodeInvoke::VirtualAllocMemory(LPVOID base, UINT32 size, UINT32 flAllocationType, UINT32 flProtect) {
20 UINT64 base_address = (UINT64)base;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected