Tag

scudo

0 views collected around this technical thread.

ByteDance Web Infra
ByteDance Web Infra
Aug 19, 2022 · Fundamentals

In‑Depth Analysis of dlmalloc, jemalloc, Scudo, and PartitionAlloc for Virtual‑Machine Memory Management

This article examines the design goals, key implementation details, strengths and weaknesses of four widely used memory allocators—dlmalloc, jemalloc, Scudo, and PartitionAlloc—highlighting how they address fragmentation, performance, and security in virtual‑machine runtimes and offering guidance for building efficient, safe allocators.

Memory Allocationdlmallocjemalloc
0 likes · 27 min read
In‑Depth Analysis of dlmalloc, jemalloc, Scudo, and PartitionAlloc for Virtual‑Machine Memory Management
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 31, 2021 · Information Security

Design and Implementation of the Android Scudo Hardened Allocator

The Android Scudo hardened allocator, introduced in Android R to replace jemalloc, uses a primary region‑based allocator, a secondary mmap‑backed allocator, thread‑specific caches, and a quarantine system with 64‑bit chunk headers and extensive safety checks, offering a balanced security‑performance trade‑off configurable via compile‑time, environment, and mallopt options.

AndroidChunk HeaderNative Allocation
0 likes · 17 min read
Design and Implementation of the Android Scudo Hardened Allocator