-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.h
More file actions
32 lines (25 loc) · 771 Bytes
/
Copy pathapi.h
File metadata and controls
32 lines (25 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once
#include "instructions.h"
void api_put();
void api_print();
void api_free();
void api_malloc();
void api_callrawaddr();
// generated APIs here
void api_VirtualAlloc();
void api_VirtualFree();
void api_GetAsyncKeyState();
//end
static const command_t api_map[] = {
{.command = "put", .fptr = api_put},
{.command = "print", .fptr = api_print},
{.command = "malloc", .fptr = api_malloc},
{.command = "free", .fptr = api_free},
{.command = "CallRawAddress", .fptr = api_callrawaddr},
// generated APIs here
{.command = "VirtualAlloc", .fptr = api_VirtualAlloc},
{.command = "VirtualFree", .fptr = api_VirtualFree},
{.command = "GetAsyncKeyState", .fptr = api_GetAsyncKeyState},
//end
{.command = NULL, .fptr = NULL}
};