Skip to content

Toolset for interacting with Windows processes in Zig

Notifications You must be signed in to change notification settings

GoNZooo/zig-windows-process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-windows-process

This repo is meant to hold tools for tinkering with Windows processes (though I might extend it in the future) to allow for a higher-level interface for injecting DLLs and such.

The primary motivation is that I'd like to have a basic toolkit for dealing with things that usually come up in game hacking and exploration.

The library code

The library code is primarily in main.zig so if you were to add the package it would be from that file, as follows:

exe.addPackagePath("windows-process", "dependencies/windows-process/src/main.zig");

Example usage

DLL injection

inject_dll.zig contains a main file for a program that will take a DLL path and inject it into a given process. One needs to make sure that the process has the same bitness as the DLL.

Finding/enumerating processes

find_process.zig uses the process enumeration API to find processes matching a given executable name.

More stuff and more ways to do these things

I'm not an expert on any of these things and there are way more things to add here. I'd love suggestions for tools to add, techniques to facilitate through this package. Having a general module that allows interaction with Windows processes in general is the point, after all.

About

Toolset for interacting with Windows processes in Zig

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages