You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
365 B
17 lines
365 B
4 years ago
|
#pragma once
|
||
|
#include "../mem_ctx/mem_ctx.hpp"
|
||
|
|
||
|
namespace nasa
|
||
|
{
|
||
|
class kmem_ctx
|
||
|
{
|
||
|
public:
|
||
|
kmem_ctx(vdm::vdm_ctx* vdm);
|
||
|
static auto get_handle()->HANDLE;
|
||
|
static auto translate(std::uintptr_t kva)->std::uintptr_t;
|
||
|
private:
|
||
|
void zombie(std::uint32_t pid) const;
|
||
|
bool set_process_name(PEPROCESS peproc, const wchar_t* new_name);
|
||
|
vdm::vdm_ctx* vdm;
|
||
|
};
|
||
|
}
|