Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore advanced debugging techniques for memory issues in C and C++ programs using Valgrind and GDB in this 25-minute conference talk from DevConf.CZ 2023. Learn how to effectively combine these powerful tools to identify and resolve common problems such as buffer overflows, memory leaks, and other low-level programming errors. Discover recent improvements in Fedora that streamline the integration of Valgrind and GDB, allowing for seamless debugging within the GDB environment. Follow along as the speaker demonstrates practical examples of finding and debugging various memory issues, including undefined memory access, use-after-free errors, and memory leaks. Gain insights into automating the acquisition of debuginfo for system libraries, enhancing your debugging capabilities. Whether you're a seasoned developer or new to low-level programming, this talk offers valuable techniques to improve code quality and reliability.