rust wrapper for GrapheneOS's hardened_malloc
Find a file
2024-04-08 17:42:28 -04:00
src chore: add rustfmt 2024-04-08 17:42:28 -04:00
tests chore: add rustfmt 2024-04-08 17:42:28 -04:00
.gitignore chore: add basic testing module 2024-04-08 17:42:28 -04:00
.gitmodules submodule stuff 2023-11-12 16:36:31 -05:00
build.rs fix: migrated to use of dynamic library 2024-04-08 17:42:28 -04:00
Cargo.toml chore: restructure project and remove unnecessary bindings 2024-04-08 17:42:28 -04:00
CODE_OF_CONDUCT.md initial commit of hardened_malloc-sys 2023-11-12 16:28:12 -05:00
LICENCE initial commit of hardened_malloc-sys 2023-11-12 16:28:12 -05:00
LICENCE_GRAPHENEOS initial commit of hardened_malloc-sys 2023-11-12 16:28:12 -05:00
README.md cargo fmt, fix build with variants, more build logging 2023-11-12 18:14:46 -05:00
rustfmt.toml chore: add rustfmt 2024-04-08 17:42:28 -04:00

hardened_malloc-sys

the sys repo, rust wrapper

to build, just run cargo build -r which will build the light variant by default. if you want default (called standard in this crate) variant, do cargo build -r --features=standard --no-default-features

TODO:

  • test if this even works
  • add support for explicit make config args on top of choosing variant
  • make build script better overall
  • support C preprocessor macro definitions
  • maybe add support for building both variants if both are specified, or dont use a default light variant
  • add support for hardened_malloc make clean upon cargo clean
  • potentially add support for cross-compiling so i can build on apple silicon for linux x86?
  • add support for hardened_malloc's tests and our own tests
  • add github CI/CD
  • mirror to other places