ferroalloc-probe
A drop-in GlobalAlloc wrapper that streams every heap allocation and deallocation
to the ferroalloc
VS Code extension for real-time memory visualization.
Usage
# Cargo.toml
[]
= "0.1"
use ;
static ALLOC: FerroAllocator = FerroAllocator;
Then run ferroalloc-analyzer and open your project in VS Code with the
ferroalloc extension installed.
How it works
FerroAllocator wraps the system allocator and records every alloc/dealloc call.
Source locations (file, line, function) are resolved at runtime inside your process
using the OS symbol table — this avoids ASLR/DWARF mismatch issues on macOS.
Events are pushed into a lock-free queue and streamed over TCP to ferroalloc-analyzer.
License
MIT