rust wrapper for GrapheneOS's hardened_malloc
Find a file
strawberry 1c1cb7ca2a remove cargo.toml excludes
Signed-off-by: strawberry <strawberry@pupbrain.dev>
2023-11-12 18:51:31 -05:00
src cargo fmt, fix build with variants, more build logging 2023-11-12 18:14:46 -05:00
.gitignore initial commit of hardened_malloc-sys 2023-11-12 16:28:12 -05:00
.gitmodules submodule stuff 2023-11-12 16:36:31 -05:00
build.rs cargo fmt, fix build with variants, more build logging 2023-11-12 18:14:46 -05:00
Cargo.toml remove cargo.toml excludes 2023-11-12 18:51:31 -05:00
CODE_OF_CONDUCT.md initial commit of hardened_malloc-sys 2023-11-12 16:28:12 -05:00
hardened_malloc_sources.txt 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

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