Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/wenyuzhao/mallockit
- Owner: wenyuzhao
- Created: 2021-06-09T05:01:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T11:10:27.000Z (6 months ago)
- Last Synced: 2024-05-22T12:19:07.621Z (6 months ago)
- Topics: aarch64, hoard, linux, macos, malloc, malloc-free, memory-allocation, memory-management, rust, x86-64
- Language: Rust
- Homepage:
- Size: 512 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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