feat: initial commit

This commit is contained in:
2023-10-22 12:59:33 +02:00
commit 2a6f5383a3
8 changed files with 299 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#pragma once
#ifndef DRIVER
#include <stdint.h>
#include <stdio.h>
#endif
#define IOCTL_OPENPROC _IOW('k', 1, int)
#define IOCTL_RPM _IOW('k', 1, t_RPM)
#define IOCTL_WPM _IOW('k', 2, t_WPM)
typedef struct s_RPM
{
uintptr_t addr;
ssize_t size;
} t_RPM;
typedef struct s_WPM
{
uintptr_t addr;
ssize_t size;
uintptr_t value;
} t_WPM;