Skip to content

crime-trix/handlewalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

handlewalk

handlewalk is a tiny C++20 wrapper around the Native API pieces needed to enumerate Windows handles and inspect duplicated objects.

ci

It is meant for diagnostics and research tooling: collect SystemExtendedHandleInformation, filter by process id, duplicate handles with PROCESS_DUP_HANDLE, and query object type/name through NtQueryObject.

auto api = handlewalk::api::load();
auto handles = api->handles();

for (const auto& h : *handles) {
    if (h.process_id == GetCurrentProcessId()) {
        std::cout << std::hex << h.handle_value << "\n";
    }
}

Build

cmake -S . -B build -DHANDLEWALK_BUILD_EXAMPLES=ON
cmake --build build --config Release

About

C++20 Native API handle enumeration and object inspection helper

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors