diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-09 20:21:54 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-10 16:32:06 -0600 |
commit | 6f2c1863821c0277fd072cf8fa994188fb14bb6d (patch) | |
tree | 450f1c45e1c420943cd0326723f10a85b03d4b8f /build-aux/valgrind | |
parent | 661dfbc4535894e5ee1464144977cb42fdf106cd (diff) |
Have valgrind detect memory leaks, not just errors
Diffstat (limited to 'build-aux/valgrind')
-rwxr-xr-x | build-aux/valgrind | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/build-aux/valgrind b/build-aux/valgrind new file mode 100755 index 0000000..728faca --- /dev/null +++ b/build-aux/valgrind @@ -0,0 +1,15 @@ +#!/bin/env bash +# build-aux/valgrind - Wrapper around valgrind to keep flags consistent +# +# Copyright (C) 2025 Luke T. Shumaker <lukeshu@lukeshu.com> +# SPDX-License-Identifier: AGPL-3.0-or-later + +exec \ + valgrind \ + --error-exitcode=2 \ + --leak-check=full \ + --show-leak-kinds=all \ + --errors-for-leak-kinds=all \ + --show-error-list=all \ + -- \ + "$@" |