mirror of
https://github.com/vee1e/naksheap.git
synced 2026-09-01 10:18:37 +00:00
Rust workspace that turns a core dump of a stripped, optimized C/C++ binary into a typed heap object graph: objects, sizes, allocator state, references, and probable struct layouts, all without debug info. - glibc ptmalloc carving (main + thread arenas, tcache/fastbin freed state, mmap allocations), ELF core + memory-list minidump parsing - pointer scan, layout clustering, vtable/string/vector detection, confidence + evidence on every node - ASCII/JSON/Graphviz/HTML output, synthetic fixtures with ground truth, and real-dump validation harness (aarch64 glibc 2.39) in scripts/ - web deployment reference stack in deploy/ MIT OR Apache-2.0 |
||
|---|---|---|
| .. | ||
| README.md | ||
| toy-server.core | ||
| toy-server.core.manifest.json | ||
fixtures
Generated artifacts, not hand-edited sources.
| File | Contents |
|---|---|
| toy-server.core | A deterministic synthetic ELF64 core dump |
| toy-server.core.manifest.json | The ground-truth manifest for that core: arenas, objects, roots, edges |
Regenerate from the repo root:
cargo run -p naksheap-testkit --example gen_fixture -- fixtures
The build is byte-for-byte deterministic. This golden core guards against regressions in the parser, carver, and scanner.