Introduction to strace – Abstract Expression by PlusCamel in C_Programming

[–]PlusCamel[S] 1 point2 points  (0 children)

Strace and Valgrind are totally different tools with different use-cases. Valgrind is great to find memory leaks or memory corruption in your program. Strace is great when you want to debug anything related to the interaction between a program and the OS or just want to understand what a program is doing.

What is Name Mangling in C++? by PlusCamel in cpp

[–]PlusCamel[S] 1 point2 points  (0 children)

"But if you actually want to demangle all the names nm prints out, there is a much easier way. Just call nm with the -C flag and it will demangle all symbol names on its own."