Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wenyuzhao/mallockit

A framework for malloc/free ♻️ experiments.
https://github.com/wenyuzhao/mallockit

aarch64 hoard linux macos malloc malloc-free memory-allocation memory-management rust x86-64

Last synced: 1 day ago
JSON representation

A framework for malloc/free ♻️ experiments.

Awesome Lists containing this project

README

        

# MallocKit

## Getting Started

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

```console
$ 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

```console
$ cargo test
```

## TODO

- [x] Linux/x86_64 support
- [x] MacOS/x86_64 support
- [ ] Windows/x86_64 support
- [x] Performance
- [x] Linux/aarch64 support
- [x] MacOS/aarch64 support
- [ ] Windows/aarch64 support
- [x] Rust allocator interface