What changed, and why it matters
This is a one-line CMake build fix that adds a missing reference to USDT (Userland Statically Defined Tracing) headers for the test_bitcoin target. It ensures the test suite compiles correctly when USDT tracing support is enabled. There is no indication this is a security vulnerability or that it affects runtime behavior of Bitcoin Core.
No security action required. Treat as a normal build-system fix. If reviewing, verify that the generator expression correctly handles both USDT-enabled and USDT-disabled builds.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies src/test/CMakeLists.txt to link test_bitcoin against $
Changed components
src/test/CMakeLists.txttest_bitcoin build targetInspect captured patch +1 / −0
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
index 2466a483..1f58c4e0 100644
--- a/src/test/CMakeLists.txt
+++ b/src/test/CMakeLists.txt
@@ -163,6 +163,7 @@ target_link_libraries(test_bitcoin
secp256k1
Boost::headers
libevent::extra
+ $<TARGET_NAME_IF_EXISTS:USDT::headers>
)
if(ENABLE_WALLET)
Why this scored 18/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.