Detect C++ Memory Leaks with ALSan: Attachable Leak Sanitizer - Bojun Seo - C++Now 2024 @CppNow
Detect C++ Memory Leaks with ALSan: Attachable Leak Sanitizer - Bojun Seo - C++Now 2024  @CppNow
Uploaded September 2024 | Updated December 2026, 2 hours ago
cppnow.org
---

Detect C++ Memory Leaks with ALSan: Attachable Leak Sanitizer - Bojun Seo - C++Now 2024
---

Introducing ALSan, a new tool that can detect memory leaks in running user processes.

One of the most challenging aspects of debugging is reproducing the issue. Even if the problem itself is trivial, the cost of resolving it can increase exponentially if it takes days to reproduce or is rarely reproduced. Valgrind, ASan, and LSan are all great tools for detecting memory leaks. However, applying these tools requires restarting the target process. In other words, the issue needs to be tested and reproduced again after the tool is applied.

eBPF is an in-kernel VM that empowers users to inject code into the Linux Kernel. Taking advantage of this powerful feature, ALSan can be attached to running processes and detect memory leaks on the fly, allowing the root cause be better detected and reducing the cost of issue reproduction. This tool is built upon the open-source BCC(BPF Compiler Collection) project, which is one of the most famous open-source project in eBPF community. The performance impact is similar to that of llvm-project's LSan.
---

Slides: github.com/boostcon/cppnow_presentations_2024/blob/main/Presentations/ALSAN.pdf


---

Bojun Seo

Bojun is a software engineer deeply committed to detecting memory leaks. He has been working as a software engineer at LG Electronics. His primary responsibility at LG Electronics is to identify and fix memory leaks on various products, such as fridges, cars, TVs, and so on.

Recently, he has started to create tools that utilize the cutting-edge eBPF (extended Berkeley Packet Filter) functionality to solve various problems, including memory leaks. He is a contributor to the open-source BCC (BPF Compiler Collection) project, which is one of the most famous project in eBPF community.

He was a presenter at the 8th Korea Linux Kernel Developer Conference in 2023.
---

C++Now 2025 - 28th April - 2nd May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---

Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---

#boost #cpp #cppprogramming #programming #cplusplus
Detect C++ Memory Leaks with ALSan: Attachable Leak Sanitizer - Bojun Seo - C++Now 2024Lightning Talk: Implementing an Observable with Friend Injection in C++ - Patrick Roberts - C++NowHow To Affect the Future of C++ Standard in 90 Minutes - River Wu - C++Now 2025Glean: C++ Code Indexing at Meta - Michael Park - C++Now 2024Lightning Talk: Source/Sink vs. Ranges in C++ - Whats the Difference? - Tony Van Eerd - CppNow 2023Welcome to v1.0 of the meta::[[verse]]! - Inbal Levi - C++Now 2025Lightning Talk: Mixed-Mode Rings: io_uring_context for Kernel 7.x - Robert Leahy - C++Now 2026Using TLA+ to Fix a Very Difficult glibc Bug - Malte Skarupke - C++Now 2025Lightning Talk: Taking C++ Benchmarking Seriously  - Malte Skarupke  - C++Now 2025From SIMD Wrappers to SIMD Ranges - Part 1 Of 2 - Denis Yaroshevskiy & Joel Falcou - C++Now 2025Achieving Peak Performance for Matrix Multiplication in C++ - Aliaksei Sala - C++Now 2025AI is Forcing us to Obey Scott Meyers - Jody Hagins - C++Now 2026
CppNow |

Detect C++ Memory Leaks with ALSan: Attachable Leak Sanitizer - Bojun Seo - C++Now 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER