From 012e38a2a17f861d098a49108cc3d7567c6fa754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rinc?= Date: Wed, 31 Dec 2025 07:58:58 +0100 Subject: [PATCH] build: add vptr sanitizer to ASan configuration --- .github/workflows/ci.yml | 2 +- ci/test/00_setup_env_native_asan.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e5b0c48e812..fc32a418f63c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -535,7 +535,7 @@ jobs: file-env: './ci/test/00_setup_env_arm.sh' provider: 'gha' - - name: 'ASan + LSan + UBSan + integer' + - name: 'ASan + LSan + UBSan + integer + vptr' cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md' # has to match container in ci/test/00_setup_env_native_asan.sh for tracing tools fallback-runner: 'ubuntu-24.04' timeout-minutes: 120 diff --git a/ci/test/00_setup_env_native_asan.sh b/ci/test/00_setup_env_native_asan.sh index 0e732240cce1..24301b412db1 100755 --- a/ci/test/00_setup_env_native_asan.sh +++ b/ci/test/00_setup_env_native_asan.sh @@ -27,7 +27,7 @@ export GOAL="install" export CI_LIMIT_STACK_SIZE=1 export BITCOIN_CONFIG="\ --preset=dev-mode \ - -DSANITIZERS=address,float-divide-by-zero,integer,undefined \ + -DSANITIZERS=address,float-divide-by-zero,integer,undefined,vptr \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_C_FLAGS='-ftrivial-auto-var-init=pattern' \