Skip to content

wenyuzhao/MallocKit

Repository files navigation

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
  • Windows/aarch64 support
  • Rust allocator interface

Releases

No releases published

Packages

No packages published

Languages