Anthony Towns
c1d01f59ac
fuzz: enable running fuzz test cases in Debug mode
...
When building with
BUILD_FOR_FUZZING=OFF
BUILD_FUZZ_BINARY=ON
CMAKE_BUILD_TYPE=Debug
allow the fuzz binary to execute given test cases (without actual
fuzzing) to make it easier to reproduce fuzz test failures in a more
normal debug build.
In Debug builds, deterministic fuzz behaviour is controlled via a runtime
variable, which is normally false, but set to true automatically in the
fuzz binary, unless the FUZZ_NONDETERMINISM environment variable is set.
2025-04-22 17:11:24 +10:00
MarcoFalke
fafbf8acf4
Make G_FUZZING constexpr, require -DBUILD_FOR_FUZZING=ON to execute a fuzz target
2024-10-31 13:51:37 +01:00
Hennadii Stepanov
70713303b6
scripted-diff: Rename PACKAGE_* variables to CLIENT_*
...
This change ensures consistent use of the `CLIENT_` namespace everywhere
in the repository.
-BEGIN VERIFY SCRIPT-
ren() { sed -i "s/\<$1\>/$2/g" $( git grep -l "$1" ./cmake ./src :\(exclude\)./src/secp256k1 ./test ) ; }
ren PACKAGE_NAME CLIENT_NAME
ren PACKAGE_VERSION CLIENT_VERSION_STRING
ren PACKAGE_URL CLIENT_URL
ren PACKAGE_BUGREPORT CLIENT_BUGREPORT
-END VERIFY SCRIPT-
2024-10-28 12:36:19 +00:00
dergoegge
9f243cd7fa
Introduce g_fuzzing global for fuzzing checks
2024-10-25 13:12:55 +01:00
Sebastian Falbesoner
1786be7b4a
scripted-diff: drop config/ subdir for bitcoin-config.h, rename to bitcoin-build-config.h
...
Follow-up for PR #30856 , commit 0dd66251 .
-BEGIN VERIFY SCRIPT-
sed -i "s|config/bitcoin-config\.h|bitcoin-build-config.h|g" $(git grep -l config/bitcoin-config\.h)
sed -i "s|bitcoin-config\.h|bitcoin-build-config.h|g" $(git grep -l "bitcoin-config\.h" ./src ./test ./cmake)
git mv ./cmake/bitcoin-config.h.in ./cmake/bitcoin-build-config.h.in
-END VERIFY SCRIPT-
2024-10-10 12:22:12 +02:00
MarcoFalke
dddd40ba82
scripted-diff: Add IWYU pragma keep to bitcoin-config.h includes
...
-BEGIN VERIFY SCRIPT-
perl -0777 -pi -e 's/#if defined\(HAVE_CONFIG_H\)\n#include <config\/bitcoin-config.h>.*\n#endif.*\n/#include <config\/bitcoin-config.h> \/\/ IWYU pragma: keep\n/g' $( git grep -l '#include <config/bitcoin-config.h>' )
-END VERIFY SCRIPT-
2024-05-01 08:33:04 +02:00
Reese Russell
6e8f6468cb
removed StrFormatInternalBug quote delimitation
2023-08-18 04:04:06 +00:00
MarcoFalke
fab958290b
refactor: Remove c_str from util/check
2023-01-24 12:09:29 +01:00
MarcoFalke
fa825bd227
util: Include full version id in bug reports
2022-12-06 11:14:47 +01:00
MarcoFalke
c6e7f224c1
util: Add StrFormatInternalBug and STR_INTERNAL_BUG
2022-12-01 12:22:47 -05:00
MacroFake
2222ec71fd
util: Move error message formatting of NonFatalCheckError to cpp
...
This allows to strip down the header file
2022-11-16 12:21:33 +01:00
Anthony Towns
2ef47ba6c5
util/check: stop using lambda for Assert/Assume
2022-03-30 23:09:13 +10:00