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

  Рет қаралды 1,449

CppNow

CppNow

Күн бұрын

www.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/boo...
Sponsored by Undo: Debug your hardest C++ bugs with time travel debugging → Learn more at bit.ly/cppnow24
---
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 - www.cppnow.org
/ cppnow​
/ cppnow
/ cppnow
/ cppnow
mastodon.socia...
Video Sponsors: millennium and think-cell
---
Videos Filmed & Edited By Bash Films: bashfilms.com/
KZbin Channel Managed & Optimized By Digital Medium Ltd: events.digital...
---
#boost #cpp #cppprogramming #programming #cplusplus

Пікірлер
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 327 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 68 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 1,8 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 9 МЛН
Projects Every Programmer Should Try
16:58
ThePrimeTime
Рет қаралды 463 М.
40 Years Of Software Engineering Experience In 19 Minutes
19:10
Continuous Delivery
Рет қаралды 80 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 98 М.