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

Class ShellcodeItem

WindowsShellcodeInjector/ShellcodeSplitor.h:5–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include<vector>
4
5class ShellcodeItem {
6public:
7 UINT32 length;
8 UINT8 *codes;
9
10 ShellcodeItem(UINT32 length, UINT8 *codes) {
11 this->codes = (UINT8 *)malloc(length);
12 for (int i = 0; i < length; i++) {
13 this->codes[i] = codes[i];
14 }
15 }
16
17 ~ShellcodeItem() {
18 free(codes);
19 }
20};
21
22class ShellcodeContainer {
23public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected