Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 724 Bytes

valgrind.md

File metadata and controls

19 lines (13 loc) · 724 Bytes

Valgrind

If you're using a Clang, you need at least Valgrind 3.20+ for proper DWARF5 support.

Installing Valgrind from source is straightforward if needed: https://valgrind.org/downloads/repository.html.

Valgrind can then be run per the developer notes:

valgrind --suppressions=contrib/valgrind.supp build/src/test/test_bitcoin

valgrind --suppressions=contrib/valgrind.supp \
      --leak-check=full \
      --show-leak-kinds=all \
      build/src/test/test_bitcoin --log_level=test_suite

./build/test/functional/test_runner.py --valgrind

valgrind -v --leak-check=full build/src/bitcoind -printtoconsole