rust wrapper for GrapheneOS's hardened_malloc
Find a file
strawberry 3f5004be68 switch to fork of hardened_malloc
Signed-off-by: strawberry <strawberry@pupbrain.dev>
2024-04-09 19:10:20 -04:00
src switch to fork of hardened_malloc 2024-04-09 19:10:20 -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 switch to fork of hardened_malloc 2024-04-09 19:10:20 -04:00
build.rs initial implementation of dynamic and static linking 2024-04-09 18:09:31 -04:00
Cargo.toml initial implementation of dynamic and static linking 2024-04-09 18:09:31 -04:00
CODE_OF_CONDUCT.md initial commit of hardened_malloc-sys 2023-11-12 16:28:12 -05:00
LICENSE chore: rename license to proper spelling 2024-04-08 17:42:28 -04:00
LICENSE_GRAPHENEOS chore: rename license to proper spelling 2024-04-08 17:42:28 -04: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