What is the difference between a direct and indirect leak?

The LSan wiki design document states: Another useful feature is being able to distinguish between directly leaked blocks (not reachable from anywhere) and indirectly leaked blocks (reachable from other leaked blocks). Stated another way, indirect leaks are a result of direct leaks. Fixing direct leaks should make the indirect leaks become either fixed or direct … Read more

How to install Valgrind on macOS Catalina (10.15) with Homebrew?

See https://github.com/LouisBrunner/valgrind-macos/. Either try brew tap LouisBrunner/valgrind brew install –HEAD LouisBrunner/valgrind/valgrind Or compile it from the source, if the above method doesn’t work. (But they should have fixed the above method just recently.) git clone https://github.com/LouisBrunner/valgrind-macos.git cd valgrind-macos ./autogen.sh ./configure –prefix=/where/you/want/it/installed –enable-only64bit make sudo make install Enjoy!

How to install Valgrind on macOS Mojave(10.14) with Homebrew?

A (rather painful) install from source workaround based on this patch, this post and this answer. $ git clone https://github.com/Echelon9/valgrind.git $ cd valgrind $ git checkout feature/v3.14/macos-mojave-support-v2 $ ./autogen.sh $ ./configure –prefix=/where/you/want/it/installed –enable-only64bit $ make If you get the following error: No rule to make target ‘/usr/include/mach/mach_vm.defs’, you will need to run xcode-select –install. You … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)