Powered by OpenAIRE graph
Found an issue? Give us feedback
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/ ZENODOarrow_drop_down
image/svg+xml art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos Open Access logo, converted into svg, designed by PLoS. This version with transparent background. http://commons.wikimedia.org/wiki/File:Open_Access_logo_PLoS_white.svg art designer at PLoS, modified by Wikipedia users Nina, Beao, JakobVoss, and AnonMoos http://www.plos.org/
ZENODO
Software
Data sources: ZENODO
addClaim

alternative-intelligence-cp/aria: v0.7.0 — Wild Memory Improvements

Authors: shaglama;

alternative-intelligence-cp/aria: v0.7.0 — Wild Memory Improvements

Abstract

Wild Memory Improvements Per-Allocation Size Tracking Hidden WildHeader (magic + alloc_size) before each allocation aria_alloc_get_size() reads the allocation size from the header Accurate aria_free/aria_realloc size accounting — no more imprecise stats Guard Pages (--guard-pages) mmap(PROT_NONE) sentinel pages placed before and after wild allocations Buffer overflows/underflows trigger SIGSEGV immediately Magic LSB distinguishes guard-page vs malloc mode at free time Linux only Wild Stats Dashboard (--wild-stats) Formatted statistics box printed at program exit Shows current/peak usage, active allocs, total frees, leak count, WildX stats, quota Uses __attribute__((destructor)) for reliable atexit printing Injected into main() via LLVM IR during compilation Bug Fix Fixed HEADER_MAGIC LSB bug: magic 0xA01A...BEEF had LSB=1, which broke the guard-page LSB masking in aria_free validation (frees were silently skipped). Changed to 0xA01A707000BEE0 (LSB=0). Tests New tests/wild_stress_v070.aria: 9 tests (rapid alloc/free, concurrent, interleaved, realloc grow/shrink, large/small allocations, aria_alloc_get_size) All 6 existing test suites pass (regression clean) Notes Arena, Pool, and Slab allocators already existed from prior work — not new in this release 582 insertions, 67 deletions across 5 files

Powered by OpenAIRE graph
Found an issue? Give us feedback