Introduce g_fuzzing global for fuzzing checks

This commit is contained in:
dergoegge
2024-10-15 12:10:36 +01:00
parent b95adf057a
commit 9f243cd7fa
5 changed files with 9 additions and 10 deletions

View File

@@ -102,6 +102,8 @@ void ResetCoverageCounters() {}
void initialize()
{
g_fuzzing = true;
// By default, make the RNG deterministic with a fixed seed. This will affect all
// randomness during the fuzz test, except:
// - GetStrongRandBytes(), which is used for the creation of private key material.