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

Method p32

WindowsShellcodeInjector/WindowsShellcodeInjector.cpp:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include"WindowsShellcodeInjector.h"
4
5void WindowsShellCodeInvoke::p32(UINT32 src, UINT8 *dst) {
6 for (int i = 0; i < 4; i++) {
7 dst[i] = src & 0xff;
8 src >>= 8;
9 }
10}
11
12void WindowsShellCodeInvoke::p64(UINT64 src, UINT8 *dst) {
13 for (int i = 0; i < 8; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected