项目
在 GitHub 查看
JustasMasiulis/wow64pp
关于
Windows Heaven's Gate 的现代 C++ 实现
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文wow64pp
An easy to use header only heavens gate implementation based on wow64ext X64Call however not using inline assembly allowing it to work on other compilers like MinGW.
Quick reference
Wow64pp only exposes 3 functions 2 of which have exception based and error_code based counterparts.
#include "wow64pp.hpp"
// ...
// equivalent of GetModuleHandle
auto x64_ntdll_handle = wow64pp::module_handle("ntdll.dll");
// or wow64pp::module_handle("ntdll.dll", error_code);
// equivalent of GetProcAddress
auto x64_NtQueryVirtualMemory = wow64pp::import(x64_ntdll_handle, "NtQueryVirtualMemory");
// or wow64pp::import(x64_ntdll_handle, "NtQueryVirtualMemory", error_code);
// after getting the function address you can call it using wow64pp::call_function by passing its address
// as the first argument, with the function arguments following.
winapi::MEMORY_BASIC_INFORMATION64 memory_info;
std::uint64_t result_len;
auto ec = wow64pp::call_function(x64_NtQueryVirtualMemory, process_handle, address
, 0, &memory_info, sizeof(memory_info), &result_len);
探索相关项目
加载中…