Skip to content

Commit

Permalink
cleanup old unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Metick committed Apr 8, 2024
1 parent 5e4f167 commit f228aee
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugin/Hooks/mem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

namespace Hooks
{
std::vector<c_memory_region<vad_info>> memoryMap;
std::vector<vad_info> vad_infos;

HANDLE hk_open_process(DWORD dwDesiredAccess, BOOL bInheritHandle, DWORD dwProcessId)
{
if (mem.Init(dwProcessId))
Expand All @@ -33,8 +30,6 @@ namespace Hooks
{
std::list<c_memory_region<vad_info>> result = { };
PVMMDLL_MAP_VAD vads = nullptr;
memoryMap.clear();
vad_infos.clear();

if (!VMMDLL_Map_GetVadW(mem.vHandle, mem.current_process.PID, true, &vads))
return { };
Expand Down

0 comments on commit f228aee

Please sign in to comment.