🧪
hax
🤔
About
hax is a Rust crate designed to make memory hacking, game hacking, cheat development, and any other low level memory based development simple, yet intuitive.
So far the project is in it's infancy, although many things are planned and we appreciate any form of contribution! We're on Discord and primarily discuss the project there, please note we request you not talk about cheat development as it is against Discord's terms of service.
💎
Features
- Various macros aimed to eliminate boilerplate
🪛
Installation & Usage
Adding hax to your project is simple, however it requires a bit of setup depending on your desired output.
External
To add hax to your external project and produce an executable, you must:
- Add hax to your project with cargo:
cargo add hax -F external
- Inside of
main.rs
, attribute your entrypoint with#[hax::main]
Internal
To add hax to your internal project and produce a shared library (.dll, .dylib, .so), you must:
- Add hax to your project with cargo:
cargo add hax -F internal
- Set the
crate-type
to["cdylib"]
inside ofCargo.toml
- Inside of
lib.rs
, attribute your entrypoint with#[hax::main]
Kernel
Bleeding edge
If you want to use the bleeding edge version of hax, you can add this to your Cargo.toml
:
[dependencies.hax]
git = "https://github.com/hax-rs/hax"
package = "hax"