Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 771 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 771 Bytes

MallocKit

Getting Started

$ cargo build -p hoard --release --features malloc
$ env LD_PRELOAD=./target/release/libhoard.so cargo --help # or some other command

Run on macOS

$ env DYLD_INSERT_LIBRARIES=./target/release/libhoard.dylib cargo --help # or some other command

Note: If you'd like to hijack the system apps and libraries as well, disable System Integrity Protection (SIP). Do this at your own risk 😉

Tests

$ cargo test

TODO

  • Linux/x86_64 support
  • MacOS/x86_64 support
  • Windows/x86_64 support
  • Performance
  • Linux/aarch64 support
  • MacOS/aarch64 support (arm64 only. arm64e is currently unsupported)
  • Windows/aarch64 support
  • Rust allocator interface