Using eBPF to Investigate Memory Leaks at Runtime: A Comparison with LeakSanitizer

This paper explains how eBPF supports runtime memory tracing in Linux applications and kernel components. It describes program compilation, verification, JIT translation, and kernel execution, including uprobes for user-space observation and kprobes or tracepoints for kernel observation. Using BCC memleak as an example, it compares outstanding-allocation tracking with LeakSanitizer’s separate reachability analysis and presents practical guidance on probe coverage, deployment, interpretation, and evaluation.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-27
DOI
https://doi.org/10.5281/zenodo.24573318
Primary Topic
Software Testing and Debugging Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Using eBPF to Investigate Memory Leaks at Runtime: A Comparison with LeakSanitizer

Sanidhya Singh, Nishant Singh, Raj Kumar
Zenodo (CERN European Organization for Nuclear Research)
Software Testing and Debugging Techniques
preprint

Using eBPF to Investigate Memory Leaks at Runtime: A Comparison with LeakSanitizer

Sanidhya Singh, Nishant Singh, Raj Kumar
preprint en

Abstract

This paper explains how eBPF supports runtime memory tracing in Linux applications and kernel components. It describes program compilation, verification, JIT translation, and kernel execution, including uprobes for user-space observation and kprobes or tracepoints for kernel observation. Using BCC memleak as an example, it compares outstanding-allocation tracking with LeakSanitizer’s separate reachability analysis and presents practical guidance on probe coverage, deployment, interpretation, and evaluation.

Zenodo (CERN European Organization for Nuclear Research)
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Using eBPF to Investigate Memory Leaks at Runtime: A Comparison with LeakSanitizer — Sanidhya Singh, Nishant Singh, et al. · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS