#windows #internals #header

bin+lib vergilius

Automatically generated Windows internals structures from vergiliusproject.com

3 releases

0.1.2 Jun 11, 2024
0.1.1 Jun 11, 2024
0.1.0 Jun 11, 2024

#5 in #internals

Download history 64/week @ 2024-11-30 119/week @ 2024-12-07 25/week @ 2024-12-14 1/week @ 2024-12-21 10/week @ 2024-12-28 22/week @ 2025-01-04 9/week @ 2025-01-11 4/week @ 2025-02-08 6/week @ 2025-02-15 31/week @ 2025-02-22 49/week @ 2025-03-01

90 downloads per month

Apache-2.0

87MB
2.5M SLoC

Vergilius RS

Rust auto-generated bindings from the C structures published at vergiliusproject.com.

Generating

To generate headers:

cargo run --bin generate-headers --features=generate

You will then need to make a couple modifications to some files. To list the errors, just compile a header like clang -Wno-everything -o /dev/null headers/bindings-10.0.22631-2428-x64.h.

  • Move definition before first use
    • NOTE: Structure dependencies are resolved using a topological ordering, but dependencies with cycles sometimes resolve in the wrong order (typically only 1-2 per file)
  • Rename enum definition with < in the name

To generate bindings:

cargo run --bin generate-bindings --features=generate

Dependencies

~0–13MB
~151K SLoC