#process #low-level #bindings #header #native-bindings #syscalls #informer

phnt

Rust bindings to the System Informer’s (formerly known as Process Hacker) phnt native Windows headers

11 releases

new 0.1.2 Jan 9, 2025
0.1.1 Jan 9, 2025
0.0.32 Dec 16, 2024
0.0.31 Sep 14, 2024
0.0.26 Apr 17, 2024

#347 in Algorithms

Download history 62/week @ 2024-09-20 43/week @ 2024-09-27 4/week @ 2024-10-04 1/week @ 2024-10-11 7/week @ 2024-12-06 155/week @ 2024-12-13 20/week @ 2024-12-20 1/week @ 2024-12-27 292/week @ 2025-01-03

477 downloads per month
Used in windows-syscall

MIT license

9MB
254K SLoC

phnt: Rust bindings to the System Informer's phnt

phnt GitHub Actions phnt on crates.io phnt on docs.rs

This crate provides Rust bindings to the System Informer's (formerly Process Hacker) native Windows headers (phnt). These headers provide type definitions, constants, macros, and function prototypes, including support for undocumented Windows functions and syscalls.

Getting Started

Add phnt to your Cargo.toml

[dependencies]
phnt = "x.y.z"  # Replace x.y.z with the latest version

Features

Feature Description
(default) Uses vendored bindings for faster builds.
regenerate Allows regeneration of bindings from phnt (nightly) source code.

Architectures

The following architectures are fully supported using vendored (default) bindings

Architecture Description
x86_64 Standard modern architecture for desktops and servers
x86 (i386) Legacy 32-bit architecture
aarch64 (ARM64) Modern 64-bit ARM architecture used in mobile and some desktops

Crate Overview

ffi

Low-level bindings generated from the phnt (nightly) source using bindgen

ext

Extensions to the bindings with additional utilities

Dependencies

~10–19MB
~241K SLoC