#hacking #os #process #memory

ghostptr

Lightweight, ergonomic library for Windows process interaction

15 releases

Uses new Rust 2024

new 0.2.6 Mar 8, 2026
0.2.5 Feb 20, 2026
0.2.1 Jan 31, 2026
0.1.9 Jan 24, 2026

#95 in Windows APIs

MIT license

335KB
7K SLoC

ghostptr 👻

MIT License crates.io docs.rs

Lightweight, ergonomic library for low‑level Windows process interaction.

Design

The purpose of this library is to provide simple, minimal abstractions over Windows NT primitives. The API offers ergonomic access to process handles and memory while preserving safety wherever it can be guaranteed.

Installation

[dependencies]
ghostptr = "0.2.6"

Quick Start

fn main() -> ghostptr::Result<()> {
    let process = Process::current();
	let pid = process.pid()?;

	println!("{}", pid);

	Ok(())
}

No runtime deps

Features